Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasKruckenberg committed Nov 27, 2023
1 parent 6752496 commit 4f38488
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions crates/kernel/src/start.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use crate::paging::PAGE_SIZE;
use crate::trap::TrapFrame;
use core::arch::asm;
use core::mem;
use core::ptr::addr_of_mut;
use core::ptr::{addr_of, addr_of_mut};

pub const STACK_SIZE_PAGES: usize = 25;

Expand Down Expand Up @@ -146,8 +146,6 @@ extern "C" fn start(hartid: usize, opaque: *const u8) -> ! {
}

fn print_debug_info(board_info: &BoardInfo) {
use core::ptr::addr_of;

extern "C" {
static __text_start: u8;
static __text_end: u8;
Expand Down

0 comments on commit 4f38488

Please sign in to comment.