File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed
14_virtual_mem_part2_mmio_remap
15_virtual_mem_part3_precomputed_tables/src/memory
16_virtual_mem_part4_higher_half_kernel Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -2862,7 +2862,7 @@ diff -uNr 13_exceptions_part2_peripheral_IRQs/src/memory/mmu.rs 14_virtual_mem_p
28622862+ pub trait AssociatedTranslationTable {
28632863+ /// A translation table whose address range is:
28642864+ ///
2865- + /// [0, AS_SIZE - 1]
2865+ + /// [AS_SIZE - 1, 0 ]
28662866+ type TableStartFromBottom;
28672867 }
28682868
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ pub struct AddressSpace<const AS_SIZE: usize>;
6464pub trait AssociatedTranslationTable {
6565 /// A translation table whose address range is:
6666 ///
67- /// [0, AS_SIZE - 1]
67+ /// [AS_SIZE - 1, 0 ]
6868 type TableStartFromBottom ;
6969}
7070
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ pub struct AddressSpace<const AS_SIZE: usize>;
8080pub trait AssociatedTranslationTable {
8181 /// A translation table whose address range is:
8282 ///
83- /// [0, AS_SIZE - 1]
83+ /// [AS_SIZE - 1, 0 ]
8484 type TableStartFromBottom ;
8585}
8686
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ pub trait AssociatedTranslationTable {
3737
3838 /// A translation table whose address range is:
3939 ///
40- /// [0, AS_SIZE - 1]
40+ /// [AS_SIZE - 1, 0 ]
4141 type TableStartFromBottom ;
4242}
4343```
@@ -602,7 +602,7 @@ diff -uNr 15_virtual_mem_part3_precomputed_tables/src/memory/mmu.rs 16_virtual_m
602602+
603603+ /// A translation table whose address range is:
604604+ ///
605- /// [0, AS_SIZE - 1]
605+ /// [AS_SIZE - 1, 0 ]
606606 type TableStartFromBottom;
607607 }
608608
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ pub trait AssociatedTranslationTable {
8585
8686 /// A translation table whose address range is:
8787 ///
88- /// [0, AS_SIZE - 1]
88+ /// [AS_SIZE - 1, 0 ]
8989 type TableStartFromBottom ;
9090}
9191
You can’t perform that action at this time.
0 commit comments