Fix formatting

This commit is contained in:
Berkus Decker 2020-11-12 15:20:27 +02:00
parent dc2a73f6c6
commit df0510266e
2 changed files with 3 additions and 2 deletions

View File

@ -188,7 +188,8 @@ pub fn print_features() {
println!("[i] MMU: T1sz = 64-{}={} bits", t1sz, 64 - t1sz);
}
register_bitfields! {u64,
register_bitfields! {
u64,
// AArch64 Reference Manual page 2150, D5-2445
STAGE1_DESCRIPTOR [
// In table descriptors

View File

@ -247,7 +247,7 @@ pub fn write(regs: &RegisterBlock, buf: *const u32, channel: u32) -> Result<()>
// (see FrameBuffer for example).
// let buf_ptr = BcmHost::phys2bus(buf_ptr); not used for PropertyTags channel
println!("Mailbox::write {:x}/{:x}", buf_ptr, channel);
println!("Mailbox::write {:#08x}/{:#x}", buf_ptr, channel);
// Insert a compiler fence that ensures that all stores to the
// mailbox buffer are finished before the GPU is signaled (which is