forked from M-Labs/artiq
1
0
Fork 0

runtime: fix KERNELCPU_LAST_ADDRESS after layout change.

This commit is contained in:
whitequark 2016-10-07 05:53:50 +00:00
parent 4f11b071a5
commit 8be60cc223
2 changed files with 2 additions and 2 deletions

View File

@ -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() {

View File

@ -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);