coreboot-kgpe-d16/util/intelmetool/msr.h
Pablo Stebler 9ac91d220f util/intelmetool: Fix the BootGuard dump feature
Read the correct bits for measured and verified boot, print information
about some other bits.

Signed-off-by: Pablo Stebler <pablo@stebler.xyz>
Change-Id: Ie79d6da33032aee94d716bf0698b5501bbc424fa
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45516
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
2020-09-23 20:58:28 +00:00

17 lines
272 B
C

/* intelmetool */
/* SPDX-License-Identifier: GPL-2.0-or-later */
#include <inttypes.h>
#ifndef __DARWIN__
#define MSR_BOOTGUARD 0x13A
typedef struct {
unsigned int ebx;
unsigned int edx;
unsigned int ecx;
} regs_t;
extern int msr_bootguard(uint64_t *msr);
#endif