mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-20 22:48:22 +00:00
2009-06-12 Vladimir Serbinenko <phcoder@gmail.com>
* commands/i386/pc/drivemap_int13h.S: add more comments
This commit is contained in:
1 parent
3daba08cfa
commit
3a1acfe21d
2 files changed
+7
-2
No files matched your search
@@ -56,6 +56,7 @@ not_found:
|
||||
pop %bx
|
||||
pop %ax
|
||||
|
||||
/* If the call isn't ah=0x8 or ah=0x15 we must restore %dx. */
|
||||
cmpb $0x8, %ah
|
||||
jz norestore
|
||||
cmpb $0x15, %ah
|
||||
@@ -71,7 +72,7 @@ not_found:
|
||||
mov %sp, %bp
|
||||
|
||||
tail:
|
||||
|
||||
/* Save new flags below %esp so the caller will recieve new flags. */
|
||||
pushf
|
||||
pop %dx
|
||||
mov %dx, 8(%bp)
|
||||
@@ -93,7 +94,7 @@ norestore:
|
||||
push %bp
|
||||
mov %sp, %bp
|
||||
|
||||
/* Save %dx. */
|
||||
/* Save %dx. So it won't be restored to original value. */
|
||||
mov %dx, 2(%bp)
|
||||
|
||||
jmp tail
|
||||
|
||||
Reference in new issue
Block a user