aboutsummaryrefslogtreecommitdiff
path: root/src/resume.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2009-01-19 15:44:44 -0500
committerKevin O'Connor <kevin@koconnor.net>2009-01-19 15:44:44 -0500
commit35ae726530432c478a0955532e7e6c8b32c4bfef (patch)
treec9a6fc65917f572bc272367c9d76a7b9d93cc2ee /src/resume.c
parenta9e286d47ff1872b2d992b246f4bb8d2d2d8f498 (diff)
downloadseabios-hppa-35ae726530432c478a0955532e7e6c8b32c4bfef.zip
seabios-hppa-35ae726530432c478a0955532e7e6c8b32c4bfef.tar.gz
seabios-hppa-35ae726530432c478a0955532e7e6c8b32c4bfef.tar.bz2
Rename MAKE_FARPTR (and similar) to MAKE_FLATPTR.
The term "far pointer" is used in many 16bit specs, and it is different from what MAKE_FARPTR creates. So, use the term "flat pointer" in the code to distinguish between the two meanings. Also, use the suffix "_fl" consistently when working with "flat pointers".
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 f141ea3..aab52ed 100644
--- a/src/resume.c
+++ b/src/resume.c
@@ -113,8 +113,8 @@ s3_resume()
memset(&br, 0, sizeof(br));
if (s3_resume_vector) {
dprintf(1, "Jump to resume vector (%x)\n", s3_resume_vector);
- br.ip = FARPTR_TO_OFFSET(s3_resume_vector);
- br.cs = FARPTR_TO_SEG(s3_resume_vector);
+ br.ip = FLATPTR_TO_OFFSET(s3_resume_vector);
+ br.cs = FLATPTR_TO_SEG(s3_resume_vector);
} else {
dprintf(1, "No resume vector set!\n");
// Jump to the post vector to restart with a normal boot.