Newer
Older
AMI-Aptio-BIOS-Reversed / PurleySktPkg / Dxe / NvdimmCommon / NvdimmSmbusCommon / NvdimmSmbusCommon.h
#ifndef __NVDIMMSMBUSCOMMON_H__
#define __NVDIMMSMBUSCOMMON_H__

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

EFI_STATUS EFIAPI ModuleEntryPoint(VOID);
EFI_STATUS EFIAPI NvdimmSmbusCommonEntryPoint(EFI_HANDLE ImageHandle);

char *__fastcall ZeroMem(char *Buffer, unsigned __int64 Length);
char *__fastcall ZeroMemWrapper(char *Buffer, unsigned __int64 Length);

__int64 GetDebugPortProtocol(void);
__int64 DebugLogPrint(__int64 ErrorLevel, const char *Format, ...);
__int64 __fastcall AssertCpuDeadLoop(__int64 File, __int64 Line, __int64 Condition);

__int64 __cdecl GetSystemConfigurationTable(EFI_GUID *TableGuid, void **Table);
void *__cdecl GetHobList(void);
bool __fastcall GuidEqual(EFI_GUID *TableGuid, __int64 OtherGuid);
__int64 __fastcall GuidHash64(EFI_GUID *TableGuid);

extern EFI_HANDLE ImageHandle;
extern EFI_SYSTEM_TABLE *SystemTable;
extern EFI_BOOT_SERVICES *BootServices;
extern UINT64 RuntimeServices_0;
extern UINT64 BootServices_0;
extern UINT64 qword_3078;
extern UINT64 qword_3088;
extern UINT64 qword_3098;
extern UINT64 buf_;
extern UINT64 buf_0;
extern UINT64 *qword_3070;

#endif