mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 09:16:17 +00:00
[SDK:ASM][NDK] Adjust the x86 definition of PCR (for UP and MP).
This commit is contained in:
parent
5f477e0e3b
commit
9632235a37
2 changed files with 6 additions and 0 deletions
|
@ -556,7 +556,12 @@ SIZE(XsaHeaderLength, XSAVE_AREA_HEADER),
|
||||||
|
|
||||||
HEADER("Data access macros"),
|
HEADER("Data access macros"),
|
||||||
RAW("#define USERDATA ds:[HEX(0FFDF0000)]"),
|
RAW("#define USERDATA ds:[HEX(0FFDF0000)]"),
|
||||||
|
RAW("#ifdef CONFIG_SMP"),
|
||||||
RAW("#define PCR fs:"),
|
RAW("#define PCR fs:"),
|
||||||
|
RAW("#else"),
|
||||||
|
/* Address at KIP0PCRADDRESS */
|
||||||
|
RAW("#define PCR ds:[HEX(0FFDFF000)]"),
|
||||||
|
RAW("#endif"),
|
||||||
|
|
||||||
#if (NTDDI_VERSION >= NTDDI_WIN8)
|
#if (NTDDI_VERSION >= NTDDI_WIN8)
|
||||||
HEADER("KNODE offsets"),
|
HEADER("KNODE offsets"),
|
||||||
|
|
|
@ -27,6 +27,7 @@ Author:
|
||||||
#ifdef CONFIG_SMP
|
#ifdef CONFIG_SMP
|
||||||
#define PCR fs:
|
#define PCR fs:
|
||||||
#else
|
#else
|
||||||
|
/* Address at KIP0PCRADDRESS */
|
||||||
#define PCR ds:[0xFFDFF000]
|
#define PCR ds:[0xFFDFF000]
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue