cpu-common.h revision 81db31727ed27322c3f5e3bc40e71fe7fc54bf91
#ifndef CPU_COMMON_H
#define CPU_COMMON_H 1
/* CPU interfaces that are target indpendent. */
#define WORDS_ALIGNED
#endif
#include "bswap.h"
/* address in the RAM (different from a physical address) */
typedef unsigned long ram_addr_t;
/* memory API */
{
}
/* This should only be used for ram local to a device. */
/* This should not be used by devices. */
CPUWriteMemoryFunc * const *mem_write,
void *opaque);
void cpu_unregister_io_memory(int table_address);
{
}
{
}
int is_write);
void cpu_unregister_map_client(void *cookie);
#define IO_MEM_SHIFT 3
/* Acts like a ROM when read and like a device when written. */
#define IO_MEM_ROMD (1)
#define IO_MEM_SUBPAGE (2)
#define IO_MEM_SUBWIDTH (4)
#endif /* !CPU_COMMON_H */