fixup! [PAL] Fix unaligned memory adresses and sizes

This commit is contained in:
Chia-Che Tsai
2019-08-20 15:44:57 -05:00
parent 180f21e63b
commit 036ad25686
+2
View File
@@ -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;