diff options
author | Luca Dariz <luca@orpolo.org> | 2023-02-12 18:03:13 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-02-12 18:30:41 +0100 |
commit | 4c903ebfdd47b3556d81d34a3752c9a1afb7d7e4 (patch) | |
tree | 9e031eafb5a87d0286545aa68ce82811f9b53dbe /x86_64 | |
parent | 7966b7aa0705d043a905a7617f696015a25c7446 (diff) | |
download | gnumach-4c903ebfdd47b3556d81d34a3752c9a1afb7d7e4.tar.gz gnumach-4c903ebfdd47b3556d81d34a3752c9a1afb7d7e4.tar.bz2 gnumach-4c903ebfdd47b3556d81d34a3752c9a1afb7d7e4.zip |
enable syscalls on x86_64
Signed-off-by: Luca Dariz <luca@orpolo.org>
Message-Id: <20230212170313.1501404-7-luca@orpolo.org>
Diffstat (limited to 'x86_64')
-rw-r--r-- | x86_64/locore.S | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/x86_64/locore.S b/x86_64/locore.S index 5b9c8ef4..95ece3cc 100644 --- a/x86_64/locore.S +++ b/x86_64/locore.S @@ -1075,9 +1075,6 @@ syscall_entry_2: pushq %rax /* save system call number */ pushq $0 /* clear trap number slot */ -// TODO: test it before dropping ud2 - ud2 - pusha /* save the general registers */ movq %ds,%rdx /* and the segment registers */ pushq %rdx |