Skip to content

Commit 056bf7d

Browse files
reafctor(opentmk): remove dead code
1 parent 3e1673e commit 056bf7d

File tree

6 files changed

+6
-403
lines changed

6 files changed

+6
-403
lines changed

opentmk/src/arch/aarch64/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
pub use minimal_rt::arch::aarch64::serial;
2+
13
pub mod hypercall;
2-
pub mod serial;

opentmk/src/arch/aarch64/serial.rs

Lines changed: 0 additions & 240 deletions
This file was deleted.

opentmk/src/slog.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#![feature(panic_location)]
2+
#[no_std]
23

34
use core::any::type_name;
45
use core::fmt::Write;
@@ -7,7 +8,6 @@ use core::result;
78
use crate::arch::serial::{InstrIoAccess, Serial};
89
use crate::sync::Mutex;
910
use alloc::string::{String, ToString};
10-
#[no_std]
1111
use serde_json::json;
1212
use serde::Serialize;
1313
pub enum Level {

0 commit comments

Comments
 (0)