dev_kn220.cc Source File
Back to the index.
Go to the documentation of this file.
64 uint64_t idata = 0, odata = 0;
71 debug(
"[ dec5500_ioboard: write to address 0x%llx, "
72 "data=0x%016llx ]\n", (
long long)relative_addr,
75 debug(
"[ dec5500_ioboard: read from address 0x%llx ]\n",
76 (
long long)relative_addr);
79 switch (relative_addr) {
86 odata = 0xffffffffULL;
91 debug(
"[ dec5500_ioboard: unimplemented write to "
92 "address 0x%llx, data=0x%016llx ]\n",
93 (
long long)relative_addr, (
long long)idata);
95 debug(
"[ dec5500_ioboard: unimplemented read from"
96 " address 0x%llx ]\n", (
long long)relative_addr);
112 uint64_t idata = 0, odata = 0;
118 debug(
"[ sgec: write to address 0x%llx, data=0x%016llx ]\n",
119 (
long long)relative_addr, (
long long)idata);
121 debug(
"[ sgec: read from address 0x%llx ]\n",
122 (
long long)relative_addr);
125 switch (relative_addr) {
133 debug(
"[ sgec: unimplemented write to address 0x%llx,"
134 " data=0x%016llx ]\n", (
long long)relative_addr,
137 debug(
"[ sgec: unimplemented read from address "
138 "0x%llx ]\n", (
long long)relative_addr);
169 struct memory *mem, uint64_t baseaddr)
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)
struct dec5500_ioboard_data * dev_dec5500_ioboard_init(struct cpu *cpu, struct memory *mem, uint64_t baseaddr)
int dev_dec5500_ioboard_access(struct cpu *cpu, struct memory *mem, uint64_t relative_addr, unsigned char *data, size_t len, int writeflag, void *)
int dev_sgec_access(struct cpu *cpu, struct memory *mem, uint64_t relative_addr, unsigned char *data, size_t len, int writeflag, void *)
uint64_t memory_readmax64(struct cpu *cpu, unsigned char *buf, int len)
void dev_sgec_init(struct memory *mem, uint64_t baseaddr, int irq_nr)
DEVICE_ACCESS(dec5500_ioboard)
#define DEV_DEC5500_IOBOARD_LENGTH
void memory_writemax64(struct cpu *cpu, unsigned char *buf, int len, uint64_t data)
#define CHECK_ALLOCATION(ptr)
Generated on Tue Aug 25 2020 19:25:06 for GXemul by
1.8.18