57 uint64_t idata = 0, odata = 0;
64 switch (relative_addr) {
70 debug(
"[ pmppc: UNIMPLEMENTED write to PMPPC_CONFIG0:" 71 " 0x%02x ]\n", (
int)idata);
79 debug(
"[ pmppc: UNIMPLEMENTED write to PMPPC_CONFIG1:" 80 " 0x%02x ]\n", (
int)idata);
92 exit_without_entering_debugger = 1;
100 debug(
"[ pmppc: UNIMPLEMENTED read from 0x%08lx ]\n",
101 (
long)relative_addr);
103 debug(
"[ pmppc: UNIMPLEMENTED write to 0x%08lx:" 104 " 0x%02x ]\n", (
long)relative_addr, (
int)idata);
154 fatal(
"A PM/PPC can have 32, 64, 128, or 256 MB RAM.\n");
uint64_t memory_readmax64(struct cpu *cpu, unsigned char *buf, int len)
void fatal(const char *fmt,...)
#define PMPPC_RESET_SEQ_STEP1
#define PMPPC_RESET_SEQ_STEP2
#define CHECK_ALLOCATION(ptr)
DEVICE_ACCESS(pmppc_board)
void memory_writemax64(struct cpu *cpu, unsigned char *buf, int len, uint64_t data)
void memory_device_register(struct memory *mem, const char *, uint64_t baseaddr, uint64_t len, int(*f)(struct cpu *, struct memory *, uint64_t, unsigned char *, size_t, int, void *), void *extra, int flags, unsigned char *dyntrans_data)