;------------------------------------------------------------------------------ ;\r
-; Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>\r
+; Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR>\r
; This program and the accompanying materials\r
; are licensed and made available under the terms and conditions of the BSD License\r
; which accompanies this distribution. The full text of the license may be found at\r
;-------------------------------------------------------------------------------\r
\r
extern ASM_PFX(SmiPFHandler)\r
-extern ASM_PFX(gSmiMtrrs)\r
\r
global ASM_PFX(gcSmiIdtr)\r
global ASM_PFX(gcSmiGdtr)\r
DD GDT_SIZE\r
DD 0\r
times 24 DB 0\r
- DQ ASM_PFX(gSmiMtrrs)\r
+ DQ 0\r
PSD_SIZE equ $ - ASM_PFX(gcPsd)\r
\r
;\r
\r
;; call into exception handler\r
mov rcx, [rbp + 8]\r
- mov rax, ASM_PFX(SmiPFHandler)\r
+ lea rax, [ASM_PFX(SmiPFHandler)]\r
\r
;; Prepare parameter and call\r
mov rdx, rsp\r