]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/Ia32/DisablePaging32.S
1. Updated function headers in all assembly files.
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ia32 / DisablePaging32.S
index b4e488ffe64929917c094c515b23697f35dbe3ad..5ade180009fc4d3c5eeecf347f49ff0e7e134d5a 100644 (file)
@@ -21,9 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-\r
-\r
-     \r
+.global _InternalX86DisablePaging32\r
 \r
 #------------------------------------------------------------------------------\r
 # VOID\r
 #   IN      VOID                      *NewStack\r
 #   );\r
 #------------------------------------------------------------------------------\r
-.global _InternalX86DisablePaging32\r
-_InternalX86DisablePaging32: \r
-    movl    4(%esp),%ebx\r
-    movl    8(%esp),%ecx\r
-    movl    12(%esp),%edx\r
+_InternalX86DisablePaging32:\r
+    movl    4(%esp), %ebx\r
+    movl    8(%esp), %ecx\r
+    movl    12(%esp), %edx\r
     pushfl\r
-    popl    %edi\r
+    pop     %edi\r
     cli\r
     movl    %cr0, %eax\r
-    btrl    $31,%eax\r
-    movl    16(%esp),%esp\r
+    btrl    $31, %eax\r
+    movl    16(%esp), %esp\r
     movl    %eax, %cr0\r
-    pushl   %edi\r
+    push    %edi\r
     popfl\r
-    pushl   %edx\r
-    pushl   %ecx\r
+    push    %edx\r
+    push    %ecx\r
     call    *%ebx\r
     jmp     .\r
-\r
-\r
-\r