ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/uae_cpu/cpu_emulation.h
(Generate patch)

Comparing BasiliskII/src/uae_cpu/cpu_emulation.h (file contents):
Revision 1.1 by cebix, 1999-10-03T14:16:26Z vs.
Revision 1.2 by cebix, 1999-11-03T10:56:38Z

# Line 73 | Line 73 | static inline void WriteMacInt16(uint32
73   static inline void WriteMacInt8(uint32 addr, uint32 b) {put_byte(addr, b);}
74   static inline uint8 *Mac2HostAddr(uint32 addr) {return get_real_address(addr);}
75   #endif
76 + static inline void *Mac_memset(uint32 addr, int c, size_t n) {return memset(Mac2HostAddr(addr), c, n);}
77 + static inline void *Mac2Host_memcpy(void *dest, uint32 src, size_t n) {return memcpy(dest, Mac2HostAddr(src), n);}
78 + static inline void *Host2Mac_memcpy(uint32 dest, const void *src, size_t n) {return memcpy(Mac2HostAddr(dest), src, n);}
79 + static inline void *Mac2Mac_memcpy(uint32 dest, uint32 src, size_t n) {return memcpy(Mac2HostAddr(dest), Mac2HostAddr(src), n);}
80  
81  
82   /*

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines