aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcibios.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/pcibios.c
parente06363e56dbe171ec7fc755e64fbf62d3ac94adb (diff)
downloadseabios-18b927e920dd96a61cb0ee01ad007c745aa5036a.tar.gz
Rename memcpy() to memcpy_far() and add regular memcpy() code.
Diffstat (limited to 'src/pcibios.c')
-rw-r--r--src/pcibios.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcibios.c b/src/pcibios.c
index 3823c2eb..4e29a431 100644
--- a/src/pcibios.c
+++ b/src/pcibios.c
@@ -132,7 +132,7 @@ handle_1ab10e(struct bregs *regs)
u16 destseg = GET_FARVAR(regs->es, *(u16*)(regs->di+4));
// Memcpy pir table slots to dest buffer.
- memcpy(MAKE_FARPTR(destseg, d), pirtable_far, pirsize);
+ memcpy_far(MAKE_FARPTR(destseg, d), pirtable_far, pirsize);
// XXX - bochs bios sets bx to (1 << 9) | (1 << 11)
regs->bx = GET_FARPTR(pirtable_far->exclusive_irqs);