]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiCpuPkg/PiSmmCpuDxeSmm/X64/SmiException.nasm
UefiCpuPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / UefiCpuPkg / PiSmmCpuDxeSmm / X64 / SmiException.nasm
index a8a9af300869a49789c1a435bc81a4315d510de2..f329a988f87326478dc235aaf55a1241c3431f42 100644 (file)
@@ -1,12 +1,6 @@
 ;------------------------------------------------------------------------------ ;\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
-; http://opensource.org/licenses/bsd-license.php.\r
-;\r
-; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+; SPDX-License-Identifier: BSD-2-Clause-Patent\r
 ;\r
 ; Module Name:\r
 ;\r
@@ -279,7 +273,7 @@ ASM_PFX(PageFaultIdtHandlerSmmProfile):
 \r
     sub rsp, 512\r
     mov rdi, rsp\r
-    db 0xf, 0xae, 00000111y ;fxsave [rdi]\r
+    fxsave [rdi]\r
 \r
 ; UEFI calling convention for x64 requires that Direction flag in EFLAGs is clear\r
     cld\r
@@ -309,7 +303,7 @@ ASM_PFX(PageFaultIdtHandlerSmmProfile):
 ;; FX_SAVE_STATE_X64 FxSaveState;\r
 \r
     mov rsi, rsp\r
-    db 0xf, 0xae, 00001110y ; fxrstor [rsi]\r
+    fxrstor [rsi]\r
     add rsp, 512\r
 \r
 ;; UINT64  Dr0, Dr1, Dr2, Dr3, Dr6, Dr7;\r