Home
last modified time | relevance | path

Searched refs:stackBottom (Results 1 – 21 of 21) sorted by relevance

/CTR-SDK-4.2.5/sources/libraries/os/ARM/
Dos_ExceptionHandler.cpp24 void SetUserExceptionHandler(UserExceptionHandler pHandler, uptr stackBottom) in SetUserExceptionHandler() argument
26 SetUserExceptionHandler(pHandler, stackBottom, EXCEPTION_BUFFER_USE_HANDLER_STACK); in SetUserExceptionHandler()
29 void SetUserExceptionHandler(UserExceptionHandler pHandler, uptr stackBottom, in SetUserExceptionHandler() argument
36 pTlr->handlerStackBottomAddress = stackBottom; in SetUserExceptionHandler()
40 void SetUserExceptionHandlerLocal(UserExceptionHandler pHandler, uptr stackBottom, in SetUserExceptionHandlerLocal() argument
46 pTlr->handlerStackBottomAddress = stackBottom; in SetUserExceptionHandlerLocal()
/CTR-SDK-4.2.5/sources/libraries/os/
Dos_Thread.cpp44 uptr stackBottom; member
45 StackBufferAdapter(uptr stackBottom) : stackBottom(stackBottom) {} in StackBufferAdapter()
46 uptr GetStackBottom() const { return stackBottom; } in GetStackBottom()
214 uptr stackBottom, in TryInitializeAndStartImpl() argument
223 stackBottom, in TryInitializeAndStartImpl()
226 (isAutoStack ? stackBottom: NULL) ); in TryInitializeAndStartImpl()
233 uptr stackBottom, in TryInitializeAndStartImpl() argument
242 uptr stack = stackBottom; in TryInitializeAndStartImpl()
301 Result Thread::PostStartUsingAutoStack(Result result, uptr stackBottom) in PostStartUsingAutoStack() argument
305 s_pAutoStackManager->Destruct(reinterpret_cast<void*>(stackBottom), true); in PostStartUsingAutoStack()
[all …]
Dos_SimpleAutoStackManagerBase.cpp38 void SimpleAutoStackManagerBase::Initialize(fnd::IAllocator* pAllocator, uptr stackBottom) in Initialize() argument
44 m_DestructorStackBottom = stackBottom; in Initialize()
50 uptr stackBottom = m_DestructorStackBottom; in Finalize() local
58 return stackBottom; in Finalize()
85 uptr stackBottom NN_IS_UNUSED_VAR, in CallFreeStackOnOtherStack()
Dos_SimpleAutoStackManager.cpp40 uptr stackBottom = reinterpret_cast<uptr>(pMemory) + stackSize; in Construct() local
41 stackBottom = math::RoundDown(stackBottom - sizeof(DataOnStack), 8); in Construct()
42 DataOnStack* const pStackBottom = reinterpret_cast<DataOnStack*>(stackBottom); in Construct()
Dos_ManagedThread.cpp72 uptr stackBottom; member
73 StackBufferAdapter(uptr stackBottom) : stackBottom(stackBottom) {} in StackBufferAdapter()
74 uptr GetStackBottom() const { return stackBottom; } in GetStackBottom()
152 …tartParam, const TypeInfo& typeInfo, ThreadFunc f, const void* p, uptr stackBottom, size_t stackSi… in SetupStackAndParam() argument
156 uptr stack = stackBottom; in SetupStackAndParam()
175 m_StackBufferEnd = stackBottom; in SetupStackAndParam()
183 …ializeImpl(const TypeInfo& typeInfo, ThreadFunc f, const void* p, uptr stackBottom, size_t stackSi… in TryInitializeImpl() argument
189 stackBottom, in TryInitializeImpl()
196 …ializeImpl(const TypeInfo& typeInfo, ThreadFunc f, const void* p, uptr stackBottom, size_t stackSi… in TryInitializeImpl() argument
201 … const uptr newStackBottom = SetupStackAndParam(&param, typeInfo, f, p, stackBottom, stackSize); in TryInitializeImpl()
[all …]
Dos_Default.cpp61 uptr stackBottom = nnosStackMemoryBlockGetStackBottom(&stackBlock); in Construct() local
62 stackBottom -= math::RoundUp(sizeof(nnosStackMemoryBlock), 8); in Construct()
64 … nnosStackMemoryBlock* pBlockOnStack = reinterpret_cast<nnosStackMemoryBlock*>(stackBottom); in Construct()
71 return reinterpret_cast<void*>(stackBottom); in Construct()
104 uptr stackBottom NN_IS_UNUSED_VAR, in InvokeOnOtherStack()
Dos_LightAlarm.cpp44 uptr stackBottom; member
45 StackBufferAdapter(uptr stackBottom) : stackBottom(stackBottom) {} in StackBufferAdapter()
46 uptr GetStackBottom() const { return stackBottom; } in GetStackBottom()
177 void nn::os::detail::InitializeLightAlarmSystemImplCore( uptr stackBottom, s32 priority, nn::os::de… in InitializeLightAlarmSystemImplCore() argument
185 StackBufferAdapter stack(stackBottom); in InitializeLightAlarmSystemImplCore()
191 void InitializeLightAlarmSystemImpl( uptr stackBottom, s32 priority ) in InitializeLightAlarmSystemImpl() argument
193 InitializeLightAlarmSystemImplCore( stackBottom, priority, &s_LightAlarmSystemCore ); in InitializeLightAlarmSystemImpl()
320 void nnosInitializeLightAlarmSystem( uptr stackBottom, s32 priority ) in nnosInitializeLightAlarmSystem() argument
322 nn::os::InitializeLightAlarmSystemImpl(stackBottom, priority); in nnosInitializeLightAlarmSystem()
Dos_StackMemoryAutoStackManager.cpp45 uptr stackBottom = stackMemory.GetStackBottom(); in Construct() local
46 stackBottom -= math::RoundUp(sizeof(DataOnStack), 8); in Construct()
47 DataOnStack* const pStackBottom = reinterpret_cast<DataOnStack*>(stackBottom); in Construct()
Dos_ThreadPool.cpp60 uptr stackBottom; member
61 StackBufferAdapter(uptr stackBottom) : stackBottom(stackBottom) {} in StackBufferAdapter()
62 uptr GetStackBottom() const { return stackBottom; } in GetStackBottom()
74 inline void ThreadPool::StartExecuteThread(size_t i, uptr stackBottom, s32 priority) in StartExecuteThread() argument
77 StackBufferAdapter stack(stackBottom); in StartExecuteThread()
245 void SingleThreadPool::Initialize(uptr stackBottom, s32 priority) in Initialize() argument
249 StackBufferAdapter stack(stackBottom); in Initialize()
Dos_ContinuationIterator.cpp62 void ContinuationIteratorBase::Initialize(void *stackBottom) in Initialize() argument
64 bit32 sp = reinterpret_cast<uptr>(stackBottom); in Initialize()
/CTR-SDK-4.2.5/include/nn/os/ARM/
Dos_ExceptionHandler.h138 UserExceptionHandler pHandler, uptr stackBottom, ExceptionBuffer* pExceptionBuffer );
197 UserExceptionHandler pHandler, uptr stackBottom, ExceptionBuffer* pExceptionBuffer);
249 void SetUserExceptionHandler(UserExceptionHandler pHandler, uptr stackBottom);
/CTR-SDK-4.2.5/include/nn/os/
Dos_SimpleAutoStackManagerBase.h51 void Initialize(fnd::IAllocator* pAllocator, uptr stackBottom);
63 void CallFreeStackOnOtherStack(void* pStackBottom, uptr stackBottom, uptr returnAddress);
Dos_StackMemoryAutoStackManager.h102 void Initialize(fnd::IAllocator* pAllocator, uptr stackBottom) in Initialize() argument
103 { Base::Initialize(pAllocator, stackBottom); } in Initialize()
Dos_SimpleAutoStackManager.h100 void Initialize(fnd::IAllocator* pAllocator, uptr stackBottom) in Initialize() argument
101 { Base::Initialize(pAllocator, stackBottom); } in Initialize()
Dos_LightAlarm.h45 void InitializeLightAlarmSystemImpl(uptr stackBottom, s32 priority = 0);
255 …void InitializeLightAlarmSystemImplCore( uptr stackBottom, s32 priority, nn::os::detail::LightAlar…
276 NN_EXTERN_C void nnosInitializeLightAlarmSystem( uptr stackBottom, s32 priority );
Dos_Thread.h701 …dStartImpl(const TypeInfo& typeInfo, ThreadFunc f, const void* p, uptr stackBottom, s32 priority, …
702 …dStartImpl(const TypeInfo& typeInfo, ThreadFunc f, const void* p, uptr stackBottom, s32 priority, …
705 Result PostStartUsingAutoStack(Result result, uptr stackBottom);
728 static Result PostStartUsingAutoStack(Thread* pThread, Result result, uptr stackBottom) in PostStartUsingAutoStack() argument
730 return pThread->PostStartUsingAutoStack(result, stackBottom); in PostStartUsingAutoStack()
1154 …nitializeAndStart(nnosThread* this_, void (*f)(uptr), uptr param, uptr stackBottom, s32 priority, …
1159 …nitializeAndStart(nnosThread* this_, void (*f)(uptr), uptr param, uptr stackBottom, s32 priority, …
Dos_ContinuationIterator.h76 void Initialize(void* stackBottom);
Dos_ManagedThread.h756 …Initialize(const TypeInfo& typeInfo, ThreadFunc f, const void* p, uptr stackBottom, size_t stackSi…
772 uptr stackBottom,
780 uptr stackBottom,
786 …m* pParam, const TypeInfo& typeInfo, ThreadFunc f, const void* p, uptr stackBottom, size_t stackSi…
Dos_ThreadPool.h207 void StartExecuteThread(size_t i, uptr stackBottom, s32 priority);
/CTR-SDK-4.2.5/sources/libraries/dbg/CTR/
Ddbg_ExceptionScreen.cpp436 uptr stackBottom = FindThreadStackBottomByStackAddr(stackPtr); in PutBackTraceString() local
442 if (stackBottom > 0) in PutBackTraceString()
444 const int end = (reinterpret_cast<const bit32*>(stackBottom) - stack); in PutBackTraceString()
/CTR-SDK-4.2.5/include/nn/svc/
Dsvc_Stub.h45 … ( nn::Handle* pOut, nn::os::ThreadFunc f, uptr param, uptr stackBottom, s32 prio, s32 …