X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=ArmPlatformPkg%2FArmVExpressPkg%2FLibrary%2FArmVExpressSecLibRTSM%2FAArch64%2FGicV3.S;h=7d9c25c769e878a9d80e75ca32e143b4278dd1d3;hp=8d2bde2f81ef6a5cb2266c58bc8d9332109d988a;hb=e691183822b324f30159d670b542746a83b55dde;hpb=75f630347cace34e2d3abed2a5556ba71cfc50a9 diff --git a/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSecLibRTSM/AArch64/GicV3.S b/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSecLibRTSM/AArch64/GicV3.S index 8d2bde2f81..7d9c25c769 100644 --- a/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSecLibRTSM/AArch64/GicV3.S +++ b/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSecLibRTSM/AArch64/GicV3.S @@ -1,5 +1,5 @@ // -// Copyright (c) 2013, ARM Limited. All rights reserved. +// Copyright (c) 2013-2014, ARM Limited. All rights reserved. // // This program and the accompanying materials // are licensed and made available under the terms and conditions of the BSD License @@ -11,8 +11,9 @@ // // -#include +#include +#ifndef __clang__ // Register definitions used by GCC for GICv3 access. // These are defined by ARMCC, so keep them in the GCC specific code for now. #define ICC_SRE_EL2 S3_4_C12_C9_5 @@ -20,6 +21,7 @@ #define ICC_CTLR_EL1 S3_0_C12_C12_4 #define ICC_CTLR_EL3 S3_6_C12_C12_4 #define ICC_PMR_EL1 S3_0_C4_C6_0 +#endif .text .align 3