TEMU  2
The Terma Emulator
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
PCI.h File Reference
#include <assert.h>
#include <stdint.h>
#include "temu-c/Memory/Memory.h"
#include "temu-c/Support/Logging.h"
#include "temu-c/Support/Objsys.h"
Include dependency graph for PCI.h:

Go to the source code of this file.

Data Structures

struct  temu_PCIDeviceVTable
 
struct  temu_PCIConfig
 
struct  temu_PCIAMBAExtConfig
 
struct  temu_PCIBridgeIface
 
struct  temu_PCIDeviceIface
 
struct  temu_PCIDevice
 

Macros

#define tePciBc_Pre   0x00
 
#define tePciSc_Any   0x00
 
#define tePciSc_Vga   0x01
 
#define tePciBc_MassStorageController   0x01
 
#define tePciSc_ScsiBusController   0x00
 
#define tePciSc_IdeController   0x01
 
#define tePciSc_FloppyDiskController   0x02
 
#define tePciSc_IpiBusController   0x03
 
#define tePciSc_RaidController   0x04
 
#define tePciSc_AtaController   0x05
 
#define tePciSc_SataController   0x06
 
#define tePciSc_SasController   0x07
 
#define tePciSc_OtherMassStorageController   0x80
 
#define tePciBc_NetworkController   0x02
 
#define tePciSc_EthernetController   0x00
 
#define tePciSc_TokenRingController   0x01
 
#define tePciSc_FddiController   0x02
 
#define tePciSc_AtmController   0x03
 
#define tePciSc_IsdnController   0x04
 
#define tePciSc_WorldFipController   0x05
 
#define tePciSc_PicmgMultiComputing   0x06
 
#define tePciSc_OtherNetworkController   0x80
 
#define tePciBc_DisplayController   0x03
 
#define tePciSc_VgaController   0x00
 
#define tePciSc_XgaController   0x01
 
#define tePciSc_3dController   0x02
 
#define tePciSc_OtherDisplayController   0x80
 
#define tePciBc_MultimedaiDevice   0x04
 
#define tePciSc_VideoDevice   0x00
 
#define tePciSc_AudioDevice   0x01
 
#define tePciSc_ComptuterTelephonyDevice   0x02
 
#define tePciSc_OtherMultimediaDevice   0x80
 
#define tePciBc_MemoryController   0x05
 
#define tePciSc_RAM   0x00
 
#define tePciSc_Flash   0x01
 
#define tePciSc_OtherMemoryController   0x80
 
#define tePciBc_BridgeDevice   0x06
 
#define tePciSc_HostBridge   0x00
 
#define tePciSc_IsaBridge   0x01
 
#define tePciSc_EisaBridge   0x02
 
#define tePciSc_McaBridge   0x03
 
#define tePciSc_PciToPciBridge   0x04
 
#define tePciSc_PcmciaBridge   0x05
 
#define tePciSc_NuBusBridge   0x06
 
#define tePciSc_CardBusBridge   0x07
 
#define tePciSc_RaceWayBridge   0x08
 
#define tePciSc_SemiTransparentPciToPciBridge   0x09
 
#define tePciSc_InfiniBandToPciHostBridge   0x0a
 
#define tePciSc_OtherBridgeDevice   0x80
 
#define tePciBc_SimpleCommunicationController   0x07
 
#define tePciSc_SerialController   0x00
 
#define tePciSc_ParallelPort   0x01
 
#define tePciSc_MultiPortSerialController   0x02
 
#define tePciSc_Modem   0x03
 
#define tePciSc_GpibController   0x04
 
#define tePciSc_SmartCard   0x05
 
#define tePciSc_OtherCommunicationsDevice   0x80
 
#define tePciBc_BaseSystemPeripheral   0x08
 
#define tePciSc_Pic   0x00
 
#define tePciSc_DmaController   0x01
 
#define tePciSc_SystemTimer   0x02
 
#define tePciSc_RtcController   0x03
 
#define tePciSc_PciHotPlugController   0x04
 
#define tePciSc_SdHostController   0x05
 
#define tePciSc_OtherSystemPeripheral   0x80
 
#define tePciBc_InputDevice   0x09
 
#define tePciSc_KeyboardController   0x00
 
#define tePciSc_Digitizer   0x01
 
#define tePciSc_MouseController   0x02
 
#define tePciSc_ScannerController   0x03
 
#define tePciSc_GameportController   0x04
 
#define tePciSc_OtherInputController   0x80
 
#define tePciBc_DockingStation   0x0a
 
#define tePciSc_GenericDockingStation   0x00
 
#define tePciSc_OtherDockingStation   0x80
 
#define tePciBc_Processor   0x0b
 
#define tePciSc_386   0x00
 
