make a better safe API for using the virtual_space, we should return a valid pointer or a struct that will always point to a valid pointer. It will handle dropping and so on.
Also fix the issue where we store the mmio value in APIC as a raw pointer, and maybe replace it with this concrete type (probably unsafecell or something, but gotta be safe)
make a better safe API for using the virtual_space, we should return a valid pointer or a struct that will always point to a valid pointer. It will handle dropping and so on.
Also fix the issue where we store the
mmio
value inAPIC
as a raw pointer, and maybe replace it with this concrete type (probably unsafecell or something, but gotta be safe)