mirror of
https://github.com/hermitcore/libhermit.git
synced 2025-03-09 00:00:03 +01:00
define start address of the heap in config.h
This commit is contained in:
parent
8c08ba4044
commit
f4012a1f55
2 changed files with 2 additions and 1 deletions
|
@ -42,6 +42,7 @@ extern "C" {
|
|||
#define CACHE_LINE 64
|
||||
#define KERNEL_STACK_SIZE (8*1024)
|
||||
#define DEFAULT_STACK_SIZE (256*1024)
|
||||
#define HEAP_START (1ULL << 48 - 0x2000)
|
||||
#define KMSG_SIZE (4*1024)
|
||||
#define INT_SYSCALL 0x80
|
||||
#define MAILBOX_SIZE 128
|
||||
|
|
|
@ -372,7 +372,7 @@ static int initd(void* arg)
|
|||
int magic = 0;
|
||||
struct sockaddr_in6 server, client;
|
||||
task_t* curr_task = per_core(current_task);
|
||||
size_t heap = 0x80000000;
|
||||
size_t heap = HEAP_START;
|
||||
int argc, envc;
|
||||
char** argv = NULL;
|
||||
char **environ = NULL;
|
||||
|
|
Loading…
Add table
Reference in a new issue