forked from koniifer/ableos
commit message
This commit is contained in:
parent
beba2ae0ad
commit
05ce9f61c7
|
@ -6,8 +6,6 @@ use lliw::{Fg, Reset};
|
||||||
pub use log::{debug, info, trace, warn};
|
pub use log::{debug, info, trace, warn};
|
||||||
use log::{Level, Metadata, Record};
|
use log::{Level, Metadata, Record};
|
||||||
|
|
||||||
use crate::arch::drivers::timer::TIMER_INTERRUPT_HERTZ;
|
|
||||||
|
|
||||||
struct SimpleLogger;
|
struct SimpleLogger;
|
||||||
// TODO: Rebuild this to take advantage of sockets
|
// TODO: Rebuild this to take advantage of sockets
|
||||||
// DETAIL: Log to a socket instead of the screen
|
// DETAIL: Log to a socket instead of the screen
|
||||||
|
|
|
@ -32,7 +32,7 @@ lazy_static::lazy_static!(
|
||||||
;
|
;
|
||||||
);
|
);
|
||||||
|
|
||||||
use alloc::string::{String, ToString};
|
use alloc::string::String;
|
||||||
use rhai::Engine;
|
use rhai::Engine;
|
||||||
use x86_64::instructions::interrupts::{disable, enable};
|
use x86_64::instructions::interrupts::{disable, enable};
|
||||||
|
|
||||||
|
|
|
@ -62,4 +62,6 @@ pub enum MessagingError {
|
||||||
MessageTooLarge,
|
MessageTooLarge,
|
||||||
/// The reciever of the message is not valid
|
/// The reciever of the message is not valid
|
||||||
ProcessNonExistant,
|
ProcessNonExistant,
|
||||||
|
/// The message Queue is full
|
||||||
|
TooManyMessages,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue