3 Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions
7 of the BSD License which accompanies this distribution. The
8 full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
19 #include "LegacyBiosInterface.h"
20 #include <IndustryStandard/Sal.h>
23 Template of real mode code.
25 @param CodeStart Start address of code.
26 @param CodeEnd End address of code
27 @param ReverseThunkStart Start of reverse thunk.
28 @param IntThunk Low memory thunk.
35 OUT UINTN
*ReverseThunkStart
,
36 LOW_MEMORY_THUNK
*IntThunk
40 Register physical address of Esal Data Area
42 @param ReverseThunkCodeAddress Reverse Thunk Address
43 @param IntThunkAddress IntThunk Address
45 @retval EFI_SUCCESS ESAL data area set successfully.
50 IN UINTN ReverseThunkCodeAddress
,
51 IN UINTN IntThunkAddress
55 Get address of reverse thunk.
57 @retval EFI_SAL_SUCCESS Address of reverse thunk returned successfully.
61 EsalGetReverseThunkAddress (
85 Entrypoint of IA32 code.
87 @param CallTypeData Data of call type
88 @param DwordRegister Register set of IA32 general registers
90 @param StackPointer Stack pointer.
91 @param StackSize Size of stack.
97 IPF_DWORD_REGS
*DwordRegister
,