diff options
author | Mathias Krause <minipli@googlemail.com> | 2012-04-01 11:32:09 +0200 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2012-04-02 19:50:22 +0200 |
commit | 971804ed68347f4fe7ca985a3c924b28041a4079 (patch) | |
tree | 2aca2a92d30e62c44b9f03c589f48bd2078b015a /src/southbridge/amd/cimx/sb800/Makefile.inc | |
parent | 74a0efe09a203959d5ab4879e4c1cf139c93b410 (diff) |
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>
Diffstat (limited to 'src/southbridge/amd/cimx/sb800/Makefile.inc')
0 files changed, 0 insertions, 0 deletions