aboutsummaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2014-04-07 19:49:12 -0400
committerKevin O'Connor <kevin@koconnor.net>2014-06-04 11:06:58 -0400
commitf4c511cd7a5a475d542389341a320cb1c946fe25 (patch)
tree01333f28304bfaf0b309c274439a797099e9412e /src/config.h
parent2126994528a160f56fbaa6e5f0a2da9c0d628095 (diff)
downloadseabios-hppa-f4c511cd7a5a475d542389341a320cb1c946fe25.zip
seabios-hppa-f4c511cd7a5a475d542389341a320cb1c946fe25.tar.gz
seabios-hppa-f4c511cd7a5a475d542389341a320cb1c946fe25.tar.bz2
smm: Replace SMI assembler code with C code.
Convert the SMI handler from assembly to C. This makes the handler easier to understand and enhance. The new handler will use references to the reserved memory at 0xf0000-0x100000. If the physical memory in that range is modified at runtime, then the SMI handler will cease to function properly (and may allow unintended code to run in SMM mode). However, that area is marked as reserved and is normally made read-only at runtime, so there is little risk in relying on it. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
index d705615..269a022 100644
--- a/src/config.h
+++ b/src/config.h
@@ -95,6 +95,7 @@
#define DEBUG_ISR_76 10
#define DEBUG_ISR_hwpic1 5
#define DEBUG_ISR_hwpic2 5
+#define DEBUG_HDL_smi 9
#define DEBUG_HDL_pnp 1
#define DEBUG_HDL_pmm 1
#define DEBUG_HDL_pcibios 9