mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 23:02:40 +00:00
i386: Remove needless ADDR32 prefixes when address is known and fixed.
Shaves off 6 bytes in lzma_decompress.img.
This commit is contained in:
1 parent
1998d63688
commit
37353f0ae5
2 files changed
+2
-2
No files matched your search
@@ -89,7 +89,7 @@ LOCAL (codestart):
|
|||||||
sti /* we're safe again */
|
sti /* we're safe again */
|
||||||
|
|
||||||
/* save the boot drive */
|
/* save the boot drive */
|
||||||
ADDR32 movb %dl, LOCAL(boot_drive)
|
movb %dl, LOCAL(boot_drive)
|
||||||
|
|
||||||
/* reset disk system (%ah = 0) */
|
/* reset disk system (%ah = 0) */
|
||||||
int $0x13
|
int $0x13
|
||||||
|
|||||||
@@ -137,7 +137,7 @@ real_to_prot:
|
|||||||
/* load the GDT register */
|
/* load the GDT register */
|
||||||
xorw %ax, %ax
|
xorw %ax, %ax
|
||||||
movw %ax, %ds
|
movw %ax, %ds
|
||||||
ADDR32 lgdtl gdtdesc
|
lgdtl gdtdesc
|
||||||
|
|
||||||
/* turn on protected mode */
|
/* turn on protected mode */
|
||||||
movl %cr0, %eax
|
movl %cr0, %eax
|
||||||
|
|||||||
Reference in new issue
Block a user