aboutsummaryrefslogtreecommitdiff
path: root/src/biosvar.h
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/biosvar.h
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/biosvar.h')
-rw-r--r--src/biosvar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/biosvar.h b/src/biosvar.h
index 2391759..4d3b3f0 100644
--- a/src/biosvar.h
+++ b/src/biosvar.h
@@ -237,7 +237,7 @@ get_ebda_ptr()
extern void *__force_link_error__get_ebda_ptr_only_in_32bit();
if (MODE16)
return __force_link_error__get_ebda_ptr_only_in_32bit();
- return (void*)MAKE_FARPTR(get_ebda_seg(), 0);
+ return MAKE_FLATPTR(get_ebda_seg(), 0);
}
#define GET_EBDA2(eseg, var) \
GET_FARVAR(eseg, ((struct extended_bios_data_area_s *)0)->var)