MCPcopy Create free account
hub / github.com/amwatson/CitraVR / GetCommandBufferAddress

Method GetCommandBufferAddress

src/core/hle/kernel/thread.cpp:500–504  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

498}
499
500VAddr Thread::GetCommandBufferAddress() const {
501 // Offset from the start of TLS at which the IPC command buffer begins.
502 constexpr u32 command_header_offset = 0x80;
503 return GetTLSAddress() + command_header_offset;
504}
505
506ThreadManager::ThreadManager(Kernel::KernelSystem& kernel, u32 core_id) : kernel(kernel) {
507 ThreadWakeupEventType = kernel.timing.RegisterEvent(

Callers 4

HandleSyncRequestMethod · 0.80
WakeUpMethod · 0.80
ReceiveIPCRequestFunction · 0.80
ReplyAndReceiveMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected