Amjad50 / Emerald

An Operating System in Rust
https://amjad.alsharafi.dev/Emerald
MIT License
12 stars 0 forks source link

Better handling of virtual space and raw pointers #50

Closed Amjad50 closed 9 months ago

Amjad50 commented 10 months ago

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)