2009-06-12 Vladimir Serbinenko <phcoder@gmail.com>
* commands/i386/pc/drivemap_int13h.S: add more comments
This commit is contained in:
parent
3daba08cfa
commit
3a1acfe21d
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2009-06-12 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* commands/i386/pc/drivemap_int13h.S: add more comments
|
||||||
|
|
||||||
2009-06-11 Pavel Roskin <proski@gnu.org>
|
2009-06-11 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
* Makefile.in (uninstall): Uninstall manuals.
|
* Makefile.in (uninstall): Uninstall manuals.
|
||||||
|
|
|
@ -56,6 +56,7 @@ not_found:
|
||||||
pop %bx
|
pop %bx
|
||||||
pop %ax
|
pop %ax
|
||||||
|
|
||||||
|
/* If the call isn't ah=0x8 or ah=0x15 we must restore %dx. */
|
||||||
cmpb $0x8, %ah
|
cmpb $0x8, %ah
|
||||||
jz norestore
|
jz norestore
|
||||||
cmpb $0x15, %ah
|
cmpb $0x15, %ah
|
||||||
|
@ -71,7 +72,7 @@ not_found:
|
||||||
mov %sp, %bp
|
mov %sp, %bp
|
||||||
|
|
||||||
tail:
|
tail:
|
||||||
|
/* Save new flags below %esp so the caller will recieve new flags. */
|
||||||
pushf
|
pushf
|
||||||
pop %dx
|
pop %dx
|
||||||
mov %dx, 8(%bp)
|
mov %dx, 8(%bp)
|
||||||
|
@ -93,7 +94,7 @@ norestore:
|
||||||
push %bp
|
push %bp
|
||||||
mov %sp, %bp
|
mov %sp, %bp
|
||||||
|
|
||||||
/* Save %dx. */
|
/* Save %dx. So it won't be restored to original value. */
|
||||||
mov %dx, 2(%bp)
|
mov %dx, 2(%bp)
|
||||||
|
|
||||||
jmp tail
|
jmp tail
|
||||||
|
|
Loading…
Reference in a new issue