TITLE CpuAsm.asm: \r
;------------------------------------------------------------------------------\r
;*\r
-;* Copyright (c) 2008 - 2010, Intel Corporation. All rights reserved.<BR>\r
+;* Copyright (c) 2008 - 2011, 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
mov rdi, rsp\r
db 0fh, 0aeh, 07h ;fxsave [rdi]\r
\r
+;; UEFI calling convention for x64 requires that Direction flag in EFLAGs is clear\r
+ cld\r
+\r
;; UINT32 ExceptionData;\r
push qword ptr [rbp + 16]\r
\r