Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
tpm_eventlog.h File Reference

Go to the source code of this file.

Data Structures

struct  tpm_bios_log
 
struct  tcpa_event
 
struct  tcpa_pc_event
 

Macros

#define TCG_EVENT_NAME_LEN_MAX   255
 
#define MAX_TEXT_EVENT   1000 /* Max event string length */
 
#define ACPI_TCPA_SIG   "TCPA" /* 0x41504354 /'TCPA' */
 

Enumerations

enum  bios_platform_class { BIOS_CLIENT = 0x00, BIOS_SERVER = 0x01 }
 
enum  tcpa_event_types {
  PREBOOT = 0, POST_CODE, UNUSED, NO_ACTION,
  SEPARATOR, ACTION, EVENT_TAG, SCRTM_CONTENTS,
  SCRTM_VERSION, CPU_MICROCODE, PLATFORM_CONFIG_FLAGS, TABLE_OF_DEVICES,
  COMPACT_HASH, IPL, IPL_PARTITION_DATA, NONHOST_CODE,
  NONHOST_CONFIG, NONHOST_INFO
}
 
enum  tcpa_pc_event_ids {
  SMBIOS = 1, BIS_CERT, POST_BIOS_ROM, ESCD,
  CMOS, NVRAM, OPTION_ROM_EXEC, OPTION_ROM_CONFIG,
  OPTION_ROM_MICROCODE = 10, S_CRTM_VERSION, S_CRTM_CONTENTS, POST_CONTENTS,
  HOST_TABLE_OF_DEVICES
}
 

Functions

int read_log (struct tpm_bios_log *log)
 

Macro Definition Documentation

#define ACPI_TCPA_SIG   "TCPA" /* 0x41504354 /'TCPA' */

Definition at line 7 of file tpm_eventlog.h.

#define MAX_TEXT_EVENT   1000 /* Max event string length */

Definition at line 6 of file tpm_eventlog.h.

#define TCG_EVENT_NAME_LEN_MAX   255

Definition at line 5 of file tpm_eventlog.h.

Enumeration Type Documentation

Enumerator:
BIOS_CLIENT 
BIOS_SERVER 

Definition at line 9 of file tpm_eventlog.h.

Enumerator:
PREBOOT 
POST_CODE 
UNUSED 
NO_ACTION 
SEPARATOR 
ACTION 
EVENT_TAG 
SCRTM_CONTENTS 
SCRTM_VERSION 
CPU_MICROCODE 
PLATFORM_CONFIG_FLAGS 
TABLE_OF_DEVICES 
COMPACT_HASH 
IPL 
IPL_PARTITION_DATA 
NONHOST_CODE 
NONHOST_CONFIG 
NONHOST_INFO 

Definition at line 27 of file tpm_eventlog.h.

Enumerator:
SMBIOS 
BIS_CERT 
POST_BIOS_ROM 
ESCD 
CMOS 
NVRAM 
OPTION_ROM_EXEC 
OPTION_ROM_CONFIG 
OPTION_ROM_MICROCODE 
S_CRTM_VERSION 
S_CRTM_CONTENTS 
POST_CONTENTS 
HOST_TABLE_OF_DEVICES 

Definition at line 54 of file tpm_eventlog.h.

Function Documentation

int read_log ( struct tpm_bios_log log)

Definition at line 48 of file tpm_acpi.c.