rust-osdev / x86_64

Library to program x86_64 hardware.
https://docs.rs/x86_64
Apache License 2.0
797 stars 132 forks source link

make fields public #340

Closed Freax13 closed 2 years ago

Freax13 commented 2 years ago

This pr makes the fields of the VirtAddrNotValid and PhysAddrNotValid error types public.

This was suggested by @phil-opp: https://github.com/rust-osdev/x86_64/pull/335#discussion_r785689623.