#define tePciSc_486   0x01
 
#define tePciSc_Pentium   0x02
 
#define tePciSc_Alpha   0x10
 
#define tePciSc_PowerPC   0x20
 
#define tePciSc_MIPS   0x30
 
#define tePciSc_CoProcessor   0x40
 
#define tePciBc_SerialBusController   0x0c
 
#define tePciSc_FireWire   0x00
 
#define tePciSc_Ieee1394   0x00
 
#define tePciSc_AccessBus   0x01
 
#define tePciSc_Ssa   0x02
 
#define tePciSc_Usb   0x03
 
#define tePciSc_FibreChannel   0x04
 
#define tePciSc_SystemManagementBus   0x05
 
#define tePciSc_InfiniBand   0x06
 
#define tePciSc_Ipmi   0x07
 
#define tePciSc_SercosInterfaceStandard   0x08
 
#define tePciSc_CanBus   0x09
 
#define tePciBc_WirelessController   0x0d
 
#define tePciSc_IrdaCompatibleController   0x00
 
#define tePciSc_ConsumerIrController   0x01
 
#define tePciSc_RfController   0x10
 
#define tePciSc_BluetoothController   0x11
 
#define tePciSc_BroadbandController   0x12
 
#define tePciSc_Ethernet802_11aController   0x20
 
#define tePciSc_Ethernet802_11bController   0x20
 
#define tePciSc_OtherWirelessController   0x80
 
#define tePciBc_IntellegentIoController   0x0e
 
#define tePciBc_SatelliteCommunicationController   0x0f
 
#define tePciSc_Tv   0x01
 
#define tePciSc_Audio   0x02
 
#define tePciSc_Voice   0x03
 
#define tePciSc_Data   0x04
 
#define tePciBc_EncryptionDecryptionController   0x10
 
#define tePciSc_NetworkAndComputingCrypto   0x00
 
#define tePciSc_EntertainmentCrypto   0x10
 
#define tePciSc_OtherCrypto   0x80
 
#define tePciBc_DataAcquisitionAndSignalProcessingController   0x11
 
#define tePciSc_DpioModules   0x00
 
#define tePciSc_PerformanceCounters   0x01
 
#define tePciSc_CommSyncPlusTimeAndFreq   0x10
 
#define tePciSc_ManagementCard   0x20
 
#define tePciSc_OtherDataAcquisitionSignalProcessingController   0x80
 
#define tePciBc_Unknown   0xff
 
#define TEMU_PCI_BRIDGE_IFACE_TYPE   "temu::PCIBridgeIface"
 
#define TEMU_PCI_DEVICE_IFACE_TYPE   "temu::PCIDeviceIface"
 

Macro Definition Documentation

#define TEMU_PCI_BRIDGE_IFACE_TYPE   "temu::PCIBridgeIface"

Definition at line 199 of file PCI.h.

#define TEMU_PCI_DEVICE_IFACE_TYPE   "temu::PCIDeviceIface"

Definition at line 211 of file PCI.h.

#define tePciBc_BaseSystemPeripheral   0x08

Definition at line 84 of file PCI.h.

#define tePciBc_BridgeDevice   0x06

Definition at line 61 of file PCI.h.

#define tePciBc_DataAcquisitionAndSignalProcessingController   0x11

Definition at line 150 of file PCI.h.

#define tePciBc_DisplayController   0x03

Definition at line 44 of file PCI.h.

#define tePciBc_DockingStation   0x0a

Definition at line 101 of file PCI.h.

#define tePciBc_EncryptionDecryptionController   0x10

Definition at line 145 of file PCI.h.

#define tePciBc_InputDevice   0x09

Definition at line 93 of file PCI.h.

#define tePciBc_IntellegentIoController   0x0e

Definition at line 137 of file PCI.h.

#define tePciBc_MassStorageController   0x01

Definition at line 23 of file PCI.h.

#define tePciBc_MemoryController   0x05

Definition at line 56 of file PCI.h.

#define tePciBc_MultimedaiDevice   0x04

Definition at line 50 of file PCI.h.

#define tePciBc_NetworkController   0x02

Definition at line 34 of file PCI.h.

#define tePciBc_Pre   0x00

Definition at line 19 of file PCI.h.

#define tePciBc_Processor   0x0b

Definition at line 105 of file PCI.h.

#define tePciBc_SatelliteCommunicationController   0x0f

Definition at line 139 of file PCI.h.

#define tePciBc_SerialBusController   0x0c

Definition at line 114 of file PCI.h.

#define tePciBc_SimpleCommunicationController   0x07

Definition at line 75 of file PCI.h.

#define tePciBc_Unknown   0xff

Definition at line 157 of file PCI.h.

