diff options
author | Myles Watson <mylesgw@gmail.com> | 2010-09-07 22:30:15 +0000 |
---|---|---|
committer | Myles Watson <mylesgw@gmail.com> | 2010-09-07 22:30:15 +0000 |
commit | 6c9bc01b0ead45ebde3479e2c3c0c150ce99625f (patch) | |
tree | 244b76f0ea03b2e86722810319d2547edb837ae2 /src/devices/oprom/x86.c | |
parent | c13738540483511a88b02a64195453cbaf3d67bc (diff) |
Make a Kconfig option for debugging output from realmode emulation. Trivial.
Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Myles Watson <mylesgw@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5783 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/devices/oprom/x86.c')
-rw-r--r-- | src/devices/oprom/x86.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/devices/oprom/x86.c b/src/devices/oprom/x86.c index 42267faa5f..60776f68ea 100644 --- a/src/devices/oprom/x86.c +++ b/src/devices/oprom/x86.c @@ -329,6 +329,7 @@ int __attribute__((regparm(0))) interrupt_handler(u32 intnumber, cs = cs_ip >> 16; flags = stackflags; +#if CONFIG_REALMODE_DEBUG printk(BIOS_DEBUG, "oprom: INT# 0x%x\n", intnumber); printk(BIOS_DEBUG, "oprom: eax: %08x ebx: %08x ecx: %08x edx: %08x\n", eax, ebx, ecx, edx); @@ -336,6 +337,7 @@ int __attribute__((regparm(0))) interrupt_handler(u32 intnumber, ebp, esp, edi, esi); printk(BIOS_DEBUG, "oprom: ip: %04x cs: %04x flags: %08x\n", ip, cs, flags); +#endif // Fetch arguments from the stack and put them into // a structure that we want to pass on to our sub interrupt |