[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[2319] 2009-06-12 Vladimir Serbinenko <address@hidden>
From: |
Vladimir Serbinenko |
Subject: |
[2319] 2009-06-12 Vladimir Serbinenko <address@hidden> |
Date: |
Fri, 12 Jun 2009 18:22:39 +0000 |
Revision: 2319
http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2319
Author: phcoder
Date: 2009-06-12 18:22:38 +0000 (Fri, 12 Jun 2009)
Log Message:
-----------
2009-06-12 Vladimir Serbinenko <address@hidden>
* commands/i386/pc/drivemap_int13h.S: add more comments
Modified Paths:
--------------
trunk/grub2/ChangeLog
trunk/grub2/commands/i386/pc/drivemap_int13h.S
Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog 2009-06-12 06:12:38 UTC (rev 2318)
+++ trunk/grub2/ChangeLog 2009-06-12 18:22:38 UTC (rev 2319)
@@ -1,3 +1,7 @@
+2009-06-12 Vladimir Serbinenko <address@hidden>
+
+ * commands/i386/pc/drivemap_int13h.S: add more comments
+
2009-06-11 Pavel Roskin <address@hidden>
* Makefile.in (uninstall): Uninstall manuals.
Modified: trunk/grub2/commands/i386/pc/drivemap_int13h.S
===================================================================
--- trunk/grub2/commands/i386/pc/drivemap_int13h.S 2009-06-12 06:12:38 UTC
(rev 2318)
+++ trunk/grub2/commands/i386/pc/drivemap_int13h.S 2009-06-12 18:22:38 UTC
(rev 2319)
@@ -56,6 +56,7 @@
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 @@
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 @@
push %bp
mov %sp, %bp
- /* Save %dx. */
+ /* Save %dx. So it won't be restored to original value. */
mov %dx, 2(%bp)
jmp tail
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [2319] 2009-06-12 Vladimir Serbinenko <address@hidden>,
Vladimir Serbinenko <=