#define tePciBc_WirelessController   0x0d

Definition at line 127 of file PCI.h.

#define tePciSc_386   0x00

Definition at line 106 of file PCI.h.

#define tePciSc_3dController   0x02

Definition at line 47 of file PCI.h.

#define tePciSc_486   0x01

Definition at line 107 of file PCI.h.

#define tePciSc_AccessBus   0x01

Definition at line 117 of file PCI.h.

#define tePciSc_Alpha   0x10

Definition at line 109 of file PCI.h.

#define tePciSc_Any   0x00

Definition at line 20 of file PCI.h.

#define tePciSc_AtaController   0x05

Definition at line 29 of file PCI.h.

#define tePciSc_AtmController   0x03

Definition at line 38 of file PCI.h.

#define tePciSc_Audio   0x02

Definition at line 141 of file PCI.h.

#define tePciSc_AudioDevice   0x01

Definition at line 52 of file PCI.h.

#define tePciSc_BluetoothController   0x11

Definition at line 131 of file PCI.h.

#define tePciSc_BroadbandController   0x12

Definition at line 132 of file PCI.h.

#define tePciSc_CanBus   0x09

Definition at line 125 of file PCI.h.

#define tePciSc_CardBusBridge   0x07

Definition at line 69 of file PCI.h.

#define tePciSc_CommSyncPlusTimeAndFreq   0x10

Definition at line 153 of file PCI.h.

#define tePciSc_ComptuterTelephonyDevice   0x02

Definition at line 53 of file PCI.h.

#define tePciSc_ConsumerIrController   0x01

Definition at line 129 of file PCI.h.

#define tePciSc_CoProcessor   0x40

Definition at line 112 of file PCI.h.

#define tePciSc_Data   0x04

Definition at line 143 of file PCI.h.

#define tePciSc_Digitizer   0x01

Definition at line 95 of file PCI.h.

#define tePciSc_DmaController   0x01

Definition at line 86 of file PCI.h.

#define tePciSc_DpioModules   0x00

Definition at line 151 of file PCI.h.

#define tePciSc_EisaBridge   0x02

Definition at line 64 of file PCI.h.

#define tePciSc_EntertainmentCrypto   0x10

Definition at line 147 of file PCI.h.

#define tePciSc_Ethernet802_11aController   0x20

Definition at line 133 of file PCI.h.

#define tePciSc_Ethernet802_11bController   0x20

Definition at line 134 of file PCI.h.

#define tePciSc_EthernetController   0x00

Definition at line 35 of file PCI.h.

#define tePciSc_FddiController   0x02

Definition at line 37 of file PCI.h.

#define tePciSc_FibreChannel   0x04

Definition at line 120 of file PCI.h.

#define tePciSc_FireWire   0x00

Definition at line 115 of file PCI.h.

#define tePciSc_Flash   0x01

Definition at line 58 of file PCI.h.

#define tePciSc_FloppyDiskController   0x02

Definition at line 26 of file PCI.h.

#define tePciSc_GameportController   0x04

Definition at line 98 of file PCI.h.

#define tePciSc_GenericDockingStation   0x00

Definition at line 102 of file PCI.h.

#define tePciSc_GpibController   0x04

Definition at line 80 of file PCI.h.

#define tePciSc_HostBridge   0x00

Definition at line 62 of file PCI.h.

#define tePciSc_IdeController   0x01

Definition at line 25 of file PCI.h.

#define tePciSc_Ieee1394   0x00

Definition at line 116 of file PCI.h.

#define tePciSc_InfiniBand   0x06

Definition at line 122 of file PCI.h.

#define tePciSc_InfiniBandToPciHostBridge   0x0a

Definition at line 72 of file PCI.h.

#define tePciSc_IpiBusController   0x03

Definition at line 27 of file PCI.h.

#define tePciSc_Ipmi   0x07

Definition at line 123 of file PCI.h.

#define tePciSc_IrdaCompatibleController   0x00

Definition at line 128 of file PCI.h.

#define tePciSc_IsaBridge   0x01

Definition at line 63 of file PCI.h.

#define tePciSc_IsdnController   0x04

Definition at line 39 of file PCI.h.

#define tePciSc_KeyboardController   0x00

Definition at line 94 of file PCI.h.

#define tePciSc_ManagementCard   0x20

Definition at line 154 of file PCI.h.

#define tePciSc_McaBridge   0x03

Definition at line 65 of file PCI.h.

#define tePciSc_MIPS   0x30

Definition at line 111 of file PCI.h.

#define tePciSc_Modem   0x03

Definition at line 79 of file PCI.h.

#define tePciSc_MouseController   0x02

Definition at line 96 of file PCI.h.

