;------------------------------------------------------------------------------ ;\r
-; Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR>\r
+; Copyright (c) 2009 - 2017, 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
call eax\r
add esp, 4\r
\r
- mov eax, gStmXdSupported\r
+ mov eax, offset gStmXdSupported\r
mov al, [eax]\r
cmp al, 0\r
jz @f\r
; Check XD disable bit\r
;\r
xor esi, esi\r
- mov eax, gStmXdSupported\r
+ mov eax, offset gStmXdSupported\r
mov al, [eax]\r
cmp al, 0\r
jz @StmXdDone\r