Skip to content

Commit

Permalink
小修改
Browse files Browse the repository at this point in the history
  • Loading branch information
copi143 committed Dec 9, 2024
1 parent 5468cd2 commit 193e0bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/boot/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ qemu-system-i386 \
-device ide-hd,drive=hda,bus=ide.0 -drive id=hda,if=none,format=raw,file=hd.img \
-boot a \
$*

echo -n -e "\033[T\033[2K\033[999D"
2 changes: 1 addition & 1 deletion src/kernel/cpu/handler.asm
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ asm_inthandler:
mov es, ax
mov ecx, dword [esp + 12 * 4]
mov edx, esp
call inthandler ; void inthandler(i32 id, u32 * regs);
call inthandler ; void inthandler(i32 id, u32 * regs) __attribute__((fastcall));
popa
pop gs
pop fs
Expand Down

0 comments on commit 193e0bc

Please sign in to comment.