Skip to content

Commit 7d3bac8

Browse files
committed
[libcpu] remove gtimer/pmu from cortex-a
1 parent a5c37e0 commit 7d3bac8

File tree

6 files changed

+6
-388
lines changed

6 files changed

+6
-388
lines changed

libcpu/arm/cortex-a/SConscript

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,8 @@ cwd = GetCurrentDir()
88
src = Split('''
99
cache.c
1010
cpu.c
11-
gtimer.c
1211
mmu.c
13-
pmu.c
1412
stack.c
15-
1613
''')
1714
CPPPATH = [cwd]
1815

libcpu/arm/cortex-a/armv7.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,10 @@ struct rt_hw_stack
6969
#define E_Bit (1<<9)
7070
#define J_Bit (1<<24)
7171

72+
#define PABT_EXCEPTION 0x1
73+
#define DABT_EXCEPTION 0x2
74+
#define UND_EXCEPTION 0x3
75+
#define SWI_EXCEPTION 0x4
76+
#define RESV_EXCEPTION 0xF
77+
7278
#endif

libcpu/arm/cortex-a/gtimer.c

Lines changed: 0 additions & 179 deletions
This file was deleted.

libcpu/arm/cortex-a/gtimer.h

Lines changed: 0 additions & 27 deletions
This file was deleted.

libcpu/arm/cortex-a/pmu.c

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)