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 Ipf-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.
53 ASSERT (NULL
!= BspStore
);
56 // Allocate 16KB for the BspStore
58 Status
= PeiCoreAllocatePages (EfiBootServicesData
, EFI_SIZE_TO_PAGES (BSP_STORE_SIZE
), BspStore
);
59 if (EFI_ERROR (Status
)) {