3 Copyright (c) 2011, ARM Limited. All rights reserved.
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.
15 #ifndef __ARMCPU_LIB__
16 #define __ARMCPU_LIB__
18 // These are #define and not enum to be used in assembly files
19 #define ARM_CPU_EVENT_DEFAULT 0
20 #define ARM_CPU_EVENT_BOOT_MEM_INIT 1
21 #define ARM_CPU_EVENT_SECURE_INIT 2
23 typedef UINTN ARM_CPU_SYNCHRONIZE_EVENT
;
27 ArmCpuSynchronizeWait (
28 IN ARM_CPU_SYNCHRONIZE_EVENT Event
32 ArmCpuSynchronizeSignal (
33 IN ARM_CPU_SYNCHRONIZE_EVENT Event
42 ArmCpuSetupSmpNonSecure (
46 #endif // __ARMCPU_LIB__