#define tePciSc_MultiPortSerialController   0x02

Definition at line 78 of file PCI.h.

#define tePciSc_NetworkAndComputingCrypto   0x00

Definition at line 146 of file PCI.h.

#define tePciSc_NuBusBridge   0x06

Definition at line 68 of file PCI.h.

#define tePciSc_OtherBridgeDevice   0x80

Definition at line 73 of file PCI.h.

#define tePciSc_OtherCommunicationsDevice   0x80

Definition at line 82 of file PCI.h.

#define tePciSc_OtherCrypto   0x80

Definition at line 148 of file PCI.h.

#define tePciSc_OtherDataAcquisitionSignalProcessingController   0x80

Definition at line 155 of file PCI.h.

#define tePciSc_OtherDisplayController   0x80

Definition at line 48 of file PCI.h.

#define tePciSc_OtherDockingStation   0x80

Definition at line 103 of file PCI.h.

#define tePciSc_OtherInputController   0x80

Definition at line 99 of file PCI.h.

#define tePciSc_OtherMassStorageController   0x80

Definition at line 32 of file PCI.h.

#define tePciSc_OtherMemoryController   0x80

Definition at line 59 of file PCI.h.

#define tePciSc_OtherMultimediaDevice   0x80

Definition at line 54 of file PCI.h.

#define tePciSc_OtherNetworkController   0x80

Definition at line 42 of file PCI.h.

#define tePciSc_OtherSystemPeripheral   0x80

Definition at line 91 of file PCI.h.

#define tePciSc_OtherWirelessController   0x80

Definition at line 135 of file PCI.h.

#define tePciSc_ParallelPort   0x01

Definition at line 77 of file PCI.h.

#define tePciSc_PciHotPlugController   0x04

Definition at line 89 of file PCI.h.

#define tePciSc_PciToPciBridge   0x04

Definition at line 66 of file PCI.h.

#define tePciSc_PcmciaBridge   0x05

Definition at line 67 of file PCI.h.

#define tePciSc_Pentium   0x02

Definition at line 108 of file PCI.h.

#define tePciSc_PerformanceCounters   0x01

Definition at line 152 of file PCI.h.

#define tePciSc_Pic   0x00

Definition at line 85 of file PCI.h.

#define tePciSc_PicmgMultiComputing   0x06

Definition at line 41 of file PCI.h.

#define tePciSc_PowerPC   0x20

Definition at line 110 of file PCI.h.

#define tePciSc_RaceWayBridge   0x08

Definition at line 70 of file PCI.h.

#define tePciSc_RaidController   0x04

Definition at line 28 of file PCI.h.

#define tePciSc_RAM   0x00

Definition at line 57 of file PCI.h.

#define tePciSc_RfController   0x10

Definition at line 130 of file PCI.h.

#define tePciSc_RtcController   0x03

Definition at line 88 of file PCI.h.

#define tePciSc_SasController   0x07

Definition at line 31 of file PCI.h.

#define tePciSc_SataController   0x06

Definition at line 30 of file PCI.h.

#define tePciSc_ScannerController   0x03

Definition at line 97 of file PCI.h.

#define tePciSc_ScsiBusController   0x00

Definition at line 24 of file PCI.h.

#define tePciSc_SdHostController   0x05

Definition at line 90 of file PCI.h.

#define tePciSc_SemiTransparentPciToPciBridge   0x09

Definition at line 71 of file PCI.h.

#define tePciSc_SercosInterfaceStandard   0x08

Definition at line 124 of file PCI.h.

#define tePciSc_SerialController   0x00

Definition at line 76 of file PCI.h.

#define tePciSc_SmartCard   0x05

Definition at line 81 of file PCI.h.

#define tePciSc_Ssa   0x02

Definition at line 118 of file PCI.h.

#define tePciSc_SystemManagementBus   0x05

Definition at line 121 of file PCI.h.

#define tePciSc_SystemTimer   0x02

Definition at line 87 of file PCI.h.

#define tePciSc_TokenRingController   0x01

Definition at line 36 of file PCI.h.

#define tePciSc_Tv   0x01

Definition at line 140 of file PCI.h.

#define tePciSc_Usb   0x03

Definition at line 119 of file PCI.h.

#define tePciSc_Vga   0x01

Definition at line 21 of file PCI.h.

#define tePciSc_VgaController   0x00

Definition at line 45 of file PCI.h.

#define tePciSc_VideoDevice   0x00

Definition at line 51 of file PCI.h.

#define tePciSc_Voice   0x03

Definition at line 142 of file PCI.h.

#define tePciSc_WorldFipController   0x05

Definition at line 40 of file PCI.h.

#define tePciSc_XgaController   0x01

Definition at line 46 of file PCI.h.