mirror of
https://github.com/clearlinux/graphene.git
synced 2026-09-07 06:14:02 +00:00
fixup! [PAL] Fix unaligned memory adresses and sizes
This commit is contained in:
@@ -223,6 +223,8 @@ void pal_linux_main (void * args)
|
||||
ELF_DYNAMIC_RELOCATE(&pal_map);
|
||||
|
||||
linux_state.environ = envp;
|
||||
|
||||
/* Set page alignment early */
|
||||
pal_state.pagesize = pagesz;
|
||||
pal_state.alloc_align = pagesz;
|
||||
pal_state.alloc_shift = pagesz - 1;
|
||||
|
||||
Reference in New Issue
Block a user