forked from M-Labs/artiq
runtime: fix KERNELCPU_LAST_ADDRESS after layout change.
This commit is contained in:
parent
4f11b071a5
commit
8be60cc223
@ -3,7 +3,7 @@ use board::csr;
|
||||
use mailbox;
|
||||
|
||||
const KERNELCPU_EXEC_ADDRESS: usize = 0x40400000;
|
||||
const KERNELCPU_LAST_ADDRESS: usize = (0x4fffffff - 1024*1024);
|
||||
const KERNELCPU_LAST_ADDRESS: usize = 0x4fffffff;
|
||||
const KSUPPORT_HEADER_SIZE: usize = 0x80;
|
||||
|
||||
pub unsafe fn start() {
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
#define KERNELCPU_EXEC_ADDRESS 0x40400000
|
||||
#define KERNELCPU_PAYLOAD_ADDRESS 0x40420000
|
||||
#define KERNELCPU_LAST_ADDRESS (0x4fffffff - 1024*1024)
|
||||
#define KERNELCPU_LAST_ADDRESS 0x4fffffff
|
||||
#define KSUPPORT_HEADER_SIZE 0x80
|
||||
|
||||
double round(double x);
|
||||
|
Loading…
Reference in New Issue
Block a user