Newer
Older
AMI-Aptio-BIOS-Reversed / AmiModulePkg / KbcEmulation / KbcEmul / KbcEmul.h
@Ajax Dong Ajax Dong 7 days ago 1 KB Recovering names
/** @file
  KbcEmul.h -- Header for KbcEmul

  Source: DEBUG_VS2015\X64\AmiModulePkg\KbcEmulation\KbcEmul\DEBUG
  Build: HR6N0XMLK DEBUG_VS2015 X64

Copyright (c) HR650X BIOS Decompilation Project
**/

#ifndef __KBCEMUL_H__
#define __KBCEMUL_H__

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

//
// Function Prototypes
//

///
/// ModuleEntryPoint -- UEFI entry point / initialization function
///
EFI_STATUS
EFIAPI
ModuleEntryPoint(
  EFI_HANDLE         ImageHandle,
  EFI_SYSTEM_TABLE   *SystemTable
);

///
/// KbcEmulInitialize
/// - recovered name:
///   cache image/system-table derived driver context
/// 
EFI_STATUS
EFIAPI
KbcEmulInitialize(
  EFI_HANDLE  ImageHandle
);

///
/// KbcEmulRegisterPortEmulation
/// - recovered name:
///   core KBC emulation setup (SMI I/O trap registration)
/// 
EFI_STATUS
EFIAPI
KbcEmulRegisterPortEmulation(
  EFI_HANDLE        ImageHandle,
  EFI_SYSTEM_TABLE *SystemTable
);

///
/// KbcEmulCleanupContext
/// - recovered name:
///   KBC emulation notification/cleanup callback
/// 
EFI_STATUS
EFIAPI
KbcEmulCleanupContext(
  VOID  *Context
);

///
/// KbcEmulUnregisterPortTraps
/// - recovered name:
///   secondary teardown helper (port trap unregistration)
/// 
EFI_STATUS
EFIAPI
KbcEmulUnregisterPortTraps(
  VOID  *Context,
  INTN    StatusHint
);

///
/// KbcEmulAssert
/// - recovered name:
///   debug assertion handler used for unreachable-path checks
/// 
EFI_STATUS
EFIAPI
KbcEmulAssert(
  CHAR16  *Filename,
  UINTN    LineNumber,
  CHAR8   *Expression
);

///
/// KbcEmulContextNeedsSetup
/// - recovered name:
///   indicates whether SMM emulation context requires initialization
/// 
EFI_STATUS
EFIAPI
KbcEmulContextNeedsSetup(
  VOID  *Context
);

#endif /* __KBCEMUL_H__ */