aboutsummaryrefslogtreecommitdiff
path: root/src/system.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/system.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/system.c')
-rw-r--r--src/system.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/system.c b/src/system.c
index 1d0b23b..5f39a98 100644
--- a/src/system.c
+++ b/src/system.c
@@ -279,9 +279,9 @@ handle_15e820(struct bregs *regs)
return;
}
- memcpy_far(MAKE_FARPTR(regs->es, regs->di)
- , MAKE_FARPTR(SEG_BIOS, &e820_list[regs->bx])
- , sizeof(e820_list[0]));
+ memcpy_fl(MAKE_FLATPTR(regs->es, regs->di)
+ , MAKE_FLATPTR(SEG_BIOS, &e820_list[regs->bx])
+ , sizeof(e820_list[0]));
if (regs->bx == count-1)
regs->ebx = 0;
else