From: Marc Rittinghaus Date: Thu, 27 Apr 2023 10:38:16 +0000 (+0200) Subject: plat/common/x86: Add PAT MSR X-Git-Tag: RELEASE-0.13.0~125 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=814aee85f937d5522ddfc25bc42248c9ab3a7008;p=unikraft%2Funikraft.git plat/common/x86: Add PAT MSR This commit adds the definition of the page attribute table (PAT) configuration MSR. Signed-off-by: Marc Rittinghaus Reviewed-by: Marc Rittinghaus Approved-by: Alexander Jung Tested-by: Unikraft CI GitHub-Closes: #788 --- diff --git a/plat/common/include/x86/cpu_defs.h b/plat/common/include/x86/cpu_defs.h index 4f42ccec9..a08e81fa9 100644 --- a/plat/common/include/x86/cpu_defs.h +++ b/plat/common/include/x86/cpu_defs.h @@ -99,6 +99,8 @@ #define X86_MSR_CSTAR 0xc0000083 /* EFLAGS mask for syscall */ #define X86_MSR_SYSCALL_MASK 0xc0000084 +/* page attribute table configuration */ +#define X86_MSR_PAT 0x277 /* MSR EFER bits */ #define X86_EFER_SCE (1 << 0)