pub unsafe fn new_raw_pagetable(asid: u16) -> *mut PageTable
Expand description
Allocates a new raw page table for the given ASID.
§Arguments
asid
- The Address Space ID (ASID) for which the page table is allocated.
§Returns
A raw pointer to the newly allocated page table.
§Safety
This function is unsafe because it dereferences a raw pointer, which can lead to undefined behavior if the pointer is null or invalid.