btx: Add FreeBSD's r256293 (fixes boot on Jetway NF81 mobo with RAID enabled).
authorSascha Wildner <saw@online.de>
Tue, 15 Oct 2013 19:00:10 +0000 (21:00 +0200)
committerSascha Wildner <saw@online.de>
Wed, 16 Oct 2013 17:26:34 +0000 (19:26 +0200)
commitb973f2e9655a233ced5a1b8e2e13be1a0cd5b644
tree90105ea5a42844c5f53ccd19c21ee718689e549b
parent506ebe2465835bef3eb21b1af8fd0b278fbe32b5
btx: Add FreeBSD's r256293 (fixes boot on Jetway NF81 mobo with RAID enabled).

FreeBSD's commit msg:

Sanitize the %eflags returned by BIOS routines.  Some BIOS routines enter
protected mode and may leave protected-mode-specific flags like PSL_NT set
when they return to real mode.  This can cause a fault when BTX re-enters
protected mode after the BIOS mode returns.

Reported-by: Julian Pidancet <julian.pidancet@gmail.com>
Taken-from:  FreeBSD
sys/boot/pc32/btx/btx/btx.S