ok it compiles
This commit is contained in:
parent
3c2b7f3f75
commit
32616c2497
1 changed files with 1 additions and 4 deletions
|
|
@ -1,11 +1,8 @@
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
pub mod buffer;
|
|
||||||
pub mod color;
|
pub mod color;
|
||||||
|
|
||||||
pub use self::color::{Color, ColorCode};
|
pub use self::color::{Color, ColorCode};
|
||||||
pub use self::buffer::{Writer};
|
|
||||||
|
|
||||||
use super::{Color, ColorCode};
|
|
||||||
use ::context::CONTEXT;
|
use ::context::CONTEXT;
|
||||||
use cpuio;
|
use cpuio;
|
||||||
use ::console;
|
use ::console;
|
||||||
|
|
@ -19,7 +16,7 @@ struct ScreenChar {
|
||||||
|
|
||||||
macro_rules! print {
|
macro_rules! print {
|
||||||
($($arg:tt)*) => ({
|
($($arg:tt)*) => ({
|
||||||
$crate::vga::buffer::print(format_args!($($arg)*));
|
$crate::vga::print(format_args!($($arg)*));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue