]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/Ia32/EnablePaging32.S
sync comments.
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ia32 / EnablePaging32.S
index 858755508a72e56c4add016e14b7b58210c4f329..caecf8b0df694db02eaf7fe75fa93cb89cdc0ac9 100644 (file)
@@ -38,14 +38,14 @@ ASM_PFX(InternalX86EnablePaging32):
     movl    8(%esp), %ecx\r
     movl    12(%esp), %edx\r
     pushfl\r
-    pop     %edi\r
+    pop     %edi                        # save flags in edi\r
     cli\r
     movl    %cr0, %eax\r
     btsl    $31, %eax\r
     movl    16(%esp), %esp\r
     movl    %eax, %cr0\r
     push    %edi\r
-    popfl\r
+    popfl                               # restore flags\r
     push    %edx\r
     push    %ecx\r
     call    *%ebx\r