nn::os::GetDeviceMemoryAddress Function#include <nn/os.h> uptr GetDeviceMemoryAddress();
None.
Gets the starting address of the device memory.
A value greater than zero must be set in advance with SetDeviceMemorySize.
In the Development/Debug builds, if device memory has not been allocated at the time that this function is called it will fail on an assertion inside the library. In the Release build, the function will return 0.
CONFIDENTIAL