david/ipxe
david
/
ipxe
Archived
1
0
Fork 0
This repository has been archived on 2020-12-06. You can view files and clone it, but cannot push or open issues or pull requests.
ipxe/src/arch/x86/interface/pcbios
Michael Brown f8cf3ceb0b [int13] Test correct return status from INT 13 calls
INT 13 calls return a status value via %ah, with CF set if %ah is
non-zero (indicating an error).  Our wrappers zero the whole of %ax if
CF is clear, to allow C code (which has no easy access to CF) to
simply test for a non-zero status to detect an error.

The current code assigns the returned status to a uint8_t, effectively
testing %al rather than %ah.  Fix by treating the returned status as a
uint16_t instead.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
2017-01-26 09:45:19 +00:00
..
acpipwr.c [acpi] Allow time for ACPI power off to take effect 2016-07-11 21:23:03 +01:00
apm.c [acpi] Add support for ACPI power off 2016-07-11 14:05:18 +01:00
basemem.c [bios] Add bin-x86_64-pcbios build platform 2016-02-16 19:32:32 +00:00
bios_console.c [bios] Do not enable interrupts when printing to the console 2016-07-03 12:50:19 +01:00
bios_nap.c [bios] Add bin-x86_64-pcbios build platform 2016-02-16 19:32:32 +00:00
bios_reboot.c [acpi] Add support for ACPI power off 2016-07-11 14:05:18 +01:00
bios_smbios.c [bios] Add bin-x86_64-pcbios build platform 2016-02-16 19:32:32 +00:00
bios_timer.c [time] Allow timer to be selected at runtime 2017-01-26 08:17:37 +00:00
biosint.c [bios] Add bin-x86_64-pcbios build platform 2016-02-16 19:32:32 +00:00
e820mangler.S [bios] Add bin-x86_64-pcbios build platform 2016-02-16 19:32:32 +00:00
fakee820.c [bios] Add bin-x86_64-pcbios build platform 2016-02-16 19:32:32 +00:00
hidemem.c [bios] Add bin-x86_64-pcbios build platform 2016-02-16 19:32:32 +00:00
int13.c [int13] Test correct return status from INT 13 calls 2017-01-26 09:45:19 +00:00
int13con.c [bios] Add bin-x86_64-pcbios build platform 2016-02-16 19:32:32 +00:00
memmap.c [bios] Make uses of REAL_CODE() and PHYS_CODE() 64-bit clean 2016-02-18 15:12:51 +00:00
memtop_umalloc.c [pcbios] Restrict external memory allocations to the low 4GB 2016-03-08 13:25:09 +00:00
pcibios.c [bios] Make uses of REAL_CODE() and PHYS_CODE() 64-bit clean 2016-02-18 15:12:51 +00:00
pnpbios.c [bios] Add bin-x86_64-pcbios build platform 2016-02-16 19:32:32 +00:00
rtc_entropy.c [rng] Check for functioning RTC interrupt 2016-07-10 20:42:53 +01:00
rtc_time.c [bios] Add bin-x86_64-pcbios build platform 2016-02-16 19:32:32 +00:00
vesafb.c [bios] Add bin-x86_64-pcbios build platform 2016-02-16 19:32:32 +00:00