TianoCore EDK2
master
Loading...
Searching...
No Matches
PlatformConsole.h
Go to the documentation of this file.
1
8
#ifndef PLATFORM_CONSOLE_H_
9
#define PLATFORM_CONSOLE_H_
10
11
#include <
PiDxe.h
>
12
#include <
IndustryStandard/Pci.h
>
13
#include <
Library/DebugLib.h
>
14
#include <
Library/BaseMemoryLib.h
>
15
#include <
Library/UefiBootServicesTableLib.h
>
16
#include <
Library/MemoryAllocationLib.h
>
17
#include <
Library/BaseLib.h
>
18
#include <
Library/PcdLib.h
>
19
#include <
Library/UefiLib.h
>
20
#include <
Library/DevicePathLib.h
>
21
#include <
Protocol/PciIo.h
>
22
23
#define IS_PCI_ISA_PDECODE(_p) IS_CLASS3 (_p, PCI_CLASS_BRIDGE, PCI_CLASS_BRIDGE_ISA_PDECODE, 0)
24
25
//
26
// Type definitions
27
//
28
29
//
30
// Platform Root Bridge
31
//
32
typedef
struct
{
33
ACPI_HID_DEVICE_PATH
PciRootBridge;
34
EFI_DEVICE_PATH_PROTOCOL
End;
35
}
PLATFORM_ROOT_BRIDGE_DEVICE_PATH
;
36
37
typedef
38
EFI_STATUS
39
(EFIAPI *SIMPLE_PROTOCOL_INSTANCE_CALLBACK)(
40
IN
EFI_HANDLE
Handle,
41
IN
VOID *Instance
42
);
43
49
typedef
50
EFI_STATUS
51
(EFIAPI *
VISIT_PCI_INSTANCE_CALLBACK
)(
52
IN
EFI_HANDLE
Handle,
53
IN
EFI_PCI_IO_PROTOCOL
*PciIo,
54
IN
PCI_TYPE00
*Pci
55
);
56
62
VOID
63
EFIAPI
64
PlatformConsoleInit
(
65
VOID
66
);
67
68
#endif
BaseLib.h
BaseMemoryLib.h
DevicePathLib.h
IN
#define IN
Definition:
Base.h:279
Pci.h
DebugLib.h
PciIo.h
MemoryAllocationLib.h
PcdLib.h
PiDxe.h
PlatformConsoleInit
VOID EFIAPI PlatformConsoleInit(VOID)
Definition:
PlatformConsole.c:466
VISIT_PCI_INSTANCE_CALLBACK
EFI_STATUS(EFIAPI * VISIT_PCI_INSTANCE_CALLBACK)(IN EFI_HANDLE Handle, IN EFI_PCI_IO_PROTOCOL *PciIo, IN PCI_TYPE00 *Pci)
Definition:
PlatformConsole.h:51
EFI_STATUS
RETURN_STATUS EFI_STATUS
Definition:
UefiBaseType.h:29
EFI_HANDLE
VOID * EFI_HANDLE
Definition:
UefiBaseType.h:33
UefiBootServicesTableLib.h
UefiLib.h
_EFI_PCI_IO_PROTOCOL
Definition:
PciIo.h:516
ACPI_HID_DEVICE_PATH
Definition:
DevicePath.h:196
EFI_DEVICE_PATH_PROTOCOL
Definition:
DevicePath.h:43
PCI_TYPE00
Definition:
Pci22.h:65
PLATFORM_ROOT_BRIDGE_DEVICE_PATH
Definition:
PlatformConsole.h:32
UefiPayloadPkg
Library
PlatformBootManagerLib
PlatformConsole.h
Generated on Fri Nov 15 2024 18:01:27 for TianoCore EDK2 by
1.9.6