os_core

Family of src/nx/nn/hooks.hook. The hooks_off setting turns a family off by its name.

nn::os's current core (os_sync.c): the core the calling thread is scheduled on, svcGetCurrentProcessorNumber's answer with no SVC

nn::os::GetCurrentCoreNumber() source

_ZN2nn2os20GetCurrentCoreNumberEv
As C: i32 ()
Handler: os_core_number (os_sync.c)

nn::os::detail::ThreadManagerImplByHorizon::GetCurrentCoreNumber() const source

_ZNK2nn2os6detail26ThreadManagerImplByHorizon20GetCurrentCoreNumberEv
As C: i32 (addr self)
Handler: os_core_number_impl (os_sync.c)


Made from ScarletNX's Sail at 166ad3910f80. The hooks' and the SVCs' declarations and their handlers are ScarletNX's (GPL-3.0-or-later); the SVCs' declarations are Eden's, as hos.svc says.