x86, setup: "glove box" BIOS calls -- infrastructure
authorH. Peter Anvin <hpa@linux.intel.com>
Thu, 2 Apr 2009 01:08:28 +0000 (18:08 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 9 Apr 2009 23:08:11 +0000 (16:08 -0700)
commit7a734e7dd93b9aea08ed51036a9a0e2c9dfd8dac
tree222c2ce27f583cccd4c8e7fb14903870b36a2b45
parent62b8e680e61d3f48f2a12ee248ca03ea8f376926
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>
arch/x86/boot/Makefile
arch/x86/boot/bioscall.S [new file with mode: 0644]
arch/x86/boot/boot.h
arch/x86/boot/header.S
arch/x86/boot/regs.c [new file with mode: 0644]
arch/x86/boot/setup.ld
arch/x86/kernel/acpi/realmode/Makefile
arch/x86/kernel/acpi/realmode/bioscall.S [new file with mode: 0644]
arch/x86/kernel/acpi/realmode/regs.c [new file with mode: 0644]