2011-08-16 04:58:20 +02:00
|
|
|
/** @file
|
|
|
|
Smm Core Platform Hook Library. This library class defines a set of platform
|
|
|
|
hooks called by the SMM Core.
|
|
|
|
|
2018-06-27 15:08:52 +02:00
|
|
|
Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>
|
2019-04-04 01:05:13 +02:00
|
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
2011-08-16 04:58:20 +02:00
|
|
|
|
|
|
|
**/
|
|
|
|
|
|
|
|
#ifndef __SMM_CORE_PLATFORM_HOOK_LIB__
|
|
|
|
#define __SMM_CORE_PLATFORM_HOOK_LIB__
|
|
|
|
|
|
|
|
/**
|
|
|
|
Performs platform specific tasks before invoking registered SMI handlers.
|
2018-06-27 15:08:52 +02:00
|
|
|
|
2011-08-16 04:58:20 +02:00
|
|
|
This function performs platform specific tasks before invoking registered SMI handlers.
|
2018-06-27 15:08:52 +02:00
|
|
|
|
2011-08-16 04:58:20 +02:00
|
|
|
@retval EFI_SUCCESS The platform hook completes successfully.
|
|
|
|
@retval Other values The paltform hook cannot complete due to some error.
|
|
|
|
|
|
|
|
**/
|
|
|
|
EFI_STATUS
|
|
|
|
EFIAPI
|
|
|
|
PlatformHookBeforeSmmDispatch (
|
|
|
|
VOID
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
Performs platform specific tasks after invoking registered SMI handlers.
|
2018-06-27 15:08:52 +02:00
|
|
|
|
2011-08-16 04:58:20 +02:00
|
|
|
This function performs platform specific tasks after invoking registered SMI handlers.
|
2018-06-27 15:08:52 +02:00
|
|
|
|
2011-08-16 04:58:20 +02:00
|
|
|
@retval EFI_SUCCESS The platform hook completes successfully.
|
|
|
|
@retval Other values The paltform hook cannot complete due to some error.
|
|
|
|
|
|
|
|
**/
|
|
|
|
EFI_STATUS
|
|
|
|
EFIAPI
|
|
|
|
PlatformHookAfterSmmDispatch (
|
|
|
|
VOID
|
|
|
|
);
|
2018-06-27 15:08:52 +02:00
|
|
|
|
2011-08-16 04:58:20 +02:00
|
|
|
#endif
|