Annotation of uae/src/md-ppc/maccess.h, revision 1.1.1.1

1.1       root        1:  /* 
                      2:   * UAE - The Un*x Amiga Emulator
                      3:   * 
                      4:   * Memory access functions
                      5:   *
                      6:   * Copyright 1996 Bernd Schmidt
                      7:   */
                      8: 
                      9: static __inline__ uae_u32 do_get_mem_long(uae_u32 *a)
                     10: {
                     11:     return *a;
                     12: }
                     13: 
                     14: static __inline__ uae_u16 do_get_mem_word(uae_u16 *a)
                     15: {
                     16:     return *a;
                     17: }
                     18: 
                     19: static __inline__ uae_u8 do_get_mem_byte(uae_u8 *a)
                     20: {
                     21:     return *a;
                     22: }
                     23: 
                     24: static __inline__ void do_put_mem_long(uae_u32 *a, uae_u32 v)
                     25: {
                     26:     *a = v;
                     27: }
                     28: 
                     29: static __inline__ void do_put_mem_word(uae_u16 *a, uae_u16 v)
                     30: {
                     31:     *a = v;
                     32: }
                     33: 
                     34: static __inline__ void do_put_mem_byte(uae_u8 *a, uae_u8 v)
                     35: {
                     36:     *a = v;
                     37: }
                     38: 
                     39: #define call_mem_get_func(func, addr) ((*func)(addr))
                     40: #define call_mem_put_func(func, addr, v) ((*func)(addr, v))
                     41: 
                     42: #undef NO_INLINE_MEMORY_ACCESS
                     43: #undef MD_HAVE_MEM_1_FUNCS
                     44: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.