Skip to content

Commit

Permalink
capdl-loader-app: adapt to sel4muslcsys change
Browse files Browse the repository at this point in the history
Signed-off-by: Axel Heider <[email protected]>
  • Loading branch information
Axel Heider committed Apr 20, 2023
1 parent 3fa3a1b commit ad6ce57
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions capdl-loader-app/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include <string.h>
#include <stdint.h>
#include <inttypes.h>
#include <muslcsys/sys_morecore.h>
#include <sel4platsupport/platsupport.h>
#include <cpio/cpio.h>
#include <simple-default/simple-default.h>
Expand Down Expand Up @@ -2112,8 +2113,9 @@ static char ALIGN(PAGE_SIZE_4K) debug_libc_morecore_area[PAGE_SIZE_4K];
static void CONSTRUCTOR(MUSLCSYS_WITH_VSYSCALL_PRIORITY) init_bootinfo(void)
{
/* Init memory area for musl. */
morecore_area = debug_libc_morecore_area;
morecore_size = sizeof(debug_libc_morecore_area);
sel4muslcsys_setup_morecore_region(
debug_libc_morecore_area,
sizeof(debug_libc_morecore_area));

/* Allow us to print via seL4_Debug_PutChar. */
platsupport_serial_setup_bootinfo_failsafe();
Expand Down

0 comments on commit ad6ce57

Please sign in to comment.