#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "devices.h"
#include "memory.h"
#include "misc.h"
Go to the source code of this file.
Classes | |
struct | dec5500_ioboard_data |
struct | sgec_data |
Macros | |
#define | IOBOARD_DEBUG |
#define | SGEC_DEBUG |
Functions | |
DEVICE_ACCESS (dec5500_ioboard) | |
DEVICE_ACCESS (sgec) | |
void | dev_sgec_init (struct memory *mem, uint64_t baseaddr, int irq_nr) |
struct dec5500_ioboard_data * | dev_dec5500_ioboard_init (struct cpu *cpu, struct memory *mem, uint64_t baseaddr) |
#define IOBOARD_DEBUG |
Definition at line 44 of file dev_kn220.cc.
#define SGEC_DEBUG |
Definition at line 50 of file dev_kn220.cc.
struct dec5500_ioboard_data* dev_dec5500_ioboard_init | ( | struct cpu * | cpu, |
struct memory * | mem, | ||
uint64_t | baseaddr | ||
) |
Definition at line 168 of file dev_kn220.cc.
References CHECK_ALLOCATION, dev_dec5500_ioboard_access(), DEV_DEC5500_IOBOARD_LENGTH, DM_DEFAULT, and memory_device_register().
Referenced by MACHINE_SETUP().
void dev_sgec_init | ( | struct memory * | mem, |
uint64_t | baseaddr, | ||
int | irq_nr | ||
) |
Definition at line 151 of file dev_kn220.cc.
References CHECK_ALLOCATION, dev_sgec_access(), DEV_SGEC_LENGTH, DM_DEFAULT, sgec_data::irq_nr, and memory_device_register().
Referenced by MACHINE_SETUP().
DEVICE_ACCESS | ( | dec5500_ioboard | ) |
Definition at line 60 of file dev_kn220.cc.
References data, debug, MEM_READ, MEM_WRITE, memory_readmax64(), and memory_writemax64().
DEVICE_ACCESS | ( | sgec | ) |
Definition at line 109 of file dev_kn220.cc.
References data, debug, MEM_READ, MEM_WRITE, memory_readmax64(), and memory_writemax64().