]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/Ia32/ReadDr0.asm
Fix bug in AsmCpuVirtual() to return 1 instead of 0 when CPU is in virtual mode.
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ia32 / ReadDr0.asm
index 4da1dd8d0d75bfedc91eedaab818e71cf5197dcc..95b9fdb517c90c9989a732c2d1e9f58f2e6a2ea2 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
@@ -22,7 +22,7 @@
 ;------------------------------------------------------------------------------\r
 \r
     .586p\r
-    .model  flat\r
+    .model  flat,C\r
     .code\r
 \r
 ;------------------------------------------------------------------------------\r
@@ -32,9 +32,9 @@
 ;   VOID\r
 ;   );\r
 ;------------------------------------------------------------------------------\r
-_AsmReadDr0 PROC\r
+AsmReadDr0  PROC\r
     mov     eax, dr0\r
     ret\r
-_AsmReadDr0 ENDP\r
+AsmReadDr0  ENDP\r
 \r
     END\r