OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
OcDeviceMiscLib.h
Go to the documentation of this file.
1
15#ifndef OC_DEVICE_MISC_LIB_H
16#define OC_DEVICE_MISC_LIB_H
17
18#include <Uefi.h>
19#include <Library/OcCpuLib.h>
20#include <Library/OcFileLib.h>
21#include <Library/OcStringLib.h>
22
26EFI_STATUS
28 VOID
29 );
30
34VOID
36 VOID
37 );
38
42VOID
44 VOID
45 );
46
55EFI_STATUS
57 IN OC_CPU_INFO *CpuInfo,
58 IN EFI_FILE_PROTOCOL *Root
59 );
60
68EFI_STATUS
70 IN EFI_FILE_PROTOCOL *Root
71 );
72
83EFI_STATUS
85 IN BOOLEAN Forge,
86 IN BOOLEAN Trash
87 );
88
94EFI_STATUS
96 VOID
97 );
98
127
140EFI_STATUS
143 IN BOOLEAN Increase,
144 IN BOOLEAN UseRbIo
145 );
146
147//
148// There is no existing structure for this in EDK II.
149// MdeModulePkg/.../EhciReg.h struct USB_CLASSC contains exactly the same info, but is not
150// intended for general purpose use.
151// BaseTools/.../pci22.h struct PCI_DEVICE_INDEPENDENT_REGION contains the same info, but just
152// as a UINT8[3] array, and in general where just these three bytes are read, they are either read
153// into USB_CLASSC or into a UINT8[3] array (search EDK II for PCI_CLASSCODE_OFFSET for examples).
154//
155#pragma pack(1)
156typedef struct {
159 UINT8 BaseCode;
161#pragma pack()
162
163#endif // OC_DEVICE_MISC_LIB_H
DMG_SIZE_DEVICE_PATH Size
EFI_STATUS OcForgeUefiSupport(IN BOOLEAN Forge, IN BOOLEAN Trash)
Definition ForgeUefi.c:81
VOID ResetAudioTrafficClass(VOID)
EFI_STATUS OcPciInfoDump(IN EFI_FILE_PROTOCOL *Root)
VOID ActivateHpetSupport(VOID)
PCI_BAR_SIZE
@ PciBarTotal
@ PciBar128MB
@ PciBarMacMax
@ PciBar8GB
@ PciBar512MB
@ PciBar32GB
@ PciBar8MB
@ PciBar4MB
@ PciBar16GB
@ PciBar128GB
@ PciBar2GB
@ PciBar16MB
@ PciBar32MB
@ PciBar256MB
@ PciBar64GB
@ PciBar512GB
@ PciBar1MB
@ PciBar4GB
@ PciBar256GB
@ PciBar1GB
@ PciBar2MB
@ PciBar64MB
EFI_STATUS ReleaseUsbOwnership(VOID)
EFI_STATUS ResizeGpuBars(IN PCI_BAR_SIZE Size, IN BOOLEAN Increase, IN BOOLEAN UseRbIo)
EFI_STATUS OcReloadOptionRoms(VOID)
EFI_STATUS OcCpuInfoDump(IN OC_CPU_INFO *CpuInfo, IN EFI_FILE_PROTOCOL *Root)
Definition CpuInfoDump.c:23