fix bios call, return register values to caller
This commit is contained in:
1 parent
766a9c981c
commit
1880e89194
2 files changed
+22
-5
No files matched your search
+2
-2
@@ -25,7 +25,7 @@ struct BiosIntr {
|
||||
}
|
||||
|
||||
unsafe extern "C" {
|
||||
unsafe fn bios_call(intr: u32, args: *mut BiosIntr);
|
||||
unsafe fn _bios_call(intr: u32, args: *mut BiosIntr);
|
||||
}
|
||||
|
||||
#[panic_handler]
|
||||
@@ -54,7 +54,7 @@ pub extern "C" fn _start() -> ! {
|
||||
};
|
||||
|
||||
unsafe {
|
||||
bios_call(0x15, &raw mut args);
|
||||
_bios_call(0x15, &raw mut args);
|
||||
}
|
||||
|
||||
for (i, b) in STR.iter().copied().enumerate() {
|
||||
|
||||
Reference in new issue
Block a user