TianoCore EDK2 master
Loading...
Searching...
No Matches
ScriptExecute.h File Reference

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
 

Detailed Description

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.

Macro Definition Documentation

◆ PAGING_1G_ADDRESS_MASK_64

#define PAGING_1G_ADDRESS_MASK_64   0x000FFFFFC0000000ull

Definition at line 45 of file ScriptExecute.h.

Function Documentation

◆ AsmTransferControl()

VOID AsmTransferControl ( IN UINT32  S3WakingVector,
IN UINT32  AcpiLowMemoryBase 
)

a ASM function to transfer control to OS.

Parameters
S3WakingVectorThe S3 waking up vector saved in ACPI Facs table
AcpiLowMemoryBasea buffer under 1M which could be used during the transfer

◆ AsmTransferControl16()

VOID AsmTransferControl16 ( VOID  )

a 16bit ASM function to transfer control to OS.

◆ AsmTransferControl32()

VOID AsmTransferControl32 ( IN UINT32  S3WakingVector,
IN UINT32  AcpiLowMemoryBase 
)

a 32bit ASM function to transfer control to OS.

Parameters
S3WakingVectorThe S3 waking up vector saved in ACPI Facs table
AcpiLowMemoryBasea buffer under 1M which could be used during the transfer

◆ SetIdtEntry()

VOID SetIdtEntry ( IN ACPI_S3_CONTEXT AcpiS3Context)

Set a IDT entry for interrupt vector 3 for debug purpose.

Parameters
AcpiS3Contexta pointer to a structure of ACPI_S3_CONTEXT

Definition at line 20 of file SetIdtEntry.c.

Variable Documentation

◆ mAddressEncMask

UINT64 mAddressEncMask
extern

Definition at line 21 of file ScriptExecute.c.

◆ mPage1GSupport

BOOLEAN mPage1GSupport
extern

Definition at line 20 of file ScriptExecute.c.