diff options
Diffstat (limited to 'EdkCompatibilityPkg/Foundation/Library')
-rw-r--r-- | EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseTimerLibLocalApic/X64/X86LocalApicTimerInitialize.asm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseTimerLibLocalApic/X64/X86LocalApicTimerInitialize.asm b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseTimerLibLocalApic/X64/X86LocalApicTimerInitialize.asm index c15b7208da..005b55b7e1 100644 --- a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseTimerLibLocalApic/X64/X86LocalApicTimerInitialize.asm +++ b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseTimerLibLocalApic/X64/X86LocalApicTimerInitialize.asm @@ -31,7 +31,9 @@ EXTERNDEF InternalX86GetApicBase:PROC ; );
;------------------------------------------------------------------------------
CpuInitLocalApicTimer PROC
+ sub rsp, 28h ;Reserve home addresses and make RSP 16-byte aligned
call InternalX86GetApicBase
+ add rsp, 28h
mov dword ptr [rax + 3e0h], 0ah
bts dword ptr [rax + 320h], 17
mov dword ptr [rax + 380h], -1
|