diff options
author | Freya Murphy <freya@freyacat.org> | 2024-01-29 18:05:26 -0500 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2024-01-29 18:05:26 -0500 |
commit | 36d7dad0708039ee94fcfd7ed4b21d5cc76634e1 (patch) | |
tree | d5c9ac5de709c7884fe9d7071d6dec5506958102 /src/arch/amd64/boot.S | |
parent | add interrupts (not yet fully working) (diff) | |
download | corn-36d7dad0708039ee94fcfd7ed4b21d5cc76634e1.tar.gz corn-36d7dad0708039ee94fcfd7ed4b21d5cc76634e1.tar.bz2 corn-36d7dad0708039ee94fcfd7ed4b21d5cc76634e1.zip |
things
Diffstat (limited to 'src/arch/amd64/boot.S')
-rw-r--r-- | src/arch/amd64/boot.S | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/arch/amd64/boot.S b/src/arch/amd64/boot.S index 483f0f0..c6145d5 100644 --- a/src/arch/amd64/boot.S +++ b/src/arch/amd64/boot.S @@ -135,6 +135,11 @@ start: bits 64 code64: + + mov dx, 16 + mov ds, dx + mov ss, dx + pop rdi call amd64_shim mov rdi, rax |