freebsd-dev/sys/mips
David E. O'Brien ae72afe0f2 The kernel implemented 'memcmp' is an alias for 'bcmp'. However, memcmp
and bcmp are not the same thing.  'man bcmp' states that the return is
"non-zero" if the two byte strings are not identical.  Where as,
'man memcmp' states that the return is the "difference between the
first two differing bytes (treated as unsigned char values" if the
two byte strings are not identical.

So provide a proper memcmp(9), but it is a C implementation not a tuned
assembly implementation.  Therefore bcmp(9) should be preferred over memcmp(9).
2008-09-23 14:45:10 +00:00
..
adm5120 MFp4: Update the interrupt code from perforce. 2008-09-19 04:10:09 +00:00
compile
conf Merge from p4: add bpf 2008-09-19 03:47:29 +00:00
idt MFp4: Update the interrupt code from perforce. 2008-09-19 04:10:09 +00:00
include Export 'struct pcpu' to userland w/o requiring _KERNEL. A few ports 2008-08-19 19:53:52 +00:00
malta MFp4: Merge interrupt code from p4 2008-09-19 04:16:13 +00:00
mips The kernel implemented 'memcmp' is an alias for 'bcmp'. However, memcmp 2008-09-23 14:45:10 +00:00
sentry5 Fix path in all includes: remove /mips32 subdirectory 2008-09-10 03:49:08 +00:00