mirror of
https://github.com/momo5502/hypervisor.git
synced 2025-07-04 10:11:51 +00:00
Add write probing
This commit is contained in:
@ -26,6 +26,9 @@ namespace memory
|
||||
bool prope_for_read(const void* address, size_t length, uint64_t alignment = 1);
|
||||
void assert_readability(const void* address, size_t length, uint64_t alignment = 1);
|
||||
|
||||
bool prope_for_write(const void* address, size_t length, uint64_t alignment = 1);
|
||||
void assert_writability(const void* address, size_t length, uint64_t alignment = 1);
|
||||
|
||||
template <typename T, typename... Args>
|
||||
T* allocate_non_paged_object(Args ... args)
|
||||
{
|
||||
|
Reference in New Issue
Block a user