TianoCore EDK2 master
|
#include <PiDxe.h>
#include <Library/BaseLib.h>
#include <Library/UefiDriverEntryPoint.h>
#include <Library/BaseMemoryLib.h>
#include <Library/DebugLib.h>
#include <Library/S3BootScriptLib.h>
#include <Library/PeCoffLib.h>
#include <Library/DxeServicesLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/UefiRuntimeServicesTableLib.h>
#include <Library/PcdLib.h>
#include <Library/CacheMaintenanceLib.h>
#include <Library/TimerLib.h>
#include <Library/UefiLib.h>
#include <Library/DebugAgentLib.h>
#include <Library/LockBoxLib.h>
#include <Library/CpuExceptionHandlerLib.h>
#include <Library/DevicePathLib.h>
#include <Library/DxeServicesTableLib.h>
#include <Guid/AcpiS3Context.h>
#include <Guid/BootScriptExecutorVariable.h>
#include <Guid/MemoryProfile.h>
#include <Protocol/DxeSmmReadyToLock.h>
#include <IndustryStandard/Acpi.h>
Go to the source code of this file.
Macros | |
#define | PAGING_1G_ADDRESS_MASK_64 0x000FFFFFC0000000ull |
Functions | |
VOID | AsmTransferControl (IN UINT32 S3WakingVector, IN UINT32 AcpiLowMemoryBase) |
VOID | AsmTransferControl32 (IN UINT32 S3WakingVector, IN UINT32 AcpiLowMemoryBase) |
VOID | AsmTransferControl16 (VOID) |
VOID | SetIdtEntry (IN ACPI_S3_CONTEXT *AcpiS3Context) |
Variables | |
UINT32 | AsmFixAddress16 |
UINT32 | AsmJmpAddr32 |
BOOLEAN | mPage1GSupport |
UINT64 | mAddressEncMask |
The header file for Boot Script Executer module.
This driver is dispatched by Dxe core and the driver will reload itself to ACPI reserved memory in the entry point. The functionality is to interpret and restore the S3 boot script
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
Copyright (c) 2017, AMD Incorporated. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file ScriptExecute.h.
#define PAGING_1G_ADDRESS_MASK_64 0x000FFFFFC0000000ull |
Definition at line 45 of file ScriptExecute.h.
a ASM function to transfer control to OS.
S3WakingVector | The S3 waking up vector saved in ACPI Facs table |
AcpiLowMemoryBase | a buffer under 1M which could be used during the transfer |
VOID AsmTransferControl16 | ( | VOID | ) |
a 16bit ASM function to transfer control to OS.
a 32bit ASM function to transfer control to OS.
S3WakingVector | The S3 waking up vector saved in ACPI Facs table |
AcpiLowMemoryBase | a buffer under 1M which could be used during the transfer |
VOID SetIdtEntry | ( | IN ACPI_S3_CONTEXT * | AcpiS3Context | ) |
Set a IDT entry for interrupt vector 3 for debug purpose.
AcpiS3Context | a pointer to a structure of ACPI_S3_CONTEXT |
Definition at line 20 of file SetIdtEntry.c.
|
extern |
Definition at line 21 of file ScriptExecute.c.
|
extern |
Definition at line 20 of file ScriptExecute.c.