Home
last modified time | relevance | path

Searched refs:uptr (Results 1 – 25 of 93) sorted by relevance

1234

/CTR-SDK-0.14.23/CTR_SDK-0_14_23-20110107-en/CTR_SDK/include/nn/os/
Dos_BlockingQueue.h47 BlockingQueueBase(uptr buffer[], size_t size) { Initialize(buffer, size); } in BlockingQueueBase()
49 void Initialize(uptr buffer[], size_t size);
50 nn::Result TryInitialize(uptr buffer[], size_t size);
52 void Enqueue(uptr data);
53 bool TryEnqueue(uptr data);
54 bool ForceEnqueue(uptr data, uptr* pOut);
55 void Jam(uptr data);
56 bool TryJam(uptr data);
57 uptr Dequeue();
58 bool TryDequeue(uptr* pOut);
[all …]
Dos_InterCoreBlockingQueue.h47 InterCoreBlockingQueueBase(uptr buffer[], size_t size) { Initialize(buffer, size); } in InterCoreBlockingQueueBase()
49 void Initialize(uptr buffer[], size_t size);
50 nn::Result TryInitialize(uptr buffer[], size_t size);
52 void Enqueue(uptr data);
53 bool TryEnqueue(uptr data);
54 bool ForceEnqueue(uptr data, uptr* pOut);
55 void Jam(uptr data);
56 bool TryJam(uptr data);
57 uptr Dequeue();
58 bool TryDequeue(uptr* pOut);
[all …]
Dos_ThreadPool.h80 …ThreadPool(void* workBuffer, size_t numMaxWaitObjects, size_t numWorkerThreads, uptr workerStackBo…
113 …void Initialize(void* workBuffer, size_t numMaxWaitObjects, size_t numWorkerThreads, uptr workerSt…
169 uptr m_Buffer;
201 void StartExecuteThread(size_t i, uptr stackBottom, s32 priority);
207 …Pool(void* workBuffer, size_t numMaxWaitObjects, size_t numWorkerThreads, uptr workerStackBottoms[… in ThreadPool()
227 void Initialize(uptr workerThreadStackBottom, s32 workerPriority = DEFAULT_THREAD_PRIORITY);
264 ThreadPoolTaskForC(void (*f)(uptr), uptr param) : m_F(f), m_Param(param) {} in ThreadPoolTaskForC() argument
267 void (*m_F)(uptr);
268 uptr m_Param;
274 …ThreadPoolWaitTaskForC(nnosWaitObject* waitObject, void (*f)(uptr), uptr param) : m_WaitObject(wai… in ThreadPoolWaitTaskForC() argument
[all …]
Dos_InterCoreCriticalSection.h236 static uptr GetThreadUniqueValue() in GetThreadUniqueValue()
240 static uptr GetInvalidThreadUniqueValue() in GetInvalidThreadUniqueValue()
242 return static_cast<uptr>(-1); in GetInvalidThreadUniqueValue()
245 static uptr GetThreadUniqueValue() in GetThreadUniqueValue()
247 uptr v; in GetThreadUniqueValue()
251 static uptr GetInvalidThreadUniqueValue() in GetInvalidThreadUniqueValue()
264 uptr m_ThreadUniqueValue;
Dos_CriticalSection.h244 static uptr GetThreadUniqueValue() in GetThreadUniqueValue()
248 static uptr GetInvalidThreadUniqueValue() in GetInvalidThreadUniqueValue()
250 return static_cast<uptr>(-1); in GetInvalidThreadUniqueValue()
253 static uptr GetThreadUniqueValue() in GetThreadUniqueValue()
255 uptr v; in GetThreadUniqueValue()
259 static uptr GetInvalidThreadUniqueValue() in GetInvalidThreadUniqueValue()
272 uptr m_ThreadUniqueValue;
Dos_StackMemory.h57 uptr m_MemoryAddress;
125 uptr GetStackBottom() const { return GetAddress() + GetSize(); } in GetStackBottom()
183 NN_EXTERN_C uptr nnosStackMemoryGetAddress(nnosStackMemory* p);
193 NN_EXTERN_C uptr nnosStackMemoryGetStackBottom(nnosStackMemory* p);
Dos_Memory.h86 uptr GetDeviceMemoryAddress();
122 inline uptr GetHeapAddress() { return NN_OS_ADDR_HEAP_BEGIN; } in GetHeapAddress()
170 NN_EXTERN_C uptr nnosGetDeviceMemoryAddress(void);
/CTR-SDK-0.14.23/CTR_SDK-0_14_23-20110107-en/CTR_SDK/include/nn/fnd/
Dfnd_MemoryRange.h48 … MemoryRange(uptr begin, uptr end) : m_Begin(begin), m_End(end) { NN_TASSERT_(m_Begin <= m_End); } in MemoryRange()
57 …void Initialize(uptr begin, uptr end) { m_Begin = begin; m_End = end; NN_TASSERT_(m_Begin <= m_End… in Initialize()
62 uptr GetAddress() const { return m_Begin; } in GetAddress()
69 uptr GetEndAddress() const { return m_End; } in GetEndAddress()
79 uptr m_Begin;
80 uptr m_End;
Dfnd_HeapBase.h185 static uptr RoundDown(uptr addr, s32 alignment) in RoundDown()
190 static uptr RoundUp(uptr addr, s32 alignment) in RoundUp()
195 void FillMemoryZero(uptr addr, size_t size) in FillMemoryZero()
204 void DebugFillMemory(uptr addr, size_t size, HeapFillType type) in DebugFillMemory()
213 inline void DebugFillMemory(uptr, size_t, HeapFillType) {} in DebugFillMemory() argument
223 static void FillMemory(uptr addr, uptr end, bit8 value);
224 static void FillMemory32(uptr addr, uptr end, bit32 value);
Dfnd_FrameHeap.h57 …FrameHeapBase(uptr addr, size_t size, bit32 option = 0) : m_Addr(0) { Initialize(addr, size, optio…
62 void Initialize(uptr addr, size_t size, bit32 option = 0);
93 uptr m_Addr;
95 uptr m_CurrentHead;
96 uptr m_CurrentTail;
119 uptr m_Head;
120 uptr m_Tail;
122 explicit State(uptr head, uptr tail) : m_Head(head), m_Tail(tail) {} in State()
131 uptr ret; in Allocate()
140 uptr current = ret + size; in Allocate()
[all …]
/CTR-SDK-0.14.23/CTR_SDK-0_14_23-20110107-en/CTR_SDK/sources/libraries/os/
Dos_BlockingQueue.cpp46 void BlockingQueueBase<Locker>::Initialize(uptr buffer[], size_t size) in Initialize()
60 nn::Result BlockingQueueBase<Locker>::TryInitialize(uptr buffer[], size_t size) in TryInitialize()
104 bool BlockingQueueBase<Locker>::TryEnqueue(uptr data) in TryEnqueue()
126 bool BlockingQueueBase<Locker>::ForceEnqueue(uptr data, uptr* pOut) in ForceEnqueue()
154 void BlockingQueueBase<Locker>::Enqueue(uptr data) in Enqueue()
172 bool BlockingQueueBase<Locker>::TryJam(uptr data) in TryJam()
194 void BlockingQueueBase<Locker>::Jam(uptr data) in Jam()
212 bool BlockingQueueBase<Locker>::TryDequeue(uptr* pOut) in TryDequeue()
234 uptr BlockingQueueBase<Locker>::Dequeue() in Dequeue()
238 uptr data; in Dequeue()
[all …]
Dos_InterCoreBlockingQueue.cpp46 void InterCoreBlockingQueueBase<Locker>::Initialize(uptr buffer[], size_t size) in Initialize()
60 nn::Result InterCoreBlockingQueueBase<Locker>::TryInitialize(uptr buffer[], size_t size) in TryInitialize()
104 bool InterCoreBlockingQueueBase<Locker>::TryEnqueue(uptr data) in TryEnqueue()
126 bool InterCoreBlockingQueueBase<Locker>::ForceEnqueue(uptr data, uptr* pOut) in ForceEnqueue()
154 void InterCoreBlockingQueueBase<Locker>::Enqueue(uptr data) in Enqueue()
174 bool InterCoreBlockingQueueBase<Locker>::TryJam(uptr data) in TryJam()
196 void InterCoreBlockingQueueBase<Locker>::Jam(uptr data) in Jam()
216 bool InterCoreBlockingQueueBase<Locker>::TryDequeue(uptr* pOut) in TryDequeue()
238 uptr InterCoreBlockingQueueBase<Locker>::Dequeue() in Dequeue()
243 uptr data; in Dequeue()
[all …]
Dos_Memory.cpp35 uptr s_DeviceMemoryAddress = 0; //!< デバイスメモリのアドレス
53 uptr GetDeviceMemoryAddress() in GetDeviceMemoryAddress()
71 uptr addr; in SetDeviceMemorySize()
73 …const uptr requestAddress = (s_DeviceMemorySize == 0) ? NULL: (s_DeviceMemoryAddress + s_DeviceMem… in SetDeviceMemorySize()
100 uptr addr; in SetDeviceMemorySize()
102 const uptr freeAddress = s_DeviceMemoryAddress + size; in SetDeviceMemorySize()
143 uptr addr; in SetHeapSize()
145 const uptr requestAddress = NN_OS_ADDR_HEAP_BEGIN + s_HeapSize; in SetHeapSize()
163 uptr addr; in SetHeapSize()
165 const uptr freeAddress = NN_OS_ADDR_HEAP_BEGIN + size; in SetHeapSize()
[all …]
Dos_AddressSpaceManager.h44 uptr m_SpaceBegin; //!< �A�h���X��Ԃ̊J�n�A�h���X
45 uptr m_SpaceEnd; //!< �A�h���X��Ԃ̏I�[�A�h���X
58 void Initialize(uptr begin, size_t size);
68 uptr Allocate(MemoryBlockBase* pBlock, size_t size, size_t skipSize);
139 NN_EXTERN_C void nnosAddressSpaceManagerInitialize(nnosAddressSpaceManager* p, uptr begin, size_t s…
144 NN_EXTERN_C uptr nnosAddressSpaceManagerAllocate(nnosAddressSpaceManager* p, nnosMemoryBlockBase* p…
Dos_AddressSpaceManager.cpp25 void AddressSpaceManager::Initialize(uptr begin, size_t size) in Initialize()
36 uptr AddressSpaceManager::Allocate(MemoryBlockBase* pBlock, size_t size, size_t skipSize) in Allocate()
45 uptr allocatedAddress; in Allocate()
77 const uptr allocatedEnd = allocatedAddress + size; in Allocate()
78 const uptr nextBegin = pNext->GetAddress(); in Allocate()
91 const uptr allocatedEnd = allocatedAddress + size; in Allocate()
136 uptr end = m_SpaceEnd; in FindSpace()
141 const uptr nextBegin = pItem->GetAddress(); in FindSpace()
142 const uptr nextEnd = nextBegin + pItem->GetSize(); in FindSpace()
189 void nnosAddressSpaceManagerInitialize(nnosAddressSpaceManager* p, uptr begin, size_t size) in nnosAddressSpaceManagerInitialize()
[all …]
Dos_StackMemory.cpp62uptr addr = nnosAddressSpaceManagerAllocate(&s_SpaceManager, detail::ConvertToC(this), size, NN_OS… in Initialize()
68 m_MemoryAddress = reinterpret_cast<uptr>(pMem); in Initialize()
71 uptr dummy; in Initialize()
93 const uptr addr = GetAddress(); in Finalize()
95 const uptr memAddr = m_MemoryAddress; in Finalize()
100 uptr dummy; in Finalize()
153 uptr nnosStackMemoryGetAddress(nnosStackMemory* p) in nnosStackMemoryGetAddress()
165 uptr nnosStackMemoryGetStackBottom(nnosStackMemory* p) in nnosStackMemoryGetStackBottom()
/CTR-SDK-0.14.23/CTR_SDK-0_14_23-20110107-en/CTR_SDK/include/nn/applet/CTR/
Dapplet_Wrapper.h150 void SetHomeButtonCallback( AppletHomeButtonCallback callback, uptr arg=0 );
157 void SetReceiveMessageCallback( AppletMessageCallback callback, uptr arg=0 );
164 void SetPowerButtonCallback( AppletPowerButtonCallback callback, uptr arg=0 );
171 void SetRequestMemoryCallback( AppletRequestMemoryCallback callback, uptr arg=0 );
177 void SetReleaseMemoryCallback( AppletReleaseMemoryCallback callback, uptr arg=0 );
184 void SetDspSleepCallback( AppletDspSleepCallback callback, uptr arg=0 );
190 void SetDspWakeUpCallback( AppletDspWakeUpCallback callback, uptr arg=0 );
197 void SetSleepQueryCallback( AppletSleepQueryCallback callback, uptr arg=0 );
203 void SetSleepCanceledCallback( AppletSleepCanceledCallback callback, uptr arg=0 );
213 void SetAwakeCallback( AppletAwakeCallback callback, uptr arg=0 );
[all …]
/CTR-SDK-0.14.23/CTR_SDK-0_14_23-20110107-en/CTR_SDK/include/nn/gx/CTR/
Dgx_CommandAccess.h46 uptr nngxGetPhysicalAddr( uptr virtualAddr );
80 inline uptr GetPhysicalAddr( uptr virtualAddr ) in GetPhysicalAddr()
Dgx_Vram.h48 uptr nngxGetVramStartAddr( s32 area );
56 uptr nngxGetVramEndAddr( s32 area );
103 inline uptr GetVramStartAddr( VramArea area ) in GetVramStartAddr()
117 inline uptr GetVramEndAddr( VramArea area ) in GetVramEndAddr()
/CTR-SDK-0.14.23/CTR_SDK-0_14_23-20110107-en/CTR_SDK/include/nn/snd/CTR/MPCore/
Dsnd_Api.h77 void (*callback)(uptr),
78 uptr arg,
79 uptr stackBuffer,
88 nn::Result StartUserSoundThread(uptr stackBuffer, size_t stackSize, s32 prio);
95 void (*mainThreadCallback)(uptr),
96 uptr mainThreadArg,
98 void (*userThreadCallback)(uptr),
99 uptr userThreadArg,
170 nn::Result FlushDataCache( uptr addr, size_t size );
183 nn::Result InvalidateDataCache( uptr addr, size_t size );
[all …]
/CTR-SDK-0.14.23/CTR_SDK-0_14_23-20110107-en/CTR_SDK/sources/libraries/fnd/
Dfnd_HeapBase.cpp106 inline void FillMemory8(uptr begin, uptr end, bit8 v) in FillMemory8()
119 void HeapBase::FillMemory32(uptr begin, uptr end, bit32 v) in FillMemory32()
132 void HeapBase::FillMemory(uptr addr, uptr end, bit8 v) in FillMemory()
135 uptr begin = addr; in FillMemory()
136 uptr rbegin = RoundUp(begin, sizeof(bit32)); in FillMemory()
137 uptr rend = RoundDown(end, sizeof(bit32)); in FillMemory()
/CTR-SDK-0.14.23/CTR_SDK-0_14_23-20110107-en/CTR_SDK/include/nn/gr/CTR/
Dgr_Texture.h44 uptr physicalAddr;
271 uptr cubeMapAddrPosX;
277 uptr cubeMapAddrNegX;
283 uptr cubeMapAddrPosY;
289 uptr cubeMapAddrNegY;
295 uptr cubeMapAddrPosZ;
301 uptr cubeMapAddrNegZ;
/CTR-SDK-0.14.23/CTR_SDK-0_14_23-20110107-en/CTR_SDK/include/nn/ngc/CTR/
Dngc_ProfanityFilter.h74 ProfanityFilter( uptr pWorkMemory ) { Initialize( pWorkMemory ); } in ProfanityFilter()
102 nn::Result Initialize( uptr pWorkMemory );
237 uptr m_pWorkingHead;
240 uptr m_pTempPoolHead;
243 uptr m_pPatternsHead;
246 uptr m_pMountWorkingArea;
/CTR-SDK-0.14.23/CTR_SDK-0_14_23-20110107-en/CTR_SDK/include/nn/hid/CTR/
Dhid_HidBase.h46 uptr m_pResource;
89 uptr GetResource();
90 void SetResource(uptr resource);
117 inline uptr HidBase::GetResource() in GetResource()
122 inline void HidBase::SetResource(uptr resource) in SetResource()
/CTR-SDK-0.14.23/CTR_SDK-0_14_23-20110107-en/CTR_SDK/include/nn/dsp/CTR/MPCore/
Ddsp_Api.h139 nn::Result GetVirtualAddress(uptr physicalAddress, uptr * pVirtualAddress);
147 nn::Result GetPhysicalAddress(uptr address, uptr * pPhysicalAddress);
155 nn::Result ConvertProcessAddressFromDspDram(uptr addressOnDsp, uptr * pAddressOnHost);
237 nn::Result FlushDataCache( uptr addr, size_t size );
245 nn::Result InvalidateDataCache( uptr addr, size_t size );

1234