|
|
@ -5,6 +5,7 @@
|
|
|
|
#pragma once
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
|
|
#include <cstddef>
|
|
|
|
#include <cstddef>
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
|
|
|
|
#include "common/common_types.h"
|
|
|
|
#include "common/common_types.h"
|
|
|
|
|
|
|
|
|
|
|
@ -130,6 +131,8 @@ void CopyBlock(VAddr dest_addr, VAddr src_addr, size_t size);
|
|
|
|
|
|
|
|
|
|
|
|
u8* GetPointer(VAddr virtual_address);
|
|
|
|
u8* GetPointer(VAddr virtual_address);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
std::string ReadCString(VAddr virtual_address, std::size_t max_length);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Converts a virtual address inside a region with 1:1 mapping to physical memory to a physical
|
|
|
|
* Converts a virtual address inside a region with 1:1 mapping to physical memory to a physical
|
|
|
|
* address. This should be used by services to translate addresses for use by the hardware.
|
|
|
|
* address. This should be used by services to translate addresses for use by the hardware.
|
|
|
|