diff options
author | 1996-05-15 08:24:15 +0000 | |
---|---|---|
committer | 1996-05-15 08:24:15 +0000 | |
commit | f65672f1f5903c7e1847f8e5cf7efd1e91cf0d26 (patch) | |
tree | 2c9c2b503244882da17905f5d954c089fde5d6c1 /sys/lib/libkern/arch/mips/bcopy.S | |
parent | Some cc flags given to cpp, not nice... (diff) | |
download | wireguard-openbsd-f65672f1f5903c7e1847f8e5cf7efd1e91cf0d26.tar.xz wireguard-openbsd-f65672f1f5903c7e1847f8e5cf7efd1e91cf0d26.zip |
Now uses libkern instead of locore functions.
Diffstat (limited to 'sys/lib/libkern/arch/mips/bcopy.S')
-rw-r--r-- | sys/lib/libkern/arch/mips/bcopy.S | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/lib/libkern/arch/mips/bcopy.S b/sys/lib/libkern/arch/mips/bcopy.S index bb47ae3c6bf..75e367b78b4 100644 --- a/sys/lib/libkern/arch/mips/bcopy.S +++ b/sys/lib/libkern/arch/mips/bcopy.S @@ -38,6 +38,7 @@ forward: beq a3, zero, 1f subu a2, a2, a3 # subtract from remaining count +/*XXX FIXME Endian dependent */ lwr v1, 0(a0) # get next 4 bytes (unaligned) lwl v1, 3(a0) addu a0, a0, a3 @@ -49,6 +50,7 @@ forward: move a2, v1 addu a3, a3, a0 # compute ending address 2: +/*XXX FIXME Endian dependent */ lwr v1, 0(a0) # copy words a0 unaligned, a1 aligned lwl v1, 3(a0) addu a0, a0, 4 @@ -85,7 +87,7 @@ smallcpy: sb v1, 0(a1) addu a1, a1, 1 bne a0, a3, 1b - nop # MMU BUG ? (cant do -1(a1) !! + nop # MMU BUG ? can't do -1(a1) at 0x80000000!! 2: j ra nop |