#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/i82365reg.h"
#include "thirdparty/pcmciareg.h"
Go to the source code of this file.
Classes | |
struct | pcic_data |
Macros | |
#define | DEV_PCIC_LENGTH 2 |
Functions | |
DEVICE_ACCESS (pcic_cis) | |
DEVICE_ACCESS (pcic) | |
DEVINIT (pcic) | |
#define DEV_PCIC_LENGTH 2 |
Definition at line 54 of file dev_pcic.cc.
DEVICE_ACCESS | ( | pcic | ) |
Definition at line 141 of file dev_pcic.cc.
References data, debug, MEM_READ, MEM_WRITE, memory_readmax64(), memory_writemax64(), PCIC_CSC, PCIC_CSC_GPI, PCIC_IDENT, PCIC_IDENT_IFTYPE_MEM_AND_IO, PCIC_IDENT_REV_I82365SLR1, PCIC_IF_STATUS, PCIC_IF_STATUS_CARDDETECT_PRESENT, PCIC_IF_STATUS_POWERACTIVE, PCIC_IF_STATUS_READY, PCIC_INTR, PCIC_INTR_IRQ3, and pcic_data::regnr.
DEVICE_ACCESS | ( | pcic_cis | ) |
Definition at line 61 of file dev_pcic.cc.
References data, debug, MEM_READ, memory_readmax64(), memory_writemax64(), PCMCIA_CISTPL_CFTABLE_ENTRY, PCMCIA_CISTPL_CONFIG, PCMCIA_CISTPL_DEVICE, PCMCIA_CISTPL_END, PCMCIA_CISTPL_FUNCID, PCMCIA_CISTPL_MANFID, PCMCIA_CISTPL_NO_LINK, PCMCIA_CISTPL_VERS_1, and PCMCIA_DTYPE_FUNCSPEC.
DEVINIT | ( | pcic | ) |
Definition at line 214 of file dev_pcic.cc.
References devinit::addr, CHECK_ALLOCATION, DEV_PCIC_LENGTH, device_add(), DM_DEFAULT, INTERRUPT_CONNECT, devinit::interrupt_path, pcic_data::irq, devinit::machine, machine::memory, memory_device_register(), and devinit::name.