]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/Ia32/EnablePaging32.asm
1. Added comments to ASM files
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ia32 / EnablePaging32.asm
index cf6f2fe458ede509c6223b8c07a499f93c6c6208..ae98b93285e83c0c5cdabd09f09ce2551299286c 100644 (file)
@@ -40,14 +40,14 @@ InternalX86EnablePaging32 PROC
     mov     ecx, [esp + 8]\r
     mov     edx, [esp + 12]\r
     pushfd\r
-    pop     edi\r
+    pop     edi                         ; save flags in edi\r
     cli\r
     mov     eax, cr0\r
     bts     eax, 31\r
     mov     esp, [esp + 16]\r
     mov     cr0, eax\r
     push    edi\r
-    popfd\r
+    popfd                               ; restore flags\r
     push    edx\r
     push    ecx\r
     call    ebx\r