native,platform: move heap.start to 0x1000000
* This allows using some part of the heap even the user program is loaded to 0x3000000, where VME is disabled.
This commit is contained in:
parent
66dcd98e39
commit
39b2c4350d
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
#define MAX_CPU 16
|
#define MAX_CPU 16
|
||||||
#define TRAP_PAGE_START (void *)0x100000
|
#define TRAP_PAGE_START (void *)0x100000
|
||||||
#define PMEM_START (void *)0x3000000 // for nanos-lite with vme disabled
|
#define PMEM_START (void *)0x1000000 // for nanos-lite with vme disabled
|
||||||
#define PMEM_SIZE (128 * 1024 * 1024)
|
#define PMEM_SIZE (128 * 1024 * 1024)
|
||||||
static int pmem_fd = 0;
|
static int pmem_fd = 0;
|
||||||
static void *pmem = NULL;
|
static void *pmem = NULL;
|
||||||
|
|
Loading…
Add table
Reference in a new issue