aboutsummaryrefslogtreecommitdiff
path: root/src/boot.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2008-08-29 21:14:36 -0400
committerKevin O'Connor <kevin@koconnor.net>2008-08-29 21:14:36 -0400
commit18b927e920dd96a61cb0ee01ad007c745aa5036a (patch)
treef5116499110be5f440cf0331330c81f30595be1f /src/boot.c
parente06363e56dbe171ec7fc755e64fbf62d3ac94adb (diff)
downloadseabios-hppa-18b927e920dd96a61cb0ee01ad007c745aa5036a.zip
seabios-hppa-18b927e920dd96a61cb0ee01ad007c745aa5036a.tar.gz
seabios-hppa-18b927e920dd96a61cb0ee01ad007c745aa5036a.tar.bz2
Rename memcpy() to memcpy_far() and add regular memcpy() code.
Diffstat (limited to 'src/boot.c')
-rw-r--r--src/boot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot.c b/src/boot.c
index 1b5c3d8..5beca25 100644
--- a/src/boot.c
+++ b/src/boot.c
@@ -38,7 +38,7 @@ printf_bootdev(u16 bootdev)
if (type == 4 && far_description != 0) {
char description[33];
/* first 32 bytes are significant */
- memcpy(MAKE_FARPTR(GET_SEG(SS), &description), far_description, 32);
+ memcpy_far(MAKE_FARPTR(GET_SEG(SS), &description), far_description, 32);
/* terminate string */
description[32] = 0;
printf(" [%.s]", description);