mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-23 04:12:02 +00:00
kern: fix bss end align (now gets through kernelldr on hardware)
This commit is contained in:
parent
24d41ce55e
commit
308ddecc9c
2 changed files with 4 additions and 3 deletions
|
@ -157,10 +157,11 @@ SECTIONS
|
|||
*(COMMON)
|
||||
. = ALIGN(8);
|
||||
} : data
|
||||
__bss_end__ = .;
|
||||
|
||||
. = ALIGN(0x1000);
|
||||
|
||||
__bss_end__ = .;
|
||||
|
||||
__end__ = ABSOLUTE(.);
|
||||
|
||||
/* ==================
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue