DSFResourceType Enumeration
The DSFResourceType enumeration contains values that specify hardware resource types.
Syntax
typedef enum DSFResourceType {
DSFResourceTypeNull = 0,
DSFResourceTypePort = 1,
DSFResourceTypeInterrupt = 2,
DSFResourceTypeMemory = 3,
DSFResourceTypeDma = 4,
DSFResourceTypeDeviceSpecific = 5,
DSFResourceTypeBusNumber = 6,
DSFResourceTypeNonArbitrated = 128,
DSFResourceTypeConfigData = 128,
DSFResourceTypeDevicePrivate = 129,
DSFResourceTypePcCardConfig = 130,
DSFResourceTypeMfCardConfig = 131,
DSFResourceTypeConfigurationSpace = 132,
DSFResourceTypeAcpi = 133,
DSFResourceTypePci = 134
} DSFResourceType;
Constants
DSFResourceTypeNull
A value that indicates that no resource type is specified.DSFResourceTypePort
A value that indicates that the hardware resource is a port.DSFResourceTypeInterrupt
A value that indicates that the hardware resource is an interrupt.DSFResourceTypeMemory
A value that indicates that the hardware resource is memory.DSFResourceTypeDma
A value that indicates that the hardware resource is DMA hardware.DSFResourceTypeDeviceSpecific
A value that indicates that the hardware resource is specific to the simulated device.DSFResourceTypeBusNumber
A value that indicates that the hardware resource is the bus number.DSFResourceTypeNonArbitrated
A value that indicates that the hardware resource cannot be determined.DSFResourceTypeConfigData
A duplicate value of the DSFResourceTypeNonArbitrated value.DSFResourceTypeDevicePrivate
A value that indicates a resource that is private for the device.DSFResourceTypePcCardConfig
A value that indicates that the hardware resource is a PC card configuration resource.DSFResourceTypeMfCardConfig
A value that indicates that the hardware resource is a MF card configuration resource.DSFResourceTypeConfigurationSpace
A value that indicates that the hardware resource is a general configuration space resource.DSFResourceTypeAcpi
A value that indicates that the hardware resource is an ACPI resource.DSFResourceTypePci
A value that indicates that the hardware resource is a PCI configuration space resource.
Remarks
A DSFResourceType enumeration value is specified in the IDSFDevice::Hrm, IDSFDevice::StartFaultInjection, and IDSFDevice::StopFaultInjection methods to indicate the resource type for which to retrieve a hardware redirection module (HRM) and to begin and to stop injecting faults.
Requirements
Version |
|
Header |
Dsfif.h (include Dsfif.h) |
See Also
IDSFDevice::StartFaultInjection
IDSFDevice::StopFaultInjection
Send comments about this topic to Microsoft
Build date: 9/21/2010