[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[2318] Fix spacing
From: |
Pavel Roskin |
Subject: |
[2318] Fix spacing |
Date: |
Fri, 12 Jun 2009 06:12:39 +0000 |
Revision: 2318
http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2318
Author: proski
Date: 2009-06-12 06:12:38 +0000 (Fri, 12 Jun 2009)
Log Message:
-----------
Fix spacing
Modified Paths:
--------------
trunk/grub2/commands/i386/pc/drivemap_int13h.S
Modified: trunk/grub2/commands/i386/pc/drivemap_int13h.S
===================================================================
--- trunk/grub2/commands/i386/pc/drivemap_int13h.S 2009-06-12 02:42:26 UTC
(rev 2317)
+++ trunk/grub2/commands/i386/pc/drivemap_int13h.S 2009-06-12 06:12:38 UTC
(rev 2318)
@@ -28,7 +28,7 @@
/* The replacement int13 handler. Preserve all registers. */
FUNCTION(grub_drivemap_handler)
/* Save %dx for future restore. */
- push %dx
+ push %dx
/* Push flags. Used to simulate interrupt with original flags. */
pushf
@@ -56,9 +56,9 @@
pop %bx
pop %ax
- cmpb $0x8, %ah
+ cmpb $0x8, %ah
jz norestore
- cmpb $0x15, %ah
+ cmpb $0x15, %ah
jz norestore
/* Restore flags. */
@@ -66,20 +66,20 @@
pushf
lcall *%cs:INT13H_OFFSET (EXT_C (grub_drivemap_oldhandler))
-
- push %bp
- mov %sp, %bp
+ push %bp
+ mov %sp, %bp
+
tail:
-
+
pushf
- pop %dx
- mov %dx, 8(%bp)
+ pop %dx
+ mov %dx, 8(%bp)
pop %bp
-
+
/* Restore %dx. */
- pop %dx
+ pop %dx
iret
norestore:
@@ -90,14 +90,14 @@
lcall *%cs:INT13H_OFFSET (EXT_C (grub_drivemap_oldhandler))
- push %bp
- mov %sp, %bp
-
+ push %bp
+ mov %sp, %bp
+
/* Save %dx. */
- mov %dx, 2(%bp)
+ mov %dx, 2(%bp)
jmp tail
-
+
/* Far pointer to the old handler. Stored as a CS:IP in the style of real-mode
IVT entries (thus PI:SC in mem). */
VARIABLE(grub_drivemap_oldhandler)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [2318] Fix spacing,
Pavel Roskin <=