fix(serial): now wait instead of kernel panick on serial !EMPTY_TRANSMITTER
continuous-integration/drone/push Build is passing
continuous-integration/drone/push Build is passing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
This commit is contained in:
1 parent
03acf2943e
commit
da5dd55ce6
2 files changed
+4
-8
No files matched your search
+1
-5
@@ -29,11 +29,7 @@ pub fn init() {
|
||||
pub extern "C" fn julios_main() -> ! {
|
||||
init();
|
||||
println!("***JuliOS V0.1.0***");
|
||||
fn stack_overflow() {
|
||||
stack_overflow(); // for each recursion, the return address is pushed
|
||||
}
|
||||
|
||||
stack_overflow();
|
||||
serial_println!("Hello serial");
|
||||
|
||||
panic!("Kernel end of flow");
|
||||
}
|
||||