Measure commands

Measure each command executed by grub, which includes script execution.
This commit is contained in:
Matthew Garrett 2015-08-10 15:27:12 -07:00 committed by Matthew Garrett
parent 2d410729e9
commit b47b5685b5
2 changed files with 24 additions and 2 deletions

View file

@ -30,6 +30,7 @@
#define GRUB_KERNEL_PCR 10
#define GRUB_INITRD_PCR 11
#define GRUB_CMDLINE_PCR 12
#define GRUB_COMMAND_PCR 13
#define TPM_TAG_RQU_COMMAND 0x00C1
#define TPM_ORD_Extend 0x14