#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "cpu.h"
#include "device.h"
#include "devices.h"
#include "interrupt.h"
#include "machine.h"
#include "memory.h"
#include "misc.h"
#include "thirdparty/dec_kmin.h"
Go to the source code of this file.
Classes | |
struct | kn02ba_data |
Functions | |
void | kn02ba_interrupt_assert (struct interrupt *interrupt) |
void | kn02ba_interrupt_deassert (struct interrupt *interrupt) |
DEVICE_ACCESS (kn02ba_mer) | |
DEVICE_ACCESS (kn02ba_msr) | |
DEVINIT (kn02ba) | |
DEVICE_ACCESS | ( | kn02ba_mer | ) |
Definition at line 79 of file dev_kn02ba.cc.
References data, debug, fatal(), KMIN_LASTB07, KMIN_LASTB15, KMIN_LASTB23, KMIN_LASTB31, KMIN_MER_PAGE_BRY, KMIN_MER_PARDIS, KMIN_MER_TLEN, MEM_READ, MEM_WRITE, memory_readmax64(), memory_writemax64(), and kn02ba_data::mer.
DEVICE_ACCESS | ( | kn02ba_msr | ) |
Definition at line 126 of file dev_kn02ba.cc.
References data, debug, fatal(), KMIN_MSR_SIZE_16Mb, MEM_READ, MEM_WRITE, memory_readmax64(), memory_writemax64(), and kn02ba_data::msr.
DEVINIT | ( | kn02ba | ) |
Definition at line 167 of file dev_kn02ba.cc.
References CHECK_ALLOCATION, machine::cpus, kn02ba_data::dec_ioasic, dev_dec_ioasic_init(), DM_DEFAULT, interrupt::extra, interrupt::interrupt_assert, INTERRUPT_CONNECT, interrupt::interrupt_deassert, interrupt_handler_register(), devinit::interrupt_path, kn02ba_data::irq, KMIN_MSR_SIZE_16Mb, KMIN_REG_MER, KMIN_REG_MSR, KMIN_SYS_ASIC, kn02ba_interrupt_assert(), kn02ba_interrupt_deassert(), interrupt::line, devinit::machine, machine::memory, memory_device_register(), kn02ba_data::msr, and interrupt::name.
void kn02ba_interrupt_assert | ( | struct interrupt * | interrupt | ) |
Definition at line 63 of file dev_kn02ba.cc.
References kn02ba_data::dec_ioasic, dec_ioasic_reassert(), interrupt::extra, dec_ioasic_data::intr, and interrupt::line.
Referenced by DEVINIT().
void kn02ba_interrupt_deassert | ( | struct interrupt * | interrupt | ) |
Definition at line 70 of file dev_kn02ba.cc.
References kn02ba_data::dec_ioasic, dec_ioasic_reassert(), interrupt::extra, dec_ioasic_data::intr, and interrupt::line.
Referenced by DEVINIT().