#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "cpu.h"
#include "device.h"
#include "interrupt.h"
#include "machine.h"
#include "memory.h"
#include "misc.h"
#include "thirdparty/ohcireg.h"
Go to the source code of this file.
Classes | |
struct | ohci_data |
Macros | |
#define | DEV_OHCI_LENGTH 0x1000 |
#define | debug fatal |
Functions | |
DEVICE_ACCESS (ohci) | |
DEVINIT (ohci) | |
#define debug fatal |
Definition at line 51 of file dev_ohci.cc.
#define DEV_OHCI_LENGTH 0x1000 |
Definition at line 48 of file dev_ohci.cc.
DEVICE_ACCESS | ( | ohci | ) |
Definition at line 61 of file dev_ohci.cc.
References data, debug, fatal(), INTERRUPT_ASSERT, ohci_data::irq, MEM_READ, MEM_WRITE, memory_readmax64(), memory_writemax64(), OHCI_COMMAND_STATUS, OHCI_INTERRUPT_STATUS, OHCI_REVISION, OHCI_RH_DESCRIPTOR_A, OHCI_RH_PORT_STATUS, OHCI_RH_STATUS, OHCI_WDH, and ohci_data::port1reset.
DEVINIT | ( | ohci | ) |
Definition at line 148 of file dev_ohci.cc.
References devinit::addr, CHECK_ALLOCATION, DEV_OHCI_LENGTH, DM_DEFAULT, INTERRUPT_CONNECT, devinit::interrupt_path, ohci_data::irq, devinit::machine, machine::memory, memory_device_register(), and devinit::name.