4 Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18 #include <Protocol/MpService.h>
21 Initialize Multi-processor support.
31 (EFIAPI
*STACKLESS_AP_ENTRY_POINT
)(
36 Starts the Application Processors and directs them to jump to the
39 The processor jumps to this code in flat mode, but the processor's
40 stack is not initialized.
42 @param ApEntryPoint Pointer to the Entry Point routine
44 @retval EFI_SUCCESS The APs were started
45 @retval EFI_OUT_OF_RESOURCES Cannot allocate memory to start APs
50 IN STACKLESS_AP_ENTRY_POINT ApEntryPoint
54 The AP entry point that the Startup-IPI target code will jump to.
56 The processor jumps to this code in flat mode, but the processor's
57 stack is not initialized.
67 Releases the lock preventing other APs from using the shared AP
70 Once the AP has transitioned to using a new stack, it can call this
71 function to allow another AP to proceed with using the shared stack.
76 AsmApDoneWithCommonStack (