OpenCore
1.0.4
OpenCore Bootloader
|
Go to the source code of this file.
Macros | |
#define | PCI_BRIDGE_RCBA_OFFSET 0xF0U |
#define | PCI_BRIDGE_RCBA_ADDRESS_MASK 0xFFFFC000U |
#define | PCI_BRIDGE_RCBA_ACCESS_ENABLE BIT0 |
#define | RCBA_HTPC_REGISTER 0x3404U |
#define | RCBA_HTPC_HPET_ENABLE BIT7 |
#define | XHC_HCCPARAMS_OFFSET 0x10 |
#define | XHC_NEXT_CAPABILITY_MASK 0xFF00 |
#define | XHC_CAPABILITY_ID_MASK 0xFF |
#define | XHC_USBCMD_OFFSET 0x0 |
USB Command Register Offset. | |
#define | XHC_USBSTS_OFFSET 0x4 |
USB Status Register Offset. | |
#define | XHC_POLL_DELAY 1000 |
#define | EHC_BAR_INDEX 0x0 |
#define | EHC_HCCPARAMS_OFFSET 0x8 |
#define | EHC_USBCMD_OFFSET 0x0 |
USB Command Register Offset. | |
#define | EHC_USBSTS_OFFSET 0x4 |
USB Status Register Offset. | |
#define | EHC_USBINT_OFFSET 0x8 |
USB Interrupt Enable Register. | |
#define | PCI_CLASS_MEDIA_HDA 0x03 |
#define | PCI_MEDIA_TCSEL_OFFSET 0x44U |
#define | TCSEL_CLASS_MASK 0x7U |
#define | PCI_BAR_CAP_1MB BIT0 |
#define | PCI_BAR_CAP_2MB BIT1 |
#define | PCI_BAR_CAP_4MB BIT2 |
#define | PCI_BAR_CAP_8MB BIT3 |
#define | PCI_BAR_CAP_16MB BIT4 |
#define | PCI_BAR_CAP_32MB BIT5 |
#define | PCI_BAR_CAP_64MB BIT6 |
#define | PCI_BAR_CAP_128MB BIT7 |
#define | PCI_BAR_CAP_256MB BIT8 |
#define | PCI_BAR_CAP_512MB BIT9 |
#define | PCI_BAR_CAP_1GB BIT10 |
#define | PCI_BAR_CAP_2GB BIT11 |
#define | PCI_BAR_CAP_4GB BIT12 |
#define | PCI_BAR_CAP_8GB BIT13 |
#define | PCI_BAR_CAP_16GB BIT14 |
#define | PCI_BAR_CAP_32GB BIT15 |
#define | PCI_BAR_CAP_64GB BIT16 |
#define | PCI_BAR_CAP_128GB BIT17 |
#define | PCI_BAR_CAP_256GB BIT18 |
#define | PCI_BAR_CAP_512GB BIT19 |
#define | PCI_BAR_CAP_LIMIT(BarSize) |
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 PciExtInternal.h.
#define EHC_BAR_INDEX 0x0 |
EHCI registers.
Definition at line 56 of file PciExtInternal.h.
#define EHC_HCCPARAMS_OFFSET 0x8 |
Definition at line 57 of file PciExtInternal.h.
#define EHC_USBCMD_OFFSET 0x0 |
USB Command Register Offset.
Definition at line 58 of file PciExtInternal.h.
#define EHC_USBINT_OFFSET 0x8 |
USB Interrupt Enable Register.
Definition at line 60 of file PciExtInternal.h.
#define EHC_USBSTS_OFFSET 0x4 |
USB Status Register Offset.
Definition at line 59 of file PciExtInternal.h.
#define PCI_BAR_CAP_128GB BIT17 |
Definition at line 101 of file PciExtInternal.h.
#define PCI_BAR_CAP_128MB BIT7 |
Definition at line 91 of file PciExtInternal.h.
#define PCI_BAR_CAP_16GB BIT14 |
Definition at line 98 of file PciExtInternal.h.
#define PCI_BAR_CAP_16MB BIT4 |
Definition at line 88 of file PciExtInternal.h.
#define PCI_BAR_CAP_1GB BIT10 |
Definition at line 94 of file PciExtInternal.h.
#define PCI_BAR_CAP_1MB BIT0 |
When the bit of Capabilities Set, it indicates that the Function supports operating with the BAR sized to (2^Bit) MB. Example:
Definition at line 84 of file PciExtInternal.h.
#define PCI_BAR_CAP_256GB BIT18 |
Definition at line 102 of file PciExtInternal.h.
#define PCI_BAR_CAP_256MB BIT8 |
Definition at line 92 of file PciExtInternal.h.
#define PCI_BAR_CAP_2GB BIT11 |
Definition at line 95 of file PciExtInternal.h.
#define PCI_BAR_CAP_2MB BIT1 |
Definition at line 85 of file PciExtInternal.h.
#define PCI_BAR_CAP_32GB BIT15 |
Definition at line 99 of file PciExtInternal.h.
#define PCI_BAR_CAP_32MB BIT5 |
Definition at line 89 of file PciExtInternal.h.
#define PCI_BAR_CAP_4GB BIT12 |
Definition at line 96 of file PciExtInternal.h.
#define PCI_BAR_CAP_4MB BIT2 |
Definition at line 86 of file PciExtInternal.h.
#define PCI_BAR_CAP_512GB BIT19 |
Definition at line 103 of file PciExtInternal.h.
#define PCI_BAR_CAP_512MB BIT9 |
Definition at line 93 of file PciExtInternal.h.
#define PCI_BAR_CAP_64GB BIT16 |
Definition at line 100 of file PciExtInternal.h.
#define PCI_BAR_CAP_64MB BIT6 |
Definition at line 90 of file PciExtInternal.h.
#define PCI_BAR_CAP_8GB BIT13 |
Definition at line 97 of file PciExtInternal.h.
#define PCI_BAR_CAP_8MB BIT3 |
Definition at line 87 of file PciExtInternal.h.
#define PCI_BAR_CAP_LIMIT | ( | BarSize | ) |
Capability limit mask from BarSize (e.g. PciBar1MB).
Definition at line 108 of file PciExtInternal.h.
#define PCI_BRIDGE_RCBA_ACCESS_ENABLE BIT0 |
Access bit of the Root Complex Base Address register.
Definition at line 31 of file PciExtInternal.h.
#define PCI_BRIDGE_RCBA_ADDRESS_MASK 0xFFFFC000U |
Address bits of the Root Complex Base Address register.
Definition at line 26 of file PciExtInternal.h.
#define PCI_BRIDGE_RCBA_OFFSET 0xF0U |
Offset to Root Complex Base Address for a PCI bridge device.
Definition at line 21 of file PciExtInternal.h.
#define PCI_CLASS_MEDIA_HDA 0x03 |
HDA audio class missing from Pci22.h.
Definition at line 65 of file PciExtInternal.h.
#define PCI_MEDIA_TCSEL_OFFSET 0x44U |
Offset to TCSEL register for a PCI media device.
Definition at line 70 of file PciExtInternal.h.
#define RCBA_HTPC_HPET_ENABLE BIT7 |
HPET enable bit in HTPC.
Definition at line 41 of file PciExtInternal.h.
#define RCBA_HTPC_REGISTER 0x3404U |
HTPC register in RCBA.
Definition at line 36 of file PciExtInternal.h.
#define TCSEL_CLASS_MASK 0x7U |
TCSEL class mask.
Definition at line 75 of file PciExtInternal.h.
#define XHC_CAPABILITY_ID_MASK 0xFF |
Definition at line 48 of file PciExtInternal.h.
#define XHC_HCCPARAMS_OFFSET 0x10 |
XHCI registers.
Definition at line 46 of file PciExtInternal.h.
#define XHC_NEXT_CAPABILITY_MASK 0xFF00 |
Definition at line 47 of file PciExtInternal.h.
#define XHC_POLL_DELAY 1000 |
Definition at line 51 of file PciExtInternal.h.
#define XHC_USBCMD_OFFSET 0x0 |
USB Command Register Offset.
Definition at line 49 of file PciExtInternal.h.
#define XHC_USBSTS_OFFSET 0x4 |
USB Status Register Offset.
Definition at line 50 of file PciExtInternal.h.