Skip to content

Commit

Permalink
use a single core folder for all ARM architectures.
Browse files Browse the repository at this point in the history
This should reduce code duplication.

Move the GIC driver to a separate file so that it can be used by both ARMV7A and ARMV7R cores.

Add initial support for some Cortex-A and Cortex-R devices
  • Loading branch information
Masmiseim36 committed Aug 5, 2023
1 parent c559e68 commit 9b88e7f
Show file tree
Hide file tree
Showing 58 changed files with 8,572 additions and 7,384 deletions.
8 changes: 4 additions & 4 deletions ARM.CMSIS.pdsc
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@
<api Cclass="Device" Cgroup="IRQ Controller" Capiversion="1.0.0" exclusive="1">
<description>Device interrupt controller interface</description>
<files>
<file category="header" name="CMSIS/Core_A/Include/irq_ctrl.h"/>
<file category="header" name="CMSIS/Core/Include/irq_ctrl.h"/>
</files>
</api>
<api Cclass="Device" Cgroup="OS Tick" Capiversion="1.0.1" exclusive="1">
Expand Down Expand Up @@ -648,7 +648,7 @@

<components>
<!-- CMSIS-Core component -->
<component Cclass="CMSIS" Cgroup="CORE" Cversion="5.7.0" condition="ARMv6_7_8-M Device" >
<component Cclass="CMSIS" Cgroup="CORE" Cversion="5.6.0" condition="ARMv6_7_8-M Device" >
<description>CMSIS-CORE for Cortex-M, SC000, SC300, Star-MC1, ARMv8-M, ARMv8.1-M</description>
<files>
<!-- CPU independent -->
Expand All @@ -666,15 +666,15 @@
<files>
<!-- CPU independent -->
<file category="doc" name="CMSIS/Documentation/Core_A/html/index.html"/>
<file category="include" name="CMSIS/Core_A/Include/"/>
<file category="include" name="CMSIS/Core/Include/"/>
</files>
</component>

<!-- IRQ Controller -->
<component Cclass="Device" Cgroup="IRQ Controller" Csub="GIC" Capiversion="1.0.0" Cversion="1.2.0" condition="ARMv7-A Device">
<description>IRQ Controller implementation using GIC</description>
<files>
<file category="sourceC" name="CMSIS/Core_A/Source/irq_ctrl_gic.c"/>
<file category="sourceC" name="CMSIS/Core/Source/irq_ctrl_gic.c"/>
</files>
</component>

Expand Down
1,493 changes: 384 additions & 1,109 deletions CMSIS/Core_A/Include/core_ca.h → CMSIS/Core/Include/armv7a.h

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/**************************************************************************//**
* @file cmsis_cp15.h
* @file armv7a_cp15.h
* @brief CMSIS compiler specific macros, functions, instructions
* @version V1.0.2
* @date 19. December 2022
******************************************************************************/
/*
* Copyright (c) 2009-2017 ARM Limited. All rights reserved.
* Copyright (c) 2009-2023 ARM Limited. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down
470 changes: 470 additions & 0 deletions CMSIS/Core/Include/armv7r.h

Large diffs are not rendered by default.

Loading

0 comments on commit 9b88e7f

Please sign in to comment.