]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/Ia32/WriteCr3.asm
Fix bug in AsmCpuVirtual() to return 1 instead of 0 when CPU is in virtual mode.
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ia32 / WriteCr3.asm
index 9753de1abeb9e0d15e9afd33b5dca992b95af520..36042af313b5b6b7ede901b0f912327938807def 100644 (file)
@@ -1,7 +1,7 @@
 ;------------------------------------------------------------------------------\r
 ;\r
-; Copyright (c) 2006, Intel Corporation\r
-; All rights reserved. This program and the accompanying materials\r
+; Copyright (c) 2006, 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
 \r
     .386p\r
-    .model  flat\r
+    .model  flat,C\r
     .code\r
 \r
 ;------------------------------------------------------------------------------\r
 ; UINTN\r
 ; EFIAPI\r
 ; AsmWriteCr3 (\r
-;   VOID\r
+;   UINTN  Cr3\r
 ;   );\r
 ;------------------------------------------------------------------------------\r
-_AsmWriteCr3    PROC\r
+AsmWriteCr3 PROC\r
     mov     eax, [esp + 4]\r
     mov     cr3, eax\r
     ret\r
-_AsmWriteCr3    ENDP\r
+AsmWriteCr3 ENDP\r
 \r
     END\r