File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -844,6 +844,10 @@ core::arch::global_asm!(
844844) ;
845845
846846/// Spins secondary cores.
847+ ///
848+ /// This function is exported so the linker can use it as a default
849+ /// implementation of `kmain_secondary`, but it's considered an internal API
850+ /// that we don't expect you to call.
847851#[ unsafe( no_mangle) ]
848852#[ cfg( target_arch = "arm" ) ]
849853pub extern "C" fn _default_kmain_secondary ( ) {
@@ -859,7 +863,9 @@ pub extern "C" fn _default_kmain_secondary() {
859863
860864// # _asm_stack_setup_preallocated
861865//
862- // Configure a stack for every mode. Leaves you in sys mode.
866+ // Configure a stack for every mode using linker provided constants.
867+ //
868+ // Leaves you in SYS mode at the end.
863869//
864870// Pass the core number in r0
865871#[ cfg( target_arch = "arm" ) ]
You can’t perform that action at this time.
0 commit comments