From 6af51ca7b09c8e5b7e1933700b1d855893ca42b1 Mon Sep 17 00:00:00 2001 From: Bunnaroath Sou Date: Mon, 20 May 2019 14:34:10 -0700 Subject: Update BSP files to pickup inline support --- bsp/coreip-e20-rtl/metal-platform.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'bsp/coreip-e20-rtl/metal-platform.h') diff --git a/bsp/coreip-e20-rtl/metal-platform.h b/bsp/coreip-e20-rtl/metal-platform.h index 109562d..b4f13ec 100644 --- a/bsp/coreip-e20-rtl/metal-platform.h +++ b/bsp/coreip-e20-rtl/metal-platform.h @@ -1,12 +1,23 @@ +/* Copyright 2019 SiFive, Inc */ +/* SPDX-License-Identifier: Apache-2.0 */ +/* ----------------------------------- */ +/* [XXXXX] 20-05-2019 14-26-09 */ +/* ----------------------------------- */ + #ifndef COREIP_E20_RTL__METAL_PLATFORM_H #define COREIP_E20_RTL__METAL_PLATFORM_H /* From interrupt_controller@2000000 */ #define METAL_SIFIVE_CLIC0_2000000_BASE_ADDRESS 33554432UL +#define METAL_SIFIVE_CLIC0_0_BASE_ADDRESS 33554432UL #define METAL_SIFIVE_CLIC0_2000000_SIZE 16777216UL +#define METAL_SIFIVE_CLIC0_0_SIZE 16777216UL #define METAL_SIFIVE_CLIC0_2000000_SIFIVE_NUMINTS 48UL +#define METAL_SIFIVE_CLIC0_0_SIFIVE_NUMINTS 48UL #define METAL_SIFIVE_CLIC0_2000000_SIFIVE_NUMLEVELS 16UL +#define METAL_SIFIVE_CLIC0_0_SIFIVE_NUMLEVELS 16UL #define METAL_SIFIVE_CLIC0_2000000_SIFIVE_NUMINTBITS 2UL +#define METAL_SIFIVE_CLIC0_0_SIFIVE_NUMINTBITS 2UL #define METAL_SIFIVE_CLIC0 #define METAL_SIFIVE_CLIC0_MSIP_BASE 0UL @@ -21,9 +32,15 @@ #define METAL_SIFIVE_CLIC0_SMODE_APERTURE 12582912UL #define METAL_SIFIVE_CLIC0_UMODE_APERTURE 14680064UL +/* From local_external_interrupts_0 */ + +#define METAL_SIFIVE_LOCAL_EXTERNAL_INTERRUPTS0 + /* From teststatus@4000 */ #define METAL_SIFIVE_TEST0_4000_BASE_ADDRESS 16384UL +#define METAL_SIFIVE_TEST0_0_BASE_ADDRESS 16384UL #define METAL_SIFIVE_TEST0_4000_SIZE 4096UL +#define METAL_SIFIVE_TEST0_0_SIZE 4096UL #define METAL_SIFIVE_TEST0 #define METAL_SIFIVE_TEST0_FINISHER_OFFSET 0UL -- cgit v1.2.1-18-gbd029