kern: fix bss end align (now gets through kernelldr on hardware)

This commit is contained in:
Michael Scire 2020-01-23 21:57:40 -08:00
parent 24d41ce55e
commit 308ddecc9c
2 changed files with 4 additions and 3 deletions

View file

@ -157,10 +157,11 @@ SECTIONS
*(COMMON)
. = ALIGN(8);
} : data
__bss_end__ = .;
. = ALIGN(0x1000);
__bss_end__ = .;
__end__ = ABSOLUTE(.);
/* ==================

View file

@ -220,7 +220,7 @@ begin_flush_cache_local_loop:
cmn w9, #1
b.eq done_flush_cache_local_loop
/* FlushEntireDataCacheImplWithoutStack(level); */
/* FlushEntireDataCacheImplWithoutStack(level); */
mov w0, w9
bl _ZN3ams4kern5arm643cpu36FlushEntireDataCacheImplWithoutStackEv
@ -256,7 +256,7 @@ begin_flush_cache_shared_loop:
cmp w10, w9
b.gt done_flush_cache_shared_loop
/* FlushEntireDataCacheImplWithoutStack(level); */
/* FlushEntireDataCacheImplWithoutStack(level); */
mov w0, w9
bl _ZN3ams4kern5arm643cpu36FlushEntireDataCacheImplWithoutStackEv