3 Copyright (c) 2006, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18 Ia32-specifc functionality for DxeLoad.
25 CreateArchSpecificHobs (
26 OUT EFI_PHYSICAL_ADDRESS
*BspStore
32 Creates architecture-specific HOBs.
34 Note: New parameters should NOT be added for any HOBs that are added to this
35 function. BspStore is a special case because it is required for the
36 call to SwitchStacks() in DxeLoad().
40 BspStore - The address of the BSP Store for those architectures that need
45 EFI_SUCCESS - The HOBs were created successfully.
54 Transfers control to a function starting with a new stack.
56 Transfers control to the function specified by EntryPoint using the new stack
57 specified by NewStack and passing in the parameters specified by Context1 and
58 Context2. Context1 and Context2 are optional and may be NULL. The function
59 EntryPoint must never return.
61 If EntryPoint is NULL, then ASSERT().
62 If NewStack is NULL, then ASSERT().
64 @param EntryPoint A pointer to function to call with the new stack.
65 @param Context1 A pointer to the context to pass into the EntryPoint
67 @param Context2 A pointer to the context to pass into the EntryPoint
69 @param NewStack A pointer to the new stack to use for the EntryPoint
71 @param NewBsp A pointer to the new BSP for the EntryPoint on IPF. It's
72 Reserved on other architectures.
78 IN SWITCH_STACK_ENTRY_POINT EntryPoint
,
79 IN VOID
*Context1
, OPTIONAL
80 IN VOID
*Context2
, OPTIONAL
85 SwitchStack (EntryPoint
, Context1
, Context2
, NewStack
);