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>
		
			
				
	
	
		
			18 lines
		
	
	
		
			272 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			18 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
 |