Format memory entries using hex

This commit is contained in:
Jeremy Soller
2020-08-27 09:43:39 -06:00
parent 8211e92c02
commit 1baeb5a891

View File

@@ -77,7 +77,7 @@ pub unsafe fn init(kernel_start: usize, kernel_end: usize) {
for (i, entry) in MEMORY_MAP.iter_mut().enumerate() {
*entry = *(0x500 as *const MemoryArea).add(i);
if entry._type != MEMORY_AREA_NULL {
info!("{:?}", entry);
info!("{:X?}", entry);
}
}