#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "bus_isa.h"
#include "bus_pci.h"
#include "cpu.h"
#include "device.h"
#include "emul.h"
#include "interrupt.h"
#include "machine.h"
#include "memory.h"
#include "misc.h"
#include "thirdparty/alpha_lcareg.h"
Go to the source code of this file.
Classes | |
struct | lca_data |
Macros | |
#define | LCA_ISA_BASE (LCA_PCI_SIO + 0x10000000) |
#define | LCA_ISA_MEMBASE (LCA_PCI_SIO + 0x18000000) |
Functions | |
void | lca_interrupt_assert (struct interrupt *interrupt) |
void | lca_interrupt_deassert (struct interrupt *interrupt) |
DEVICE_ACCESS (lca_pci_conf) | |
DEVICE_ACCESS (lca_isa) | |
DEVICE_ACCESS (lca_ioc) | |
DEVINIT (lca) | |
#define LCA_ISA_BASE (LCA_PCI_SIO + 0x10000000) |
Definition at line 47 of file dev_lca.cc.
#define LCA_ISA_MEMBASE (LCA_PCI_SIO + 0x18000000) |
Definition at line 48 of file dev_lca.cc.
DEVICE_ACCESS | ( | lca_ioc | ) |
Definition at line 182 of file dev_lca.cc.
References data, fatal(), lca_data::ioc_conf, IOC_TB_ENA_TEN, LCA_IOC_BASE, LCA_IOC_CONF, LCA_IOC_TB_ENA, LCA_IOC_TBIA, LCA_IOC_W_BASE0, LCA_IOC_W_BASE1, LCA_IOC_W_MASK0, LCA_IOC_W_MASK1, LCA_IOC_W_T_BASE0, LCA_IOC_W_T_BASE1, MEM_READ, MEM_WRITE, memory_readmax64(), memory_writemax64(), lca_data::tlb_enable, lca_data::window_base_0, lca_data::window_base_1, lca_data::window_mask_0, lca_data::window_mask_1, lca_data::window_t_base_0, and lca_data::window_t_base_1.
DEVICE_ACCESS | ( | lca_isa | ) |
Definition at line 152 of file dev_lca.cc.
References CACHE_NONE, data, fatal(), LCA_ISA_BASE, cpu::mem, MEM_READ, MEM_WRITE, and cpu::memory_rw.
DEVICE_ACCESS | ( | lca_pci_conf | ) |
Definition at line 89 of file dev_lca.cc.
References bus_pci_data_access(), bus_pci_setaddr(), data, fatal(), lca_data::ioc_conf, MEM_READ, MEM_WRITE, memory_readmax64(), memory_writemax64(), lca_data::pci_data, and reg.
DEVINIT | ( | lca | ) |
Definition at line 325 of file dev_lca.cc.
References BUS_ISA_IDE0, BUS_ISA_IDE1, bus_isa_init(), bus_pci_add(), bus_pci_init(), CHECK_ALLOCATION, DM_DEFAULT, interrupt::extra, interrupt::interrupt_assert, interrupt::interrupt_deassert, interrupt_handler_register(), lca_interrupt_assert(), lca_interrupt_deassert(), LCA_IOC_BASE, LCA_ISA_BASE, LCA_ISA_MEMBASE, LCA_PCI_CONF, LCA_PCI_SIO, interrupt::line, devinit::machine, machine::memory, memory_device_register(), interrupt::name, machine::path, lca_data::pci_data, and strlen().
void lca_interrupt_assert | ( | struct interrupt * | interrupt | ) |
void lca_interrupt_deassert | ( | struct interrupt * | interrupt | ) |