增加内核日志功能 #3
|
@ -56,7 +56,7 @@ make debug
|
||||||
* [x] 内存分配器
|
* [x] 内存分配器
|
||||||
* [x] raw_allocator
|
* [x] raw_allocator
|
||||||
* [x] tty
|
* [x] tty
|
||||||
* [ ] 内核日志
|
* [x] 内核日志
|
||||||
* [ ] 文件系统
|
* [ ] 文件系统
|
||||||
* [ ] vfs
|
* [ ] vfs
|
||||||
* [ ] fat32驱动(移植)
|
* [ ] fat32驱动(移植)
|
||||||
|
|
|
@ -47,7 +47,7 @@ unsafe fn kernel_panic_handler(info: &PanicInfo) -> ! {
|
||||||
} else {
|
} else {
|
||||||
"Unknown panic."
|
"Unknown panic."
|
||||||
},
|
},
|
||||||
(Color::GREEN, Color::BLACK),
|
(Color::BLUE, Color::BLACK),
|
||||||
));
|
));
|
||||||
v.push(("\n", (Color::BLACK, Color::BLACK)));
|
v.push(("\n", (Color::BLACK, Color::BLACK)));
|
||||||
v
|
v
|
||||||
|
|
Reference in New Issue