TianoCore EDK2 master
Loading...
Searching...
No Matches
NonDiscoverableDevice.h
Go to the documentation of this file.
1
10#ifndef __NON_DISCOVERABLE_DEVICE_H__
11#define __NON_DISCOVERABLE_DEVICE_H__
12
14
15#define EDKII_NON_DISCOVERABLE_DEVICE_PROTOCOL_GUID \
16 { 0x0d51905b, 0xb77e, 0x452a, {0xa2, 0xc0, 0xec, 0xa0, 0xcc, 0x8d, 0x51, 0x4a } }
17
18//
19// Protocol interface structure
20//
22
23//
24// Data Types
25//
26typedef enum {
27 NonDiscoverableDeviceDmaTypeCoherent,
28 NonDiscoverableDeviceDmaTypeNonCoherent,
29 NonDiscoverableDeviceDmaTypeMax,
30} NON_DISCOVERABLE_DEVICE_DMA_TYPE;
31
32//
33// Function Prototypes
34//
35
44typedef
48 );
49
51 //
52 // The type of device
53 //
54 CONST EFI_GUID *Type;
55 //
56 // Whether this device is DMA coherent
57 //
58 NON_DISCOVERABLE_DEVICE_DMA_TYPE DmaType;
59 //
60 // Initialization function for the device
61 //
63 //
64 // The MMIO and I/O regions owned by the device
65 //
67};
68
69extern EFI_GUID gEdkiiNonDiscoverableDeviceProtocolGuid;
70
71#endif
PACKED struct @89 EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
EFI_STATUS(EFIAPI * NON_DISCOVERABLE_DEVICE_INIT)(IN NON_DISCOVERABLE_DEVICE *This)
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
Definition: Base.h:213