1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-26 22:02:15 +00:00

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) *(COMMON)
. = ALIGN(8); . = ALIGN(8);
} : data } : data
__bss_end__ = .;
. = ALIGN(0x1000); . = ALIGN(0x1000);
__bss_end__ = .;
__end__ = ABSOLUTE(.); __end__ = ABSOLUTE(.);
/* ================== /* ==================

View file

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