|
|
1.1 ! root 1: /* ! 2: * UAE - The Un*x Amiga Emulator ! 3: * ! 4: * Miscellaneous machine dependent support functions and definitions ! 5: * ! 6: * Copyright 1996 Bernd Schmidt ! 7: */ ! 8: ! 9: #include "../sysconfig.h" ! 10: #include "../sysdeps.h" ! 11: ! 12: #include "../config.h" ! 13: #include "../options.h" ! 14: #include "../machdep/m68k.h" ! 15: ! 16: struct flag_struct regflags; ! 17: ! 18: int fast_memcmp(const void *foo, const void *bar, int len) ! 19: { ! 20: return memcmp(foo, bar, len); ! 21: } ! 22: ! 23: int memcmpy(void *foo, const void *bar, int len) ! 24: { ! 25: int differs = memcmp(foo, bar, len); ! 26: memcpy(foo, bar, len); ! 27: return differs; ! 28: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.