#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "console.h"
#include "cpu.h"
#include "device.h"
#include "emul.h"
#include "interrupt.h"
#include "machine.h"
#include "memory.h"
#include "misc.h"
#include "thirdparty/mvme_pcctworeg.h"
#include "thirdparty/clmpccreg.h"
Go to the source code of this file.
Classes | |
struct | clmpcc_data |
Macros | |
#define | debug fatal |
#define | CLMPCC_LEN 0x200 |
#define | DEV_CLMPCC_TICK_SHIFT 16 |
Functions | |
DEVICE_TICK (clmpcc) | |
DEVICE_ACCESS (clmpcc) | |
DEVINIT (clmpcc) | |
#define CLMPCC_LEN 0x200 |
Definition at line 59 of file dev_clmpcc.cc.
Referenced by DEVINIT().
#define debug fatal |
Definition at line 57 of file dev_clmpcc.cc.
#define DEV_CLMPCC_TICK_SHIFT 16 |
Definition at line 60 of file dev_clmpcc.cc.
Referenced by DEVINIT().
DEVICE_ACCESS | ( | clmpcc | ) |
Definition at line 102 of file dev_clmpcc.cc.
References CLMPCC_REG_CAR, CLMPCC_REG_CCR, CLMPCC_REG_CMR, CLMPCC_REG_COR1, CLMPCC_REG_COR2, CLMPCC_REG_COR3, CLMPCC_REG_COR4, CLMPCC_REG_COR5, CLMPCC_REG_COR6, CLMPCC_REG_COR7, CLMPCC_REG_IER, CLMPCC_REG_LIVR, CLMPCC_REG_LNXT, CLMPCC_REG_MPILR, CLMPCC_REG_MSVR_DTR, CLMPCC_REG_MSVR_RTS, CLMPCC_REG_RBPR, CLMPCC_REG_RCOR, CLMPCC_REG_RPILR, CLMPCC_REG_RTPRh, CLMPCC_REG_RTPRl, CLMPCC_REG_SCHR1, CLMPCC_REG_SCHR2, CLMPCC_REG_SCHR3, CLMPCC_REG_SCHR4, CLMPCC_REG_SCRh, CLMPCC_REG_SCRl, CLMPCC_REG_STCR, CLMPCC_REG_TBPR, CLMPCC_REG_TCOR, CLMPCC_REG_TPILR, CLMPCC_REG_TPR, clmpcc_data::console_handle, console_putchar(), data, fatal(), MEM_READ, MEM_WRITE, memory_readmax64(), and clmpcc_data::reg.
DEVICE_TICK | ( | clmpcc | ) |
Definition at line 95 of file dev_clmpcc.cc.
DEVINIT | ( | clmpcc | ) |
Definition at line 262 of file dev_clmpcc.cc.
References devinit::addr, CHECK_ALLOCATION, CLMPCC_LEN, clmpcc_data::console_handle, console_start_slave(), DEV_CLMPCC_TICK_SHIFT, DM_DEFAULT, devinit::in_use, INTERRUPT_CONNECT, devinit::interrupt_path, clmpcc_data::irq_scc_m, clmpcc_data::irq_scc_rx, clmpcc_data::irq_scc_rxe, clmpcc_data::irq_scc_tx, devinit::machine, machine_add_tickfunction(), machine::memory, memory_device_register(), devinit::name, devinit::name2, PCC2V_SCC_M, PCC2V_SCC_RX, PCC2V_SCC_RXE, PCC2V_SCC_TX, and devinit::return_ptr.