@@ -57,8 +57,8 @@ separation, this tutorial makes a start by changing the following things:
5757
58581 .  Instead of bulk-` identity mapping `  the whole of the board's address space, only the particular
5959   parts that are needed will be mapped.
60- 1 .  For now, the ` kernel binary `  stays identity mapped. This will be changed in the in the  coming
61-    tutorials  as it is a quite difficult and peculiar exercise to remap the kernel.
60+ 1 .  For now, the ` kernel binary `  stays identity mapped. This will be changed in the coming tutorials 
61+    as it is a quite difficult and peculiar exercise to remap the kernel.
62621 .  Device ` MMIO regions `  are lazily remapped during a device driver's ` init() ` .
6363   1 .  A dedicated region of virtual addresses that we reserve using ` BSP `  code and the `linker
6464      script` is used for this.
162162///  Prevents mapping into the MMIO range of the tables.
163163pub  unsafe  fn  kernel_map_at (
164164    name :  & 'static  str ,
165-     virt_pages :  & MemoryRegion <Virtual >,
166-     phys_pages :  & MemoryRegion <Physical >,
165+     virt_region :  & MemoryRegion <Virtual >,
166+     phys_region :  & MemoryRegion <Physical >,
167167    attr :  & AttributeFields ,
168168) ->  Result <(), & 'static  str >;
169169
@@ -3207,11 +3207,11 @@ diff -uNr 13_exceptions_part2_peripheral_IRQs/src/memory/mmu.rs 14_virtual_mem_p
32073207+ /// - Does not prevent aliasing. Currently, the callers must be trusted.
32083208+ pub unsafe fn kernel_map_at(
32093209+     name: &'static str,
3210- +     virt_pages : &MemoryRegion<Virtual>,
3211- +     phys_pages : &MemoryRegion<Physical>,
3210+ +     virt_region : &MemoryRegion<Virtual>,
3211+ +     phys_region : &MemoryRegion<Physical>,
32123212+     attr: &AttributeFields,
32133213+ ) -> Result<(), &'static str> {
3214- +     if bsp::memory::mmu::virt_mmio_remap_region().overlaps(virt_pages ) {
3214+ +     if bsp::memory::mmu::virt_mmio_remap_region().overlaps(virt_region ) {
32153215+         return Err("Attempt to manually map into MMIO region");
32163216     }
32173217- }
@@ -3238,7 +3238,7 @@ diff -uNr 13_exceptions_part2_peripheral_IRQs/src/memory/mmu.rs 14_virtual_mem_p
32383238-         } else {
32393239-             (size, "Byte")
32403240-         };
3241- +     kernel_map_at_unchecked(name, virt_pages, phys_pages , attr)?;
3241+ +     kernel_map_at_unchecked(name, virt_region, phys_region , attr)?;
32423242
32433243-         let attr = match self.attribute_fields.mem_attributes {
32443244-             MemAttributes::CacheableDRAM => "C",
0 commit comments