* mmap/i386/pc/mmap_helper.S: Set CF on return.

This commit is contained in:
Josh Triplett 2010-06-28 10:17:57 +02:00 committed by Vladimir 'phcoder' Serbinenko
parent c06e40f728
commit dec53e635c
2 changed files with 14 additions and 4 deletions

View file

@ -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>
* util/grub-install.in: Add --debug-image= option.

View file

@ -59,7 +59,7 @@ LOCAL (e801):
movw %bx, %dx
pop %ds
clc
iret
jmp LOCAL (iret_cf)
LOCAL (h88):
popf
@ -69,7 +69,7 @@ LOCAL (h88):
movw DS (LOCAL (kbin16mb)), %ax
pop %ds
clc
iret
jmp LOCAL (iret_cf)
LOCAL (e820):
popf
@ -101,12 +101,18 @@ LOCAL (noclean):
mov $0x534d4150, %eax
pop %ds
clc
iret
jmp LOCAL (iret_cf)
LOCAL (errexit):
mov $0x534d4150, %eax
pop %ds
stc
xor %bx, %bx
stc
LOCAL (iret_cf):
push %bp
mov %sp, %bp
setc 6(%bp)
pop %bp
iret
VARIABLE(grub_machine_mmaphook_mmap_num)