#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "cpu.h"
#include "devices.h"
#include "machine.h"
#include "memory.h"
#include "misc.h"
#include "thirdparty/imcreg.h"
Go to the source code of this file.
Macros | |
#define | SGI_IP22_TICK_SHIFT 14 |
Functions | |
DEVICE_TICK (sgi_ip22) | |
DEVICE_ACCESS (sgi_ip22_imc) | |
DEVICE_ACCESS (sgi_ip22_unknown) | |
DEVICE_ACCESS (sgi_ip22_unknown2) | |
DEVICE_ACCESS (sgi_ip22_sysid) | |
DEVICE_ACCESS (sgi_ip22) | |
struct sgi_ip22_data * | dev_sgi_ip22_init (struct machine *machine, struct memory *mem, uint64_t baseaddr, int guiness_flag) |
#define SGI_IP22_TICK_SHIFT 14 |
Definition at line 44 of file dev_sgi_ip22.cc.
struct sgi_ip22_data* dev_sgi_ip22_init | ( | struct machine * | machine, |
struct memory * | mem, | ||
uint64_t | baseaddr, | ||
int | guiness_flag | ||
) |
Definition at line 409 of file dev_sgi_ip22.cc.
References CHECK_ALLOCATION, dev_sgi_ip22_access(), DEV_SGI_IP22_IMC_LENGTH, DEV_SGI_IP22_LENGTH, DEV_SGI_IP22_UNKNOWN2_LENGTH, DM_DEFAULT, sgi_ip22_data::guiness_flag, IP22_IMC_BASE, IP22_UNKNOWN2_BASE, machine_add_tickfunction(), memory_device_register(), and SGI_IP22_TICK_SHIFT.
DEVICE_ACCESS | ( | sgi_ip22 | ) |
Definition at line 277 of file dev_sgi_ip22.cc.
References data, debug, fatal(), MEM_READ, MEM_WRITE, memory_readmax64(), memory_writemax64(), and sgi_ip22_data::reg.
DEVICE_ACCESS | ( | sgi_ip22_imc | ) |
Definition at line 62 of file dev_sgi_ip22.cc.
References data, debug, IMC_CPUCTRL0, IMC_EEPROM, IMC_MEMCFG0, IMC_MEMCFG1, sgi_ip22_data::imc_reg, IMC_SYSID, IMC_WDOG, IP22_IMC_BASE, MEM_READ, MEM_WRITE, memory_readmax64(), and memory_writemax64().
DEVICE_ACCESS | ( | sgi_ip22_sysid | ) |
Definition at line 243 of file dev_sgi_ip22.cc.
References data, debug, sgi_ip22_data::guiness_flag, MEM_READ, MEM_WRITE, memory_readmax64(), and memory_writemax64().
DEVICE_ACCESS | ( | sgi_ip22_unknown | ) |
Definition at line 166 of file dev_sgi_ip22.cc.
References data, debug, MEM_READ, MEM_WRITE, memory_readmax64(), memory_writemax64(), and sgi_ip22_data::unknown_timer.
DEVICE_ACCESS | ( | sgi_ip22_unknown2 | ) |
Definition at line 209 of file dev_sgi_ip22.cc.
References data, debug, MEM_READ, MEM_WRITE, memory_readmax64(), memory_writemax64(), and sgi_ip22_data::unknown2_reg.
DEVICE_TICK | ( | sgi_ip22 | ) |
Definition at line 47 of file dev_sgi_ip22.cc.
References sgi_ip22_data::reg.