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>
13#include <Library/DebugLib.h>
17#include <Library/BaseLib.h>
18#include <Library/PcdLib.h>
19#include <Library/UefiLib.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//
32typedef struct {
33 ACPI_HID_DEVICE_PATH PciRootBridge;
36
37typedef
39(EFIAPI *SIMPLE_PROTOCOL_INSTANCE_CALLBACK)(
40 IN EFI_HANDLE Handle,
41 IN VOID *Instance
42 );
43
49typedef
52 IN EFI_HANDLE Handle,
54 IN PCI_TYPE00 *Pci
55 );
56
62VOID
63EFIAPI
65 VOID
66 );
67
68#endif
#define IN
Definition: Base.h:279
VOID EFIAPI PlatformConsoleInit(VOID)
EFI_STATUS(EFIAPI * VISIT_PCI_INSTANCE_CALLBACK)(IN EFI_HANDLE Handle, IN EFI_PCI_IO_PROTOCOL *PciIo, IN PCI_TYPE00 *Pci)
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_HANDLE
Definition: UefiBaseType.h:33