File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 5
5
### New features
6
6
7
7
- ` MapError ` now implements ` core::error::Error ` .
8
+ - Made ` output_address ` method on ` Descriptor ` public.
8
9
9
10
## 0.8.0
10
11
Original file line number Diff line number Diff line change @@ -890,7 +890,11 @@ impl Descriptor {
890
890
891
891
const PHYSICAL_ADDRESS_BITMASK : usize = !( PAGE_SIZE - 1 ) & !( 0xffff << 48 ) ;
892
892
893
- pub ( crate ) fn output_address ( self ) -> PhysicalAddress {
893
+ /// Returns the physical address that this descriptor refers to if it is valid.
894
+ ///
895
+ /// Depending on the flags this could be the address of a subtable, a mapping, or (if it is not
896
+ /// a valid mapping) entirely arbitrary.
897
+ pub fn output_address ( self ) -> PhysicalAddress {
894
898
PhysicalAddress ( self . 0 & Self :: PHYSICAL_ADDRESS_BITMASK )
895
899
}
896
900
You can’t perform that action at this time.
0 commit comments