summaryrefslogtreecommitdiff
path: root/bsp/coreip-e20-arty/metal-inline.h
diff options
context:
space:
mode:
authorhsiang-chia.huang <hsiangchia.huang@sifive.com>2019-05-24 10:22:08 +0800
committerGitHub <noreply@github.com>2019-05-24 10:22:08 +0800
commitfaf58a49c3b6421107ada0e8af43170a5ffafcea (patch)
tree3996d52a748ae2420b5c9c6c9efe4158d5dece53 /bsp/coreip-e20-arty/metal-inline.h
parent7817c5e85cb6f9f6d5b98f6702fa4b7d1fb99e02 (diff)
parent2c0269905929128bd0bd13a55ae3d8afd60a1af6 (diff)
Merge branch 'development-19.05' into dhrystone_19.05
Diffstat (limited to 'bsp/coreip-e20-arty/metal-inline.h')
-rw-r--r--bsp/coreip-e20-arty/metal-inline.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/bsp/coreip-e20-arty/metal-inline.h b/bsp/coreip-e20-arty/metal-inline.h
index 8170f13..3b9c4e5 100644
--- a/bsp/coreip-e20-arty/metal-inline.h
+++ b/bsp/coreip-e20-arty/metal-inline.h
@@ -1,7 +1,7 @@
/* Copyright 2019 SiFive, Inc */
/* SPDX-License-Identifier: Apache-2.0 */
/* ----------------------------------- */
-/* [XXXXX] 20-05-2019 14-26-09 */
+/* [XXXXX] 23-05-2019 13-29-49 */
/* ----------------------------------- */
#ifndef ASSEMBLY
@@ -23,8 +23,10 @@ extern inline unsigned long __metal_driver_fixed_clock_rate(struct metal_clock *
/* --------------------- cpu ------------ */
+extern inline int __metal_driver_cpu_hartid(struct metal_cpu *cpu);
extern inline int __metal_driver_cpu_timebase(struct metal_cpu *cpu);
extern inline struct metal_interrupt * __metal_driver_cpu_interrupt_controller(struct metal_cpu *cpu);
+extern inline int __metal_driver_cpu_num_pmp_regions(struct metal_cpu *cpu);
/* --------------------- sifive_plic0 ------------ */