Compare commits
2 Commits
db3a2d68d6
...
e0807b8cdd
Author | SHA1 | Date | |
---|---|---|---|
e0807b8cdd | |||
8cb34baacf |
4
env/iss/link.lds
vendored
4
env/iss/link.lds
vendored
@ -178,7 +178,7 @@ SECTIONS
|
||||
PROVIDE( _sp = . );
|
||||
} >ram AT>ram :ram
|
||||
|
||||
PROVIDE( tohost = 0xfffffff0 );
|
||||
PROVIDE( fromhost = 0xfffffff8 );
|
||||
PROVIDE( tohost = . );
|
||||
PROVIDE( fromhost = . + 8 );
|
||||
}
|
||||
|
||||
|
3
env/iss/platform.h
vendored
3
env/iss/platform.h
vendored
@ -22,6 +22,9 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
extern volatile uintptr_t tohost;
|
||||
extern volatile uintptr_t fromhost;
|
||||
|
||||
void init_pll(void);
|
||||
unsigned long get_cpu_freq(void);
|
||||
unsigned long get_timer_freq(void);
|
||||
|
@ -3,6 +3,7 @@
|
||||
#include "weak_under_alias.h"
|
||||
//#include <stdint.h>
|
||||
#include <unistd.h>
|
||||
#include <stdint.h>
|
||||
#if defined(SEMIHOSTING)
|
||||
#include "semihosting.h"
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user