summaryrefslogtreecommitdiff
path: root/util/intelmetool/msr.h
blob: 952b0c0a244a1392a0aa6f6c73a060dbbb3af3b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* 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