tweak API for better/unambiguous path resolution in page allocations

This commit is contained in:
bunnie 2020-10-12 04:12:21 +08:00
parent 9a50de8b4e
commit d36a2f2327

View file

@ -629,6 +629,7 @@ fn print_peripherals<U: Write>(peripherals: &[Peripheral], out: &mut U) -> std::
interrupt.value
)?;
}
writeln!(out, " pub const HW_{}_BASE: usize = 0x{:08x};", peripheral.name.to_uppercase(), peripheral.base)?;
writeln!(out, " }}")?;
}
writeln!(out, "}}")?;