style: cargo fmt kernel crates
This commit is contained in:
@@ -29,5 +29,12 @@ pub trait Platform {
|
||||
fn halt(&self) -> !;
|
||||
fn debug_putchar(&self, byte: u8);
|
||||
fn translate_va(&self, process: ProcessId, va: VirtualAddress) -> Option<PhysicalAddress>;
|
||||
fn map_user_page(&mut self, process: ProcessId, va: VirtualAddress, pa: PhysicalAddress, writable: bool, executable: bool);
|
||||
fn map_user_page(
|
||||
&mut self,
|
||||
process: ProcessId,
|
||||
va: VirtualAddress,
|
||||
pa: PhysicalAddress,
|
||||
writable: bool,
|
||||
executable: bool,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user