Newer
Older
AMI-Aptio-BIOS-Reversed / AmiChipsetModulePkg / Library / AmiCspLib / PciTableInit / PciTableInit.h
@Ajax Dong Ajax Dong 2 days ago 2 KB Restructure the repo
/** @file
  PciTableInit.h -- Header for PciTableInit

Copyright (c) HR650X BIOS Decompilation Project
**/

#ifndef __PCITABLEINIT_H__
#define __PCITABLEINIT_H__

#include "../uefi_headers/Uefi.h"

//
// Function Prototypes
//

EFI_STATUS
EFIAPI
TableInitLoop(
  VOID
);

EFI_STATUS
EFIAPI
PpiNotifyDispatch(
  VOID
);

EFI_STATUS
EFIAPI
PpiInstallDispatch(
  VOID
);

EFI_STATUS
EFIAPI
GetDebugOutputInterface(
  VOID
);

EFI_STATUS
EFIAPI
DebugPrint(
  VOID
);

EFI_STATUS
EFIAPI
IsDebugPrintEnabled(
  VOID
);

EFI_STATUS
EFIAPI
GetPeiServices(
  VOID
);

EFI_STATUS
EFIAPI
ModuleEntryPoint(
  VOID
);

EFI_STATUS
EFIAPI
for EFI_DEBUG_SUPPORT_PPI(
  VOID
);

EFI_STATUS
EFIAPI
gEfiDebugSupportPpiGuid = {(
  VOID
);

EFI_STATUS
EFIAPI
for PciTableInit PPI (produced by this module)(
  VOID
);

EFI_STATUS
EFIAPI
gPciTableInitPpiGuid = {(
  VOID
);

EFI_STATUS
EFIAPI
descriptor for this module(
  VOID
);

EFI_STATUS
EFIAPI
gPciTableInitPpiDescriptor = {(
  VOID
);

EFI_STATUS
EFIAPI
function pointers(
  VOID
);

EFI_STATUS
EFIAPI
= PpiNotifyDispatch  (0xffe30e78)(
  VOID
);

EFI_STATUS
EFIAPI
= PpiInstallDispatch (0xffe30ecf)(
  VOID
);

EFI_STATUS
EFIAPI
are referenced by the PPI descriptor and called by CspLibPei_Init(
  VOID
);

EFI_STATUS
EFIAPI
process the notification and installation dispatch tables.(
  VOID
);

EFI_STATUS
EFIAPI
helper functions (library-level)(
  VOID
);

EFI_STATUS
EFIAPI
copy to handle overlapping regions(
  VOID
);

EFI_STATUS
EFIAPI
= &src[count_1 - 1];(
  VOID
);

EFI_STATUS
EFIAPI
copy: copy aligned dwords first, then residual bytes(
  VOID
);

EFI_STATUS
EFIAPI
= count_1 & 3;(
  VOID
);

EFI_STATUS
EFIAPI
dispatch functions(
  VOID
);

EFI_STATUS
EFIAPI
output support(
  VOID
);

EFI_STATUS
EFIAPI
debug status(
  VOID
);

EFI_STATUS
EFIAPI
current CMOS index, set to 0x4A while preserving NMI mask(
  VOID
);

EFI_STATUS
EFIAPI
= IoRead8 (0x70);(
  VOID
);

EFI_STATUS
EFIAPI
override: check GPIO register bit 1(
  VOID
);

EFI_STATUS
EFIAPI
= (MmioRead8 (0xFDAF0490) & 2) | 1;(
  VOID
);

EFI_STATUS
EFIAPI
Services access(
  VOID
);

EFI_STATUS
EFIAPI
entry point(
  VOID
);

EFI_STATUS
EFIAPI
global SystemTable pointer(
  VOID
);

EFI_STATUS
EFIAPI
(SystemTable == NULL) {(
  VOID
);

EFI_STATUS
EFIAPI
actual initialization is:(
  VOID
);

EFI_STATUS
EFIAPI
= SystemTable->Hdr.Signature field at offset 100;(
  VOID
);

EFI_STATUS
EFIAPI
call CspLibPei_Init with the PPI descriptor.(
  VOID
);

EFI_STATUS
EFIAPI
= CspLibPei_Init (SystemTable, &gPciTableInitPpiDescriptor);(
  VOID
);

#endif /* __PCITABLEINIT_H__ */