| /CTR-SDK-0.14.4/sources/libraries/os/ |
| D | os_PrintResultImpl.cpp | 37 namespace nn { namespace os { namespace 42 CASE_GET_RESULT_DESCRIPTION_STRING_IMPL(::nn::os, DESCRIPTION_FAILED_TO_ALLOCATE_MEMORY) in CASE_GET_RESULT_DESCRIPTION_STRING_IMPL() argument 43 CASE_GET_RESULT_DESCRIPTION_STRING_IMPL(::nn::os, DESCRIPTION_FAILED_TO_ALLOCATE_SHARED_MEMORY) in CASE_GET_RESULT_DESCRIPTION_STRING_IMPL() 44 CASE_GET_RESULT_DESCRIPTION_STRING_IMPL(::nn::os, DESCRIPTION_FAILED_TO_ALLOCATE_THREAD) in CASE_GET_RESULT_DESCRIPTION_STRING_IMPL() 45 CASE_GET_RESULT_DESCRIPTION_STRING_IMPL(::nn::os, DESCRIPTION_FAILED_TO_ALLOCATE_MUTEX) in CASE_GET_RESULT_DESCRIPTION_STRING_IMPL() 46 CASE_GET_RESULT_DESCRIPTION_STRING_IMPL(::nn::os, DESCRIPTION_FAILED_TO_ALLOCATE_SEMAPHORE) in CASE_GET_RESULT_DESCRIPTION_STRING_IMPL() 47 CASE_GET_RESULT_DESCRIPTION_STRING_IMPL(::nn::os, DESCRIPTION_FAILED_TO_ALLOCATE_EVENT) in CASE_GET_RESULT_DESCRIPTION_STRING_IMPL() 48 CASE_GET_RESULT_DESCRIPTION_STRING_IMPL(::nn::os, DESCRIPTION_FAILED_TO_ALLOCATE_TIMER) in CASE_GET_RESULT_DESCRIPTION_STRING_IMPL() 49 CASE_GET_RESULT_DESCRIPTION_STRING_IMPL(::nn::os, DESCRIPTION_FAILED_TO_ALLOCATE_PORT) in CASE_GET_RESULT_DESCRIPTION_STRING_IMPL() 50 CASE_GET_RESULT_DESCRIPTION_STRING_IMPL(::nn::os, DESCRIPTION_FAILED_TO_ALLOCATE_SESSION) in CASE_GET_RESULT_DESCRIPTION_STRING_IMPL() [all …]
|
| D | os_Initialize.cpp | 24 NN_DBG_DECLARE_GET_RESULT_DESCRIPTION_STRING_IMPL_KEEPER(os) 27 namespace nn { namespace os { namespace 31 nn::os::WaitableCounter::Initialize(); in Initialize() 36 NN_DBG_USE_GET_RESULT_DESCRIPTION_STRING_IMPL_KEEPER(os); in Initialize() 46 nn::os::Initialize(); in nnosInitialize()
|
| D | os_Memory.cpp | 31 namespace nn{ namespace os{ namespace 80 … (nn::os::MEMORY_OPERATION_COMMIT | nn::os::MEMORY_OPERATION_FLAG_LINEAR), in SetDeviceMemorySize() 81 nn::os::MEMORY_PERMISSION_READ_WRITE ); in SetDeviceMemorySize() 108 nn::os::MEMORY_OPERATION_FREE, in SetDeviceMemorySize() 109 nn::os::MEMORY_PERMISSION_NONE ); in SetDeviceMemorySize() 151 nn::os::MEMORY_OPERATION_COMMIT, in SetHeapSize() 152 nn::os::MEMORY_PERMISSION_READ_WRITE ); in SetHeapSize() 171 nn::os::MEMORY_OPERATION_FREE, in SetHeapSize() 172 nn::os::MEMORY_PERMISSION_NONE ); in SetHeapSize() 212 using namespace nn::os; [all …]
|
| D | os_Default.cpp | 19 namespace nn { namespace os { namespace 31 class DefaultAutoStackManager : public nn::os::Thread::AutoStackManager 37 … nn::os::Mutex m_DestructorMutex; //!< スタック領域解放処理用同期オブジェクト 41 nn::os::StackBuffer<DESTRUCTOR_STACK_SIZE> m_DestructorStack; 73 nn::os::detail::Switch( in Construct() 74 reinterpret_cast<nn::os::StackMemoryBlock*>(pBlockOnStack), in Construct() 75 reinterpret_cast<nn::os::StackMemoryBlock*>(&stackBlock) ); in Construct() 142 nn::os::Thread::SetAutoStackManager(&s_AutoStackManager); in SetDefaultAutoStackManager()
|
| D | os_StackMemory.cpp | 37 namespace nn{ namespace os{ namespace 76 nn::os::MEMORY_OPERATION_MAP, in Initialize() 77 nn::os::MEMORY_PERMISSION_READ_WRITE ); in Initialize() 84 nn::os::MEMORY_OPERATION_PROTECT, in Initialize() 85 nn::os::MEMORY_PERMISSION_NONE ); in Initialize() 105 nn::os::MEMORY_OPERATION_FREE, in Finalize() 106 nn::os::MEMORY_PERMISSION_READ_WRITE ); in Finalize() 114 nn::os::MEMORY_OPERATION_PROTECT, in Finalize() 115 nn::os::MEMORY_PERMISSION_READ_WRITE ); in Finalize() 136 using namespace nn::os;
|
| D | os_InterCoreCriticalSection.cpp | 27 using namespace nn::os; 30 namespace nn{ namespace os{ namespace 56 using namespace nn::os;
|
| /CTR-SDK-0.14.4/include/nn/err/CTR/ |
| D | err_Exception.h | 25 void ThrowException( nn::os::ExceptionInfo* pei, nn::os::ExceptionContext* pec ); 31 const char* GetExceptionTypeString(nn::os::ExceptionType type); 35 void PrintGeneralRegisterInfo( const nn::os::ExceptionContext& ec ); 37 void PrintException(const nn::os::ExceptionInfo& ei, const nn::os::ExceptionContext& ec);
|
| /CTR-SDK-0.14.4/include/nn/svc/ |
| D | svc_Inlines.h | 34 const os::ResetType rt = (isManualReset ? os::RESET_TYPE_STICKY: os::RESET_TYPE_ONESHOT); in CreateEvent() 39 const os::ResetType rt = (isManualReset ? os::RESET_TYPE_STICKY: os::RESET_TYPE_ONESHOT); in CreateTimer() 60 const bit32 p2 = (os::MEMORY_PERMISSION_READ | os::MEMORY_PERMISSION_WRITE); in MapSharedMemory()
|
| D | svc_Stub.h | 39 …lt QueryMemory ( nn::os::MemoryInfo* pBlockInfo, nn::os::Pag… 45 nn::Result CreateThread ( nn::Handle* pOut, nn::os::ThreadFunc… 55 nn::Result Run ( nn::Handle runner, const nn::os::Sta… 60 nn::Result CreateEvent ( nn::Handle* pOut, nn::os::ResetType … 63 nn::Result CreateTimer ( nn::Handle* pOut, nn::os::ResetType … 71 … ArbitrateAddress ( nn::Handle arbiter, uptr addr, nn::os::ArbitrationType typ… 78 nn::Result GetHandleInfo ( s64* pOut, nn::Handle handle, nn::os… 79 nn::Result GetSystemInfo ( s64* pOut, nn::os::SystemInfoType ty… 80 … GetProcessInfo ( s64* pOut, nn::Handle process, nn::os::ProcessInfoType typ… 81 nn::Result GetThreadInfo ( s64* pOut, nn::Handle thread, nn::os… [all …]
|
| /CTR-SDK-0.14.4/include/nn/font/ |
| D | font_Stopwatch.h | 36 using namespace nn::os; in Start() 44 using namespace nn::os; in Stop() 48 m_StartTick = nn::os::Tick(); in Stop() 53 m_TotalTick = nn::os::Tick(); in Reset() 63 return m_StartTick != nn::os::Tick(); in IsRunning() 67 nn::os::Tick m_StartTick; 68 nn::os::Tick m_TotalTick;
|
| /CTR-SDK-0.14.4/sources/libraries/init/ |
| D | init_Default.cpp | 46 const size_t assingment = nn::os::GetAppMemorySize(); in nninitStartUpDefault() 47 const size_t currentUsing = nn::os::GetUsingMemorySize(); in nninitStartUpDefault() 50 const size_t heapSize = available - nn::os::DEVICE_MEMORY_SIZE; in nninitStartUpDefault() 52 nn::os::SetupHeapForMemoryBlock(heapSize); in nninitStartUpDefault() 53 nn::os::InitializeDeviceMemory(); in nninitStartUpDefault() 76 nn::os::detail::SaveThreadLocalRegionAddress(); in nninitSetupDefault()
|
| /CTR-SDK-0.14.4/sources/libraries/test/ |
| D | test_Init.cpp | 24 const s32 prevPrio = nn::os::Thread::GetCurrentPriority(); in nniopdevMain() 25 nn::os::Thread::ChangeCurrentPriority(nn::os::DEFAULT_THREAD_PRIORITY); in nniopdevMain() 29 nn::os::Thread::ChangeCurrentPriority(prevPrio); in nniopdevMain()
|
| /CTR-SDK-0.14.4/include/nn/os/CTR/ |
| D | os_HardwareParamsSelect.h | 24 namespace nn { namespace os { namespace CTR { 25 using namespace nn::os::CTR::MPCore; 32 namespace nn { namespace os { namespace CTR { 33 using namespace nn::os::CTR::ARM946ES;
|
| /CTR-SDK-0.14.4/include/nn/os/ |
| D | os_ThreadPool.h | 42 namespace nn { namespace os { 92 …ThreadPool(void* workBuffer, size_t numMaxWaitObjects, size_t numWorkerThreads, nn::os::StackMemor… 126 …void Initialize(void* workBuffer, size_t numMaxWaitObjects, size_t numWorkerThreads, nn::os::Stack… 184 nn::os::CriticalSection m_WaitLock; 185 nn::os::Event m_WaitEvent; 189 nn::os::CriticalSection m_ExecuteLock; 190 nn::os::LightEvent m_ExecuteEvent; 214 …l(void* workBuffer, size_t numMaxWaitObjects, size_t numWorkerThreads, nn::os::StackMemoryBlock wo… in ThreadPool() 236 nn::os::Thread m_WorkerThread; 238 nn::os::CriticalSection m_ExecuteLock; [all …]
|
| D | os_TransferMemoryBlock.h | 27 namespace nn{ namespace os{ 40 bit32 myPermission = os::MEMORY_PERMISSION_NONE, 41 bit32 otherPermission = os::MEMORY_PERMISSION_READ_WRITE ); 46 bit32 myPermission = os::MEMORY_PERMISSION_NONE, 47 bit32 otherPermission = os::MEMORY_PERMISSION_READ_WRITE );
|
| D | os_WaitableCounter.h | 33 namespace nn { namespace os { 76 return ArbitrateAddress(nn::os::ARBITRATION_TYPE_DECREMENT_AND_WAIT_IF_LESS_THAN, value); in DecrementAndWaitIfLessThan() 90 return ArbitrateAddress(nn::os::ARBITRATION_TYPE_WAIT_IF_LESS_THAN, value); in WaitIfLessThan() 104 return ArbitrateAddress(nn::os::ARBITRATION_TYPE_SIGNAL, num); in Signal() 118 Result ArbitrateAddress(nn::os::ArbitrationType type, s32 value) in ArbitrateAddress()
|
| D | os_ExceptionHandlerSelect.h | 24 namespace nn { namespace os { 25 using namespace nn::os::ARM; 29 using namespace nn::os::ARM::detail;
|
| D | os_BlockingQueue.h | 34 namespace nn { namespace os { 119 class BlockingQueue : private os::detail::BlockingQueueBase<nn::os::CriticalSection> 122 typedef os::detail::BlockingQueueBase<nn::os::CriticalSection> Base; 310 class InterCoreBlockingQueue : private os::detail::BlockingQueueBase<nn::os::InterCoreCriticalSecti… 313 typedef os::detail::BlockingQueueBase<nn::os::InterCoreCriticalSection> Base; 502 class SafeBlockingQueue : private os::detail::BlockingQueueBase<nn::os::Mutex> 505 typedef os::detail::BlockingQueueBase<nn::os::Mutex> Base; 708 NN_UTIL_DETAIL_CLIBIMPL_DEFINE_BUFFER_CLASS(nnosBlockingQueue, nn::os::BlockingQueue, 40 + NN_OS_CR… 789 NN_UTIL_DETAIL_CLIBIMPL_DEFINE_BUFFER_CLASS(nnosSafeBlockingQueue, nn::os::SafeBlockingQueue, 44, u…
|
| D | os_HardwareParamsSelect.h | 24 namespace nn { namespace os { 25 using namespace nn::os::CTR;
|
| /CTR-SDK-0.14.4/include/nn/hid/CTR/ |
| D | hid_HidBase.h | 39 class HidBase : public nn::os::EventBase 42 HidBase() : nn::os::EventBase() {} in HidBase() 109 return nn::os::WaitObject::WaitAny(reinterpret_cast<nn::os::WaitObject**>(devices), numDevices); in WaitSamplingAny() 114 …return nn::os::WaitObject::WaitAny(reinterpret_cast<nn::os::WaitObject**>(devices), numDevices, ti… in WaitSamplingAny()
|
| /CTR-SDK-0.14.4/build/runner/ |
| D | run-core_0_2.py | 3 import os 4 import os.path 15 ROOT = os.getenv("HORIZON_ROOT").replace("\\","/") 19 WF = os.path.normpath(os.path.join(ROOT,"tools/CommandLineTools/wf.exe")) 22 PP = os.path.normpath(os.path.join(ROOT,"tools/CommandLineTools/partner_partner.rb"))
|
| /CTR-SDK-0.14.4/include/nn/net/osl/ |
| D | osl_IpcDispatcher.h | 32 class IpcDispatcherBase : public os::ipc::Port 63 s32 WaitAny(nn::os::WaitObject* ppObjects[], s32 countWaitObjects) in WaitAny() 68 nn::os::WaitObject* ppObjectsToWait[DISPATCHERS_MAX + WAITOBJECTS_MAX]; in WaitAny() 84 … index = nn::os::WaitObject::WaitAny(ppObjectsToWait, m_countDispatchers + countWaitObjects); in WaitAny() 134 Result TryInitialize(os::ipc::Port& port, s32 priority = os::DEFAULT_THREAD_PRIORITY) 192 … if (result.IsFailure() && result.GetDescription() != nn::os::DESCRIPTION_SESSION_CLOSED) in SessionThreadImpl() 203 typedef nn::os::StackBuffer<StackSize> StackT; 207 nn::os::Thread m_thread; 208 nn::os::ipc::Session m_session; 220 s32 maxThreads = 1, s32 priority = os::DEFAULT_THREAD_PRIORITY) [all …]
|
| /CTR-SDK-0.14.4/sources/libraries/ndm/ |
| D | ndm_Setup.cpp | 32 nn::os::Tick tickStart = nn::os::Tick::GetSystemCurrent(); in SetupDaemonsDefault() 52 …NN_TLOG_("All network daemons are disabled by default at this time. (took %lldms)\n", (nn::os::Tic… in SetupDaemonsDefault()
|
| /CTR-SDK-0.14.4/sources/libraries/os/CTR/ |
| D | os_Environment.cpp | 20 namespace nn { namespace os { namespace CTR { namespace 24 return static_cast<TargetHardware>(os::GetWritableSharedInfo().targetHardware); in GetRunningTargetHardware()
|
| /CTR-SDK-0.14.4/include/nn/fs/ |
| D | fs_Api.h | 50 void RegisterSdmcInsertedEvent(nn::os::LightEvent* p); 65 void RegisterSdmcEjectedEvent(nn::os::LightEvent* p);
|