aboutsummaryrefslogtreecommitdiff
path: root/src/stacks.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2011-07-16 13:13:12 -0400
committerKevin O'Connor <kevin@koconnor.net>2011-07-16 13:15:27 -0400
commit533b6286cbc5a01e8aaafc2a8393a7d109f81958 (patch)
tree5d051ff2edeb3f62b982d5fcc4761bf9dd5448e7 /src/stacks.c
parent77b8536e5c9908fbe99c88d01462a36a3deb05b1 (diff)
downloadseabios-hppa-533b6286cbc5a01e8aaafc2a8393a7d109f81958.zip
seabios-hppa-533b6286cbc5a01e8aaafc2a8393a7d109f81958.tar.gz
seabios-hppa-533b6286cbc5a01e8aaafc2a8393a7d109f81958.tar.bz2
Run option rom visible PMM code in 32bit mode instead of 16bit mode.
Use call32() to jump into handle_pmm(). This reduces the amount of 16bit code needed. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/stacks.c')
-rw-r--r--src/stacks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stacks.c b/src/stacks.c
index 17495d5..17f1a4a 100644
--- a/src/stacks.c
+++ b/src/stacks.c
@@ -32,7 +32,7 @@ static inline void lgdt(struct descloc_s *desc) {
}
// Call a 32bit SeaBIOS function from a 16bit SeaBIOS function.
-u32
+u32 VISIBLE16
call32(void *func, u32 eax, u32 errret)
{
ASSERT16();