From 05ce9f61c729d217f157a2b32631493463c53fe9 Mon Sep 17 00:00:00 2001 From: Able Date: Mon, 7 Mar 2022 12:21:16 -0600 Subject: [PATCH] commit message --- ableos/src/logger.rs | 2 -- ableos/src/rhai_shell/mod.rs | 2 +- kernel/src/messaging.rs | 2 ++ 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ableos/src/logger.rs b/ableos/src/logger.rs index 49962ea..ee6bdb1 100644 --- a/ableos/src/logger.rs +++ b/ableos/src/logger.rs @@ -6,8 +6,6 @@ use lliw::{Fg, Reset}; pub use log::{debug, info, trace, warn}; use log::{Level, Metadata, Record}; -use crate::arch::drivers::timer::TIMER_INTERRUPT_HERTZ; - struct SimpleLogger; // TODO: Rebuild this to take advantage of sockets // DETAIL: Log to a socket instead of the screen diff --git a/ableos/src/rhai_shell/mod.rs b/ableos/src/rhai_shell/mod.rs index 8bdfc35..d611973 100644 --- a/ableos/src/rhai_shell/mod.rs +++ b/ableos/src/rhai_shell/mod.rs @@ -32,7 +32,7 @@ lazy_static::lazy_static!( ; ); -use alloc::string::{String, ToString}; +use alloc::string::String; use rhai::Engine; use x86_64::instructions::interrupts::{disable, enable}; diff --git a/kernel/src/messaging.rs b/kernel/src/messaging.rs index 6584d41..068919f 100644 --- a/kernel/src/messaging.rs +++ b/kernel/src/messaging.rs @@ -62,4 +62,6 @@ pub enum MessagingError { MessageTooLarge, /// The reciever of the message is not valid ProcessNonExistant, + /// The message Queue is full + TooManyMessages, }