#include <stdio.h>#include <stdlib.h>#include <string.h>#include "cpu.h"#include "device.h"#include "emul.h"#include "interrupt.h"#include "machine.h"#include "memory.h"#include "misc.h"#include "thirdparty/mvme187.h"#include "thirdparty/mvme_pcctworeg.h"Go to the source code of this file.
Classes | |
| struct | pcc2_data |
Macros | |
| #define | INTERRUPT_LEVEL_MASK 0x07 |
| #define | PCC_TIMER_TICK_HZ 100.0 |
| #define | DEV_PCC2_TICK_SHIFT 14 |
Functions | |
| void | pcctwo_interrupt_common (struct interrupt *interrupt, int assert) |
| DEVICE_TICK (pcc2) | |
| DEVICE_ACCESS (pcc2) | |
| DEVICE_ACCESS (mvme187_iack) | |
| DEVINIT (pcc2) | |
| #define DEV_PCC2_TICK_SHIFT 14 |
Definition at line 62 of file dev_pcc2.cc.
| #define INTERRUPT_LEVEL_MASK 0x07 |
Definition at line 59 of file dev_pcc2.cc.
| #define PCC_TIMER_TICK_HZ 100.0 |
Definition at line 61 of file dev_pcc2.cc.
| DEVICE_ACCESS | ( | mvme187_iack | ) |
Definition at line 572 of file dev_pcc2.cc.
References pcc2_data::cur_int_vec, data, debug, fatal(), INTERRUPT_LEVEL_MASK, MEM_WRITE, memory_writemax64(), pcc2_data::pcctwo_reg, and PCCTWO_VECBASE.
| DEVICE_ACCESS | ( | pcc2 | ) |
Definition at line 322 of file dev_pcc2.cc.
References data, fatal(), MEM_READ, MEM_WRITE, memory_readmax64(), PCC2_SIZE, PCCTWO_CHIPID, PCCTWO_CHIPREV, PCCTWO_GENCTL, and pcc2_data::pcctwo_reg.
| DEVICE_TICK | ( | pcc2 | ) |
Definition at line 315 of file dev_pcc2.cc.
| DEVINIT | ( | pcc2 | ) |
Definition at line 592 of file dev_pcc2.cc.
References CHECK_ALLOCATION, pcc2_data::cpu_irq, interrupt::extra, interrupt::interrupt_assert, INTERRUPT_CONNECT, devinit::interrupt_path, interrupt::line, interrupt::name, PCC2_ID, PCCTWO_CHIPID, PCCTWO_CHIPREV, PCCTWO_GENCTL, PCCTWO_PSCALEADJ, pcc2_data::pcctwo_reg, and PCCTWO_VECBASE.
| void pcctwo_interrupt_common | ( | struct interrupt * | interrupt, |
| int | assert | ||
| ) |
Definition at line 269 of file dev_pcc2.cc.
References interrupt::extra, fatal(), interrupt::line, PCC2_IRQ_INT, PCC2V_SCC_RX, PCC2V_SCC_TX, PCC2V_SCSI, pcc2_data::pcctwo_reg, PCCTWO_SCCRX, PCCTWO_SCCTX, and PCCTWO_SCSIICR.
1.8.17