OpenCore
1.0.4
OpenCore Bootloader
|
#include <Uefi.h>
#include <IndustryStandard/Pci.h>
#include <Protocol/PciIo.h>
#include <Library/BaseLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/DebugLib.h>
#include <Library/DevicePathLib.h>
#include <Library/IoLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/OcDeviceMiscLib.h>
#include <Library/PrintLib.h>
#include <Library/UefiBootServicesTableLib.h>
Go to the source code of this file.
Data Structures | |
struct | PCI_CLASS_ENTRY_TAG |
Typedefs | |
typedef struct PCI_CLASS_ENTRY_TAG | PCI_CLASS_ENTRY |
Functions | |
STATIC VOID | GetPciDeviceClassText (IN UINT8 BaseClass, IN UINT8 SubClass, IN UINT8 Interface, OUT CONST CHAR8 **TextBaseClass, OUT CONST CHAR8 **TextSubClass) |
EFI_STATUS | OcPciInfoDump (IN EFI_FILE_PROTOCOL *Root) |
Copyright (C) 2021, PMheart. All rights reserved. Copyright (C) 2021, vit9696. All rights reserved.
All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Definition in file PciInfoDump.c.
typedef struct PCI_CLASS_ENTRY_TAG PCI_CLASS_ENTRY |
STATIC VOID GetPciDeviceClassText | ( | IN UINT8 | BaseClass, |
IN UINT8 | SubClass, | ||
IN UINT8 | Interface, | ||
OUT CONST CHAR8 ** | TextBaseClass, | ||
OUT CONST CHAR8 ** | TextSubClass ) |
Definition at line 1336 of file PciInfoDump.c.
EFI_STATUS OcPciInfoDump | ( | IN EFI_FILE_PROTOCOL * | Root | ) |
Dump PCI info to the specified directory.
[in] | Root | Directory to write PCI info. |
EFI_SUCCESS | on success. |
Definition at line 1434 of file PciInfoDump.c.
STATIC CONST PCI_CLASS_ENTRY mPciClass00PreClassCode[] |
Definition at line 45 of file PciInfoDump.c.
STATIC CONST PCI_CLASS_ENTRY mPciClass01MassStorage[] |
Definition at line 192 of file PciInfoDump.c.
STATIC CONST PCI_CLASS_ENTRY mPciClass01MassStorage00[] |
Definition at line 68 of file PciInfoDump.c.
STATIC CONST PCI_CLASS_ENTRY mPciClass01MassStorage05[] |
Definition at line 102 of file PciInfoDump.c.
STATIC CONST PCI_CLASS_ENTRY mPciClass01MassStorage06[] |
Definition at line 121 of file PciInfoDump.c.
STATIC CONST PCI_CLASS_ENTRY mPciClass01MassStorage08[] |
Definition at line 145 of file PciInfoDump.c.
STATIC CONST PCI_CLASS_ENTRY mPciClass01MassStorage09[] |
Definition at line 174 of file PciInfoDump.c.
STATIC CONST PCI_CLASS_ENTRY mPciClass02Network[] |
Definition at line 258 of file PciInfoDump.c.
STATIC CONST PCI_CLASS_ENTRY mPciClass03Display[] |
Definition at line 339 of file PciInfoDump.c.
STATIC CONST PCI_CLASS_ENTRY mPciClass03Display00[] |
Definition at line 321 of file PciInfoDump.c.
STATIC CONST PCI_CLASS_ENTRY mPciClass04Multimedia[] |
Definition at line 370 of file PciInfoDump.c.
STATIC CONST PCI_CLASS_ENTRY mPciClass05Memory[] |
Definition at line 406 of file PciInfoDump.c.
STATIC CONST PCI_CLASS_ENTRY mPciClass06Bridge[] |
Definition at line 432 of file PciInfoDump.c.
STATIC CONST PCI_CLASS_ENTRY mPciClass07SimpleComms[] |
Definition at line 616 of file PciInfoDump.c.
STATIC CONST PCI_CLASS_ENTRY mPciClass07SimpleComms00[] |
Definition at line 505 of file PciInfoDump.c.
STATIC CONST PCI_CLASS_ENTRY mPciClass07SimpleComms01[] |
Definition at line 549 of file PciInfoDump.c.
STATIC CONST PCI_CLASS_ENTRY mPciClass07SimpleComms03[] |
Definition at line 583 of file PciInfoDump.c.
STATIC CONST PCI_CLASS_ENTRY mPciClass08SystemPerip[] |
Definition at line 769 of file PciInfoDump.c.
STATIC CONST PCI_CLASS_ENTRY mPciClass08SystemPerip00[] |
Definition at line 664 of file PciInfoDump.c.
STATIC CONST PCI_CLASS_ENTRY mPciClass08SystemPerip01[] |
Definition at line 698 of file PciInfoDump.c.
STATIC CONST PCI_CLASS_ENTRY mPciClass08SystemPerip02[] |
Definition at line 722 of file PciInfoDump.c.
STATIC CONST PCI_CLASS_ENTRY mPciClass08SystemPerip03[] |
Definition at line 751 of file PciInfoDump.c.
STATIC CONST PCI_CLASS_ENTRY mPciClass09Input[] |
Definition at line 825 of file PciInfoDump.c.
STATIC CONST PCI_CLASS_ENTRY mPciClass0ADocking[] |
Definition at line 866 of file PciInfoDump.c.
STATIC CONST PCI_CLASS_ENTRY mPciClass0BProcessor[] |
Definition at line 887 of file PciInfoDump.c.
STATIC CONST PCI_CLASS_ENTRY mPciClass0CSerialBus[] |
Definition at line 1002 of file PciInfoDump.c.
STATIC CONST PCI_CLASS_ENTRY mPciClass0CSerialBus00[] |
Definition at line 940 of file PciInfoDump.c.
STATIC CONST PCI_CLASS_ENTRY mPciClass0CSerialBus03[] |
Definition at line 959 of file PciInfoDump.c.
STATIC CONST PCI_CLASS_ENTRY mPciClass0DWireless[] |
Definition at line 1073 of file PciInfoDump.c.
STATIC CONST PCI_CLASS_ENTRY mPciClass0FSatellite[] |
Definition at line 1134 of file PciInfoDump.c.
STATIC CONST PCI_CLASS_ENTRY mPciClass10EncryptionDecryption[] |
Definition at line 1170 of file PciInfoDump.c.
STATIC CONST PCI_CLASS_ENTRY mPciClass11DataAcquisition[] |
Definition at line 1196 of file PciInfoDump.c.
STATIC CONST PCI_CLASS_ENTRY mPciClasses[] |
Definition at line 1232 of file PciInfoDump.c.