Skip to content

Commit 432826e

Browse files
Masmiseim36JonatanAntoni
authored andcommitted
- Add initial support for ARMv8A, ARMV7R and ARMV8R
- Added core_cxx.h files for ARMv8A, ARMV7R and ARMV8R based profiles - Moved gic peripheral to separate file - Moved __FPU_Enable function to the architecture specific file - Extend core-test routines for new supported core-types
1 parent 6266f58 commit 432826e

41 files changed

Lines changed: 5964 additions & 3310 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

ARM.CMSIS.pdsc

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -612,6 +612,20 @@
612612
<accept Dcore="Cortex-A7"/>
613613
<accept Dcore="Cortex-A9"/>
614614
</condition>
615+
<condition id="ARMv8-A Device">
616+
<description>Armv7-A architecture based device</description>
617+
<accept Dcore="Cortex-A35"/>
618+
<accept Dcore="Cortex-A53"/>
619+
<accept Dcore="Cortex-A55"/>
620+
<accept Dcore="Cortex-A57"/>
621+
</condition>
622+
<condition id="ARMv7-R Device">
623+
<description>Armv7-R architecture based device</description>
624+
<accept Dcore="Cortex-R4"/>
625+
<accept Dcore="Cortex-R5"/>
626+
<accept Dcore="Cortex-R7"/>
627+
<accept Dcore="Cortex-R8"/>
628+
</condition>
615629

616630
<condition id="TrustZone">
617631
<description>TrustZone</description>
@@ -668,6 +682,24 @@
668682
</files>
669683
</component>
670684

685+
<component Cclass="CMSIS" Cgroup="CORE" Cversion="1.0.0" condition="ARMv8-A Device" >
686+
<description>CMSIS-CORE for Cortex-A</description>
687+
<files>
688+
<!-- CPU independent -->
689+
<file category="doc" name="CMSIS/Documentation/html/Core_A/index.html"/>
690+
<file category="include" name="CMSIS/Core/Include/"/>
691+
</files>
692+
</component>
693+
694+
<component Cclass="CMSIS" Cgroup="CORE" Cversion="1.0.0" condition="ARMv7-R Device" >
695+
<description>CMSIS-CORE for Cortex-R</description>
696+
<files>
697+
<!-- CPU independent -->
698+
<file category="doc" name="CMSIS/Documentation/html/Core_R/index.html"/>
699+
<file category="include" name="CMSIS/Core/Include/"/>
700+
</files>
701+
</component>
702+
671703
<!-- IRQ Controller -->
672704
<component Cclass="Device" Cgroup="IRQ Controller" Csub="GIC" Capiversion="1.0.0" Cversion="1.2.0" condition="ARMv7-A Device">
673705
<description>IRQ Controller implementation using GIC</description>

CMSIS/Core/Include/a-profile/armv7a.h

Lines changed: 2340 additions & 0 deletions
Large diffs are not rendered by default.

CMSIS/Core/Include/a-profile/cmsis_cp15.h renamed to CMSIS/Core/Include/a-profile/armv7a_cp15.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2009-2017 ARM Limited. All rights reserved.
2+
* Copyright (c) 2009-2024 ARM Limited. All rights reserved.
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*
@@ -362,10 +362,10 @@ __STATIC_FORCEINLINE uint32_t __get_CNTP_CTL(void)
362362

363363
/******************************* VIRTUAL TIMER *******************************/
364364
/** see [ARM DDI 0406C.d] :
365-
. §B4.1.31 "CNTV_CTL, Counter-timer Virtual Timer Control register"
366-
. §B4.1.32 "CNTV_CVAL, Counter-timer Virtual Timer CompareValue register"
367-
. §B4.1.33 "CNTV_TVAL, Counter-timer Virtual Timer TimerValue register"
368-
. §B4.1.34 "CNTVCT, Counter-timer Virtual Count register"
365+
* B4.1.31 "CNTV_CTL, Counter-timer Virtual Timer Control register"
366+
* B4.1.32 "CNTV_CVAL, Counter-timer Virtual Timer CompareValue register"
367+
* B4.1.33 "CNTV_TVAL, Counter-timer Virtual Timer TimerValue register"
368+
* B4.1.34 "CNTVCT, Counter-timer Virtual Count register"
369369
**/
370370
/** \brief Set CNTV_TVAL
371371
This function assigns the given value to VL1 Virtual Timer Value Register (CNTV_TVAL).

0 commit comments

Comments
 (0)