fixes include paths
This commit is contained in:
2
env/TGC5L/platform.h
vendored
2
env/TGC5L/platform.h
vendored
@ -7,7 +7,7 @@
|
||||
#define MCAUSE_INT 0x80000000
|
||||
#define MCAUSE_CAUSE 0x7FFFFFFF
|
||||
|
||||
#include "rtl/const.h"
|
||||
#include "bits.h"
|
||||
/****************************************************************************
|
||||
* Platform definitions
|
||||
*****************************************************************************/
|
||||
|
1
env/ehrenberg/init.c
vendored
1
env/ehrenberg/init.c
vendored
@ -4,7 +4,6 @@
|
||||
|
||||
#include "platform.h"
|
||||
#include "encoding.h"
|
||||
#include <ehrenberg/devices.h>
|
||||
|
||||
#if __riscv_xlen == 32
|
||||
#define MCAUSE_INT 0x80000000UL
|
||||
|
12
env/ehrenberg/platform.h
vendored
12
env/ehrenberg/platform.h
vendored
@ -7,15 +7,13 @@
|
||||
#define MCAUSE_INT 0x80000000
|
||||
#define MCAUSE_CAUSE 0x7FFFFFFF
|
||||
|
||||
#include "ehrenberg/const.h"
|
||||
|
||||
#define APB_BUS
|
||||
|
||||
#include "devices/gpio.h"
|
||||
#include "devices/interrupt.h"
|
||||
#include "devices/timer.h"
|
||||
#include "devices/uart.h"
|
||||
#include "devices/qspi.h"
|
||||
#include "ehrenberg/devices/gpio.h"
|
||||
#include "ehrenberg/devices/interrupt.h"
|
||||
#include "ehrenberg/devices/timer.h"
|
||||
#include "ehrenberg/devices/uart.h"
|
||||
#include "ehrenberg/devices/qspi.h"
|
||||
|
||||
#define PERIPH(TYPE, ADDR) ((volatile TYPE*) (ADDR))
|
||||
|
||||
|
2
env/entry.S
vendored
2
env/entry.S
vendored
@ -4,7 +4,7 @@
|
||||
#define ENTRY_S
|
||||
|
||||
#include "encoding.h"
|
||||
#include "rtl/bits.h"
|
||||
#include "bits.h"
|
||||
|
||||
.section .text.entry
|
||||
.align 2
|
||||
|
2
env/hifive1/init.c
vendored
2
env/hifive1/init.c
vendored
@ -2,7 +2,7 @@
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "../hifive1/platform.h"
|
||||
#include "platform.h"
|
||||
#include "encoding.h"
|
||||
|
||||
extern int main(int argc, char** argv);
|
||||
|
2
env/iss/platform.h
vendored
2
env/iss/platform.h
vendored
@ -7,7 +7,7 @@
|
||||
#define MCAUSE_INT 0x80000000
|
||||
#define MCAUSE_CAUSE 0x7FFFFFFF
|
||||
|
||||
#include "rtl/const.h"
|
||||
#include "bits.h"
|
||||
/****************************************************************************
|
||||
* Platform definitions
|
||||
*****************************************************************************/
|
||||
|
2
env/tgc-vp/platform.h
vendored
2
env/tgc-vp/platform.h
vendored
@ -7,7 +7,7 @@
|
||||
#define MCAUSE_INT 0x80000000
|
||||
#define MCAUSE_CAUSE 0x7FFFFFFF
|
||||
|
||||
#include "tgc-vp/const.h"
|
||||
#include "bits.h"
|
||||
#include "tgc-vp/devices/aon.h"
|
||||
#include "tgc-vp/devices/clint.h"
|
||||
#include "tgc-vp/devices/gpio.h"
|
||||
|
Reference in New Issue
Block a user