diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2008-08-29 21:14:36 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2008-08-29 21:14:36 -0400 |
commit | 18b927e920dd96a61cb0ee01ad007c745aa5036a (patch) | |
tree | f5116499110be5f440cf0331330c81f30595be1f /src/pcibios.c | |
parent | e06363e56dbe171ec7fc755e64fbf62d3ac94adb (diff) | |
download | seabios-18b927e920dd96a61cb0ee01ad007c745aa5036a.tar.gz |
Rename memcpy() to memcpy_far() and add regular memcpy() code.
Diffstat (limited to 'src/pcibios.c')
-rw-r--r-- | src/pcibios.c | 2 |
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); |