* mmap/i386/pc/mmap_helper.S: Set CF on return.
This commit is contained in:
parent
c06e40f728
commit
dec53e635c
2 changed files with 14 additions and 4 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2010-06-28 Josh Triplett <josh@joshtriplett.org>
|
||||||
|
|
||||||
|
* mmap/i386/pc/mmap_helper.S: Set CF on return.
|
||||||
|
|
||||||
2010-06-28 Colin Watson <cjwatson@ubuntu.com>
|
2010-06-28 Colin Watson <cjwatson@ubuntu.com>
|
||||||
|
|
||||||
* util/grub-install.in: Add --debug-image= option.
|
* util/grub-install.in: Add --debug-image= option.
|
||||||
|
|
|
@ -59,7 +59,7 @@ LOCAL (e801):
|
||||||
movw %bx, %dx
|
movw %bx, %dx
|
||||||
pop %ds
|
pop %ds
|
||||||
clc
|
clc
|
||||||
iret
|
jmp LOCAL (iret_cf)
|
||||||
|
|
||||||
LOCAL (h88):
|
LOCAL (h88):
|
||||||
popf
|
popf
|
||||||
|
@ -69,7 +69,7 @@ LOCAL (h88):
|
||||||
movw DS (LOCAL (kbin16mb)), %ax
|
movw DS (LOCAL (kbin16mb)), %ax
|
||||||
pop %ds
|
pop %ds
|
||||||
clc
|
clc
|
||||||
iret
|
jmp LOCAL (iret_cf)
|
||||||
|
|
||||||
LOCAL (e820):
|
LOCAL (e820):
|
||||||
popf
|
popf
|
||||||
|
@ -101,12 +101,18 @@ LOCAL (noclean):
|
||||||
mov $0x534d4150, %eax
|
mov $0x534d4150, %eax
|
||||||
pop %ds
|
pop %ds
|
||||||
clc
|
clc
|
||||||
iret
|
jmp LOCAL (iret_cf)
|
||||||
LOCAL (errexit):
|
LOCAL (errexit):
|
||||||
mov $0x534d4150, %eax
|
mov $0x534d4150, %eax
|
||||||
pop %ds
|
pop %ds
|
||||||
stc
|
|
||||||
xor %bx, %bx
|
xor %bx, %bx
|
||||||
|
stc
|
||||||
|
|
||||||
|
LOCAL (iret_cf):
|
||||||
|
push %bp
|
||||||
|
mov %sp, %bp
|
||||||
|
setc 6(%bp)
|
||||||
|
pop %bp
|
||||||
iret
|
iret
|
||||||
|
|
||||||
VARIABLE(grub_machine_mmaphook_mmap_num)
|
VARIABLE(grub_machine_mmaphook_mmap_num)
|
||||||
|
|
Loading…
Add table
Reference in a new issue