Home
last modified time | relevance | path

Searched refs:os (Results 1 – 25 of 145) sorted by relevance

123456

/CTR-SDK-2.4.0/sources/libraries/os/
Dos_PrintResultImpl.cpp37 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 …]
Dos_Initialize.cpp25 NN_DBG_DECLARE_GET_RESULT_DESCRIPTION_STRING_IMPL_KEEPER(os)
28 namespace nn { namespace os { namespace
32 nn::os::WaitableCounter::Initialize(); in Initialize()
34 nn::os::detail::InitializeSharedMemory(); in Initialize()
35 nn::os::detail::InitializeStackMemory(); in Initialize()
37 nn::os::detail::InitializeThreadEnvrionment(); in Initialize()
38 NN_DBG_USE_GET_RESULT_DESCRIPTION_STRING_IMPL_KEEPER(os); in Initialize()
48 nn::os::Initialize(); in nnosInitialize()
Dos_Memory.cpp30 namespace nn{ namespace os{ namespace
89 … (nn::os::MEMORY_OPERATION_COMMIT | nn::os::MEMORY_OPERATION_FLAG_LINEAR), in SetDeviceMemorySize()
90 nn::os::MEMORY_PERMISSION_READ_WRITE ); in SetDeviceMemorySize()
117 nn::os::MEMORY_OPERATION_FREE, in SetDeviceMemorySize()
118 nn::os::MEMORY_PERMISSION_NONE ); in SetDeviceMemorySize()
162 nn::os::MEMORY_OPERATION_COMMIT, in SetHeapSize()
163 nn::os::MEMORY_PERMISSION_READ_WRITE ); in SetHeapSize()
182 nn::os::MEMORY_OPERATION_FREE, in SetHeapSize()
183 nn::os::MEMORY_PERMISSION_NONE ); in SetHeapSize()
223 using namespace nn::os;
[all …]
Dos_Default.cpp19 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()
Dos_StackMemory.cpp37 namespace nn{ namespace os{ namespace
93 nn::os::MEMORY_OPERATION_MAP, in TryInitialize()
94 nn::os::MEMORY_PERMISSION_READ_WRITE ); in TryInitialize()
101 nn::os::MEMORY_OPERATION_PROTECT, in TryInitialize()
102 nn::os::MEMORY_PERMISSION_NONE ); in TryInitialize()
122 nn::os::MEMORY_OPERATION_UNMAP, in Finalize()
123 nn::os::MEMORY_PERMISSION_READ_WRITE ); in Finalize()
131 nn::os::MEMORY_OPERATION_PROTECT, in Finalize()
132 nn::os::MEMORY_PERMISSION_READ_WRITE ); in Finalize()
153 using namespace nn::os;
Dos_InterCoreCriticalSection.cpp27 using namespace nn::os;
30 namespace nn{ namespace os{ namespace
56 using namespace nn::os;
Dos_CriticalSection.cpp27 using namespace nn::os;
30 namespace nn{ namespace os{ namespace
56 using namespace nn::os;
/CTR-SDK-2.4.0/include/nn/err/CTR/
Derr_Exception.h25 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-2.4.0/include/nn/svc/
Dsvc_Inlines.h34 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()
Dsvc_Stub.h39 …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-2.4.0/sources/libraries/init/
Dinit_Default.cpp45 const size_t assingment = nn::os::GetAppMemorySize(); in nninitStartUpDefault()
46 const size_t currentUsing = nn::os::GetUsingMemorySize(); in nninitStartUpDefault()
49 const size_t heapSize = available - nn::os::DEVICE_MEMORY_SIZE; in nninitStartUpDefault()
51 nn::os::SetupHeapForMemoryBlock(heapSize); in nninitStartUpDefault()
52 nn::os::InitializeDeviceMemory(); in nninitStartUpDefault()
65 nn::os::detail::SaveThreadLocalRegionAddress(); in nninitSetupDefault()
77 nn::os::detail::SaveThreadLocalRegionAddress(); in nninitSetupDefaultWithSettingExitHandler()
/CTR-SDK-2.4.0/sources/libraries/test/
Dtest_Init.cpp24 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-2.4.0/include/nn/os/
Dos_ErrorHandlerSelect.h24 namespace nn { namespace os { namespace detail {
25 using nn::os::CTR::detail::InternalErrorHandler;
26 using nn::os::CTR::detail::SetInternalErrorHandlerMode;
44 ::nn::os::detail::InternalErrorHandler(nn_os_result); \
55 ::nn::os::detail::InternalErrorHandler(nn_os_result, NN_FILE_NAME, __LINE__); \
Dos_ThreadPool.h42 namespace nn { namespace os {
94 …ThreadPool(void* workBuffer, size_t numMaxWaitObjects, size_t numWorkerThreads, nn::os::StackMemor…
130 …void Initialize(void* workBuffer, size_t numMaxWaitObjects, size_t numWorkerThreads, nn::os::Stack…
188 nn::os::CriticalSection m_WaitLock;
189 nn::os::Event m_WaitEvent;
193 nn::os::CriticalSection m_ExecuteLock;
194 nn::os::LightEvent m_ExecuteEvent;
218 …l(void* workBuffer, size_t numMaxWaitObjects, size_t numWorkerThreads, nn::os::StackMemoryBlock wo… in ThreadPool()
240 nn::os::Thread m_WorkerThread;
242 nn::os::CriticalSection m_ExecuteLock;
[all …]
Dos_TransferMemoryBlock.h27 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 );
Dos_WaitableCounter.h27 namespace nn { namespace os {
49 return ArbitrateAddress(nn::os::ARBITRATION_TYPE_DECREMENT_AND_WAIT_IF_LESS_THAN, value); in DecrementAndWaitIfLessThan()
54 return ArbitrateAddress(nn::os::ARBITRATION_TYPE_WAIT_IF_LESS_THAN, value); in WaitIfLessThan()
59 return ArbitrateAddress(nn::os::ARBITRATION_TYPE_SIGNAL, num); in Signal()
68 Result ArbitrateAddress(nn::os::ArbitrationType type, s32 value) in ArbitrateAddress()
Dos_ExceptionHandlerSelect.h24 namespace nn { namespace os {
25 using namespace nn::os::ARM;
29 using namespace nn::os::ARM::detail;
Dos_HardwareParamsSelect.h24 namespace nn { namespace os {
25 using namespace nn::os::CTR;
Dos_BlockingQueue.h33 namespace nn { namespace os {
118 class BlockingQueue : private os::detail::BlockingQueueBase<nn::os::CriticalSection>
121 typedef os::detail::BlockingQueueBase<nn::os::CriticalSection> Base;
309 class SafeBlockingQueue : private os::detail::BlockingQueueBase<nn::os::Mutex>
312 typedef os::detail::BlockingQueueBase<nn::os::Mutex> Base;
515 NN_UTIL_DETAIL_CLIBIMPL_DEFINE_BUFFER_CLASS(nnosBlockingQueue, nn::os::BlockingQueue, 40 + NN_OS_CR…
596 NN_UTIL_DETAIL_CLIBIMPL_DEFINE_BUFFER_CLASS(nnosSafeBlockingQueue, nn::os::SafeBlockingQueue, 44, u…
/CTR-SDK-2.4.0/include/nn/os/CTR/
Dos_HardwareParamsSelect.h24 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-2.4.0/include/nn/hid/CTR/
Dhid_HidBase.h39 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-2.4.0/build/runner/
Drun-core_0_2.py3 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-2.4.0/include/nn/net/osl/
Dosl_IpcDispatcher.h32 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-2.4.0/sources/libraries/os/CTR/
Dos_Environment.cpp20 namespace nn { namespace os { namespace CTR { namespace
24 return static_cast<TargetHardware>(os::GetWritableSharedInfo().targetHardware); in GetRunningTargetHardware()
/CTR-SDK-2.4.0/sources/libraries/ndm/
Dndm_Setup.cpp46 nn::os::Tick tickStart = nn::os::Tick::GetSystemCurrent(); in SetupDaemonsDefault()
82 …NN_TLOG_("All network daemons are disabled by default at this time. (took %lldms)\n", (nn::os::Tic… in SetupDaemonsDefault()

123456