Home
last modified time | relevance | path

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

123456

/CTR-SDK-0.14.23/CTR_SDK-0_14_23-20110107-en/CTR_SDK/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.cpp24 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()
Dos_Memory.cpp31 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 …]
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
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_UNMAP, 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;
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-0.14.23/CTR_SDK-0_14_23-20110107-en/CTR_SDK/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-0.14.23/CTR_SDK-0_14_23-20110107-en/CTR_SDK/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-0.14.23/CTR_SDK-0_14_23-20110107-en/CTR_SDK/include/nn/font/
Dfont_Stopwatch.h36 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.23/CTR_SDK-0_14_23-20110107-en/CTR_SDK/sources/libraries/init/
Dinit_Default.cpp46 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()
88 nn::os::detail::SaveThreadLocalRegionAddress(); in nninitSetupDefaultWithoutSettingExitHandler()
/CTR-SDK-0.14.23/CTR_SDK-0_14_23-20110107-en/CTR_SDK/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-0.14.23/CTR_SDK-0_14_23-20110107-en/CTR_SDK/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-0.14.23/CTR_SDK-0_14_23-20110107-en/CTR_SDK/include/nn/os/
Dos_ThreadPool.h42 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 …]
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-0.14.23/CTR_SDK-0_14_23-20110107-en/CTR_SDK/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-0.14.23/CTR_SDK-0_14_23-20110107-en/CTR_SDK/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-0.14.23/CTR_SDK-0_14_23-20110107-en/CTR_SDK/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-0.14.23/CTR_SDK-0_14_23-20110107-en/CTR_SDK/sources/libraries/ndm/
Dndm_Setup.cpp32 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.23/CTR_SDK-0_14_23-20110107-en/CTR_SDK/sources/libraries/os/CTR/
Dos_Environment.cpp20 namespace nn { namespace os { namespace CTR { namespace
24 return static_cast<TargetHardware>(os::GetWritableSharedInfo().targetHardware); in GetRunningTargetHardware()

123456