aboutsummaryrefslogtreecommitdiff
path: root/src/resume.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2009-05-23 18:21:18 -0400
committerKevin O'Connor <kevin@koconnor.net>2009-05-23 18:21:18 -0400
commit1445843b99f68998892302a011bec30b5c3b28fe (patch)
tree5e2b7b808fe02466dfaafd43f3defac47db4a3ad /src/resume.c
parentb1a0d3a2ee7dce27066b742444634bdf7ecbef7a (diff)
downloadseabios-hppa-1445843b99f68998892302a011bec30b5c3b28fe.zip
seabios-hppa-1445843b99f68998892302a011bec30b5c3b28fe.tar.gz
seabios-hppa-1445843b99f68998892302a011bec30b5c3b28fe.tar.bz2
Eliminate "_code32_" prefix on 32bit symbols referenced from 16bit code.
Use linking magic to eliminate the need for the _code32_ prefix.
Diffstat (limited to 'src/resume.c')
-rw-r--r--src/resume.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resume.c b/src/resume.c
index 38723d8..ad868f6 100644
--- a/src/resume.c
+++ b/src/resume.c
@@ -1,6 +1,6 @@
// Code for handling calls to "post" that are resume related.
//
-// Copyright (C) 2008 Kevin O'Connor <kevin@koconnor.net>
+// Copyright (C) 2008,2009 Kevin O'Connor <kevin@koconnor.net>
//
// This file may be distributed under the terms of the GNU LGPLv3 license.
@@ -40,7 +40,7 @@ handle_resume(u8 status)
asm volatile(
"movw %w1, %%ss\n"
"movl %0, %%esp\n"
- "pushl $_code32_s3_resume\n"
+ "pushl $s3_resume\n"
"jmp transition32\n"
: : "i"(BUILD_S3RESUME_STACK_ADDR), "r"(0)
);