aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2008-03-02 11:24:36 -0500
committerKevin O'Connor <kevin@koconnor.net>2008-03-02 11:24:36 -0500
commit44c631dfd23de0ee83a8a98a95815b452727ba95 (patch)
tree168d5b156e29100227486131e5c24d94305d5705 /src/util.h
parent8ce2cd846ed2c64258600f6a6664fa1cd5dfef11 (diff)
downloadseabios-hppa-44c631dfd23de0ee83a8a98a95815b452727ba95.zip
seabios-hppa-44c631dfd23de0ee83a8a98a95815b452727ba95.tar.gz
seabios-hppa-44c631dfd23de0ee83a8a98a95815b452727ba95.tar.bz2
Enhance included bios tables.
Moved floppy parameter table to its 0xefc7 location. Define floppy base table as a struct. Cleaned up definitions in romlayout.S Fixed bug in handle_15c0 - wasn't clearing cf. Clean up some post.c usages of bios tables.
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h
index 6689b06..b858e8c 100644
--- a/src/util.h
+++ b/src/util.h
@@ -82,7 +82,7 @@ void call16(struct bregs *callregs)
static inline
void __call16_int(struct bregs *callregs, u16 offset)
{
- callregs->cs = 0xf000;
+ callregs->cs = SEG_BIOS;
callregs->ip = offset;
call16(callregs);
}