Newer
Older
AMI-Aptio-BIOS-Reversed / SmmAccessPei / SmmAccessPei.h
@Ajax Dong Ajax Dong 2 days ago 1 KB Init
/** @file
  SmmAccessPei.h -- Header for SmmAccessPei

Copyright (c) HR650X BIOS Decompilation Project
**/

#ifndef __SMMACCESSPEI_H__
#define __SMMACCESSPEI_H__

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

//
// Function Prototypes
//

char *
EFIAPI
InternalCopyMemBackwards(
  char *dst,
  char *src,
  unsigned int count
);

void *
EFIAPI
SetMem(
  void *buf,
  unsigned int count,
  char value
);

int
EFIAPI
SetMem32Loop(
  int a1,
  int a2,
  int a3,
  int a4
);

void *
EFIAPI
SetMem32(
  void *buf,
  unsigned int count,
  int value
);

EFI_STATUS
EFIAPI
SmmAccessPeiEntryPoint(
  EFI_HANDLE ImageHandle,
  EFI_SYSTEM_TABLE *SystemTable
);

int
EFIAPI
GetFirstHob(
  VOID
);

_WORD *
EFIAPI
GetNextHobByType(
  int Type,
  _WORD *HobStart
);

_WORD *__thiscall
EFIAPI
GetNextGuidHob(
  char *this
);

int
EFIAPI
GetDebugInterface(
  VOID
);

int
EFIAPI
DebugPrint(
  int a1,
  const char *a2,
  ...
);

int
EFIAPI
DebugAssert(
  VOID
);

int __thiscall
EFIAPI
AllocatePool(
  void *n168
);

char *
EFIAPI
CopyMem(
  char *dst,
  char *src,
  unsigned int count
);

bool
EFIAPI
CompareGuid(
  char *this,
  int a2
);

int
EFIAPI
GetDebugErrorLevel(
  VOID
);

__int64 __thiscall
EFIAPI
ReadUnaligned64(
  void *this
);

int
EFIAPI
GetPeiServicesTable(
  VOID
);

void *__thiscall
EFIAPI
ReadIdtr(
  void *this
);

#endif /* __SMMACCESSPEI_H__ */