TEMU  4.4
The Terma Emulator
PCIExpress.h File Reference
#include <assert.h>
#include <stddef.h>
#include <stdint.h>
#include "temu-c/Bus/PCI.h"
#include "temu-c/Bus/PCIDefines.h"
#include "temu-c/Memory/Memory.h"
#include "temu-c/Support/Logging.h"
#include "temu-c/Support/Objsys.h"
Include dependency graph for PCIExpress.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  temu_PCIExpressBusIface
 
struct  temu_PCIExpressBridgeIface
 
struct  temu_PCIExpressDevice
 
struct  temu_PCIExpressBus
 
struct  temu_PCIExpressBridge
 

Macros

#define TEMU_PCIe_BUS_IFACE_TYPE   "temu::PCIExpressBusIface"
 
#define TEMU_PCIe_BRIDGE_IFACE_TYPE   "temu::PCIExpressBridgeIface"
 

Typedefs

typedef struct temu_PCIExpressBus temu_PCIExpressBus
 
typedef struct temu_PCIExpressBridge temu_PCIExpressBridge
 

Enumerations

enum  temu_PCIeMessageTypes {
  tePMT_AssertIntA = 32, tePMT_AssertIntB = 33, tePMT_AssertIntC = 34, tePMT_AssertIntD = 35,
  tePMT_DeassertIntA = 36, tePMT_DeassertIntB = 37, tePMT_DeassertIntC = 38, tePMT_DeassertIntD = 39,
  tePMT_PmActiveStateNak = 20, tePMT_PmPme = 24, tePMT_PmeTurnOff = 25, tePMT_PmToAck = 27,
  tePMT_ErrCor = 48, tePMT_ErrNonFatal = 49, tePMT_ErrFatal = 51, tePMT_Unlock = 0,
  tePMT_SetSlotPowerLimit = 80, tePMT_VendorDefinedType0 = 126, tePMT_VendorDefinedType1 = 127, tePMT_AttentionIndicatorOn = 65,
  tePMT_AttentionIndicatorBlink = 67, tePMT_AttentionIndicatorOff = 64, tePMT_PowerIndicatorOn = 69, tePMT_PowerIndicatorBlink = 71,
  tePMT_PowerIndicatorOff = 68, tePMT_AttentionButtonPressed = 72
}
 

Macro Definition Documentation

◆ TEMU_PCIe_BRIDGE_IFACE_TYPE

#define TEMU_PCIe_BRIDGE_IFACE_TYPE   "temu::PCIExpressBridgeIface"

◆ TEMU_PCIe_BUS_IFACE_TYPE

#define TEMU_PCIe_BUS_IFACE_TYPE   "temu::PCIExpressBusIface"

Typedef Documentation

◆ temu_PCIExpressBridge

◆ temu_PCIExpressBus

Enumeration Type Documentation

◆ temu_PCIeMessageTypes

temu_PCIeMessageTypes: PCI Express Messages name = code

Enumerator
tePMT_AssertIntA 
tePMT_AssertIntB 
tePMT_AssertIntC 
tePMT_AssertIntD 
tePMT_DeassertIntA 
tePMT_DeassertIntB 
tePMT_DeassertIntC 
tePMT_DeassertIntD 
tePMT_PmActiveStateNak 
tePMT_PmPme 
tePMT_PmeTurnOff 
tePMT_PmToAck 
tePMT_ErrCor 
tePMT_ErrNonFatal 
tePMT_ErrFatal 
tePMT_Unlock 
tePMT_SetSlotPowerLimit 
tePMT_VendorDefinedType0 
tePMT_VendorDefinedType1 
tePMT_AttentionIndicatorOn 
tePMT_AttentionIndicatorBlink 
tePMT_AttentionIndicatorOff 
tePMT_PowerIndicatorOn 
tePMT_PowerIndicatorBlink 
tePMT_PowerIndicatorOff 
tePMT_AttentionButtonPressed