Newer
Older
AMI-Aptio-BIOS-Reversed / UefiCpuPkg / PiSmmCommunication / PiSmmCommunicationSmm / PiSmmCommunicationSmm.h
/** @file
  PiSmmCommunicationSmm.h -- Header for PiSmmCommunicationSmm

  Source: DEBUG_VS2015\X64\UefiCpuPkg\PiSmmCommunication\PiSmmCommunicationSmm\DEBUG
  Build: HR6N0XMLK DEBUG_VS2015 X64

Copyright (c) HR650X BIOS Decompilation Project
**/

#ifndef __PISMMCOMMUNICATIONSMM_H__
#define __PISMMCOMMUNICATIONSMM_H__

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

//
// Function Prototypes
//

///
/// ModuleEntryPoint -- UEFI entry point / initialization function
///
EFI_STATUS
EFIAPI
ModuleEntryPoint(
  VOID
);

///
/// Initialize the SMM communication context for the module entry path.
///
EFI_STATUS
EFIAPI
PiSmmCommunicationSmmInitializeContext(
  VOID
);

///
/// Dispatch the SMM communication handler registration / entry work.
///
EFI_STATUS
EFIAPI
PiSmmCommunicationSmmRegisterCommunicationHandler(
  VOID
);

///
/// Release the SMM communication handler registration.
///
EFI_STATUS
EFIAPI
PiSmmCommunicationSmmUnregisterCommunicationHandler(
  VOID
);

///
/// Reset the SMM communication context during teardown.
///
EFI_STATUS
EFIAPI
PiSmmCommunicationSmmResetContext(
  VOID
);

///
/// AutoGen teardown hook placeholder.
///
EFI_STATUS
EFIAPI
PiSmmCommunicationSmmAutogenTeardownHook(
  VOID
);

///
/// Check whether the SMM services context is already initialized.
///
EFI_STATUS
EFIAPI
PiSmmCommunicationSmmIsServicesContextInitialized(
  VOID
);

#endif /* __PISMMCOMMUNICATIONSMM_H__ */