coreboot/src/devices
Mathias Krause 971804ed68 x86, oprom: ensure DF is always cleared
The Option ROM might mess with the EFLAGS register and break assumptions
the C part of coreboot implicitly has, e.g. the state of the direction
flag.

Prevent Option ROMs from confusing coreboot by restoring the old EFLAGS
value after the Option ROMs has finished and always clear the direction
flag before calling the C part of the interrupt handler.

Change-Id: I84663be6681b17f95f48d93f0b730e443336b4a8
Signed-off-by: Mathias Krause <minipli@googlemail.com>
Reviewed-on: http://review.coreboot.org/837
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2012-04-02 19:50:22 +02:00
..
oprom x86, oprom: ensure DF is always cleared 2012-04-02 19:50:22 +02:00
agp_device.c Various cosmetic and coding style fixes in src/devices. 2010-11-04 23:23:47 +00:00
cardbus_device.c Various cosmetic and coding style fixes in src/devices. 2010-11-04 23:23:47 +00:00
device.c Prepare the BIOS data areas before device init. 2012-03-30 17:51:45 +02:00
device_util.c Add a helper function to determine the number of enabled CPUs 2012-04-02 18:39:58 +02:00
hypertransport.c Various cosmetic and coding style fixes in src/devices. 2010-11-04 23:23:47 +00:00
Kconfig Add support for enabling PCIe Common Clock and ASPM 2012-03-29 22:16:07 +02:00
Makefile.inc Don't unconditionally add support for cardbus and pci-x devices 2012-03-30 17:57:38 +02:00
pci_device.c [ChromeOS] Don't initialize VGA Option ROM in normal mode 2012-04-02 18:42:54 +02:00
pci_ops.c Various cosmetic and coding style fixes in src/devices. 2010-11-04 23:23:47 +00:00
pci_rom.c Don't run any Option ROMs stored outside of the system flash 2012-03-09 20:01:32 +01:00
pciexp_device.c Add support for enabling PCIe Common Clock and ASPM 2012-03-29 22:16:07 +02:00
pcix_device.c Various cosmetic and coding style fixes in src/devices. 2010-11-04 23:23:47 +00:00
pnp_device.c printf: Remove some L modifier uses 2012-03-24 15:32:24 +01:00
root_device.c Cosmetics and coding style fixes in devices/*. 2010-10-18 00:00:57 +00:00
smbus_ops.c Various cosmetic and coding style fixes in src/devices. 2010-11-04 23:23:47 +00:00