#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "cpu.h"
#include "device.h"
#include "devices.h"
#include "emul.h"
#include "machine.h"
#include "memory.h"
#include "misc.h"
Go to the source code of this file.
Classes | |
struct | pccmos_data |
Macros | |
#define | DEV_PCCMOS_LENGTH 2 |
#define | PCCMOS_MC146818_FAKE_ADDR 0x1d00000000ULL |
Functions | |
DEVICE_ACCESS (pccmos) | |
DEVINIT (pccmos) | |
#define DEV_PCCMOS_LENGTH 2 |
Definition at line 48 of file dev_pccmos.cc.
Referenced by DEVINIT().
#define PCCMOS_MC146818_FAKE_ADDR 0x1d00000000ULL |
Definition at line 49 of file dev_pccmos.cc.
Referenced by DEVICE_ACCESS(), and DEVINIT().
DEVICE_ACCESS | ( | pccmos | ) |
Definition at line 57 of file dev_pccmos.cc.
References data, fatal(), cpu::mem, MEM_READ, MEM_WRITE, memory_readmax64(), cpu::memory_rw, memory_writemax64(), PCCMOS_MC146818_FAKE_ADDR, PHYSICAL, pccmos_data::ram, and pccmos_data::select.
DEVINIT | ( | pccmos | ) |
Definition at line 112 of file dev_pccmos.cc.
References devinit::addr, CHECK_ALLOCATION, dev_mc146818_init(), DEV_PCCMOS_LENGTH, DM_DEFAULT, fatal(), devinit::interrupt_path, devinit::machine, MACHINE_ALGOR, MACHINE_ALPHA, MACHINE_ARC, MACHINE_CATS, MACHINE_COBALT, MACHINE_EVBMIPS, MACHINE_IYONIX, MACHINE_MVMEPPC, MACHINE_NETWINDER, MACHINE_PREP, MACHINE_QEMU_MIPS, machine::machine_type, MC146818_ALGOR, MC146818_CATS, MC146818_PC_CMOS, machine::memory, memory_device_register(), devinit::name, PCCMOS_MC146818_FAKE_ADDR, and pccmos_data::ram.