sel4: reserve virt page for main-thread IPC buffer

This commit is contained in:
Norman Feske 2015-05-13 11:25:11 +02:00 committed by Christian Helmuth
parent 38db52e7f5
commit acd7a2f1c4
1 changed files with 1 additions and 1 deletions

View File

@ -341,7 +341,7 @@ Platform::Platform()
_irq_alloc(core_mem_alloc()),
_unused_phys_alloc(core_mem_alloc()),
_init_unused_phys_alloc_done((_init_unused_phys_alloc(), true)),
_vm_base(0x1000),
_vm_base(0x2000), /* 2nd page is used as IPC buffer of main thread */
_vm_size(2*1024*1024*1024UL - _vm_base), /* use the lower 2GiB */
_init_allocators_done((_init_allocators(), true)),
_init_sel4_ipc_buffer_done((init_sel4_ipc_buffer(), true)),