diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2009-04-02 03:08:28 +0200 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-04-10 01:08:11 +0200 |
commit | 7a734e7dd93b9aea08ed51036a9a0e2c9dfd8dac (patch) | |
tree | 222c2ce27f583cccd4c8e7fb14903870b36a2b45 /arch/x86/kernel/acpi | |
parent | MN10300: Kill MN10300's own profiling Kconfig (diff) | |
download | linux-7a734e7dd93b9aea08ed51036a9a0e2c9dfd8dac.tar.xz linux-7a734e7dd93b9aea08ed51036a9a0e2c9dfd8dac.zip |
x86, setup: "glove box" BIOS calls -- infrastructure
Impact: new interfaces (not yet used)
For all the platforms out there, there is an infinite number of buggy
BIOSes. This adds infrastructure to treat BIOS interrupts more like
toxic waste and "glove box" them -- we switch out the register set,
perform the BIOS interrupt, and then restore the previous state.
LKML-Reference: <49DE7F79.4030106@zytor.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'arch/x86/kernel/acpi')
-rw-r--r-- | arch/x86/kernel/acpi/realmode/Makefile | 2 | ||||
-rw-r--r-- | arch/x86/kernel/acpi/realmode/bioscall.S | 1 | ||||
-rw-r--r-- | arch/x86/kernel/acpi/realmode/regs.c | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/kernel/acpi/realmode/Makefile b/arch/x86/kernel/acpi/realmode/Makefile index 1c31cc0e9def..167bc16ce0e5 100644 --- a/arch/x86/kernel/acpi/realmode/Makefile +++ b/arch/x86/kernel/acpi/realmode/Makefile @@ -9,7 +9,7 @@ always := wakeup.bin targets := wakeup.elf wakeup.lds -wakeup-y += wakeup.o wakemain.o video-mode.o copy.o +wakeup-y += wakeup.o wakemain.o video-mode.o copy.o bioscall.o regs.o # The link order of the video-*.o modules can matter. In particular, # video-vga.o *must* be listed first, followed by video-vesa.o. diff --git a/arch/x86/kernel/acpi/realmode/bioscall.S b/arch/x86/kernel/acpi/realmode/bioscall.S new file mode 100644 index 000000000000..f51eb0bb56ce --- /dev/null +++ b/arch/x86/kernel/acpi/realmode/bioscall.S @@ -0,0 +1 @@ +#include "../../../boot/bioscall.S" diff --git a/arch/x86/kernel/acpi/realmode/regs.c b/arch/x86/kernel/acpi/realmode/regs.c new file mode 100644 index 000000000000..6206033ba202 --- /dev/null +++ b/arch/x86/kernel/acpi/realmode/regs.c @@ -0,0 +1 @@ +#include "../../../boot/regs.c" |