diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-01-15 17:05:28 +0100 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-01-15 17:05:28 +0100 |
| commit | 8128bc5b37842645d7c92aa765f68749b4229c31 (patch) | |
| tree | 8f7d8363a0f24da7c4866e015b1e1d2080348c28 | |
| parent | f98c5fc917bf06c408be24e98f659d606f8f5cf3 (diff) | |
| download | teachos-8128bc5b37842645d7c92aa765f68749b4229c31.tar.xz teachos-8128bc5b37842645d7c92aa765f68749b4229c31.zip | |
x86_64/boot: fix early panic message printing
| -rw-r--r-- | arch/x86_64/src/boot/boot32.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86_64/src/boot/boot32.S b/arch/x86_64/src/boot/boot32.S index cea1607..0e164e2 100644 --- a/arch/x86_64/src/boot/boot32.S +++ b/arch/x86_64/src/boot/boot32.S @@ -211,8 +211,8 @@ _panic: push $0x4f call _print - mov 16(%ebp), %eax - mov %eax, 8(%ebp) + mov 8(%ebp), %eax + mov %eax, 4(%esp) call _print add $8, %esp |
