aboutsummaryrefslogtreecommitdiff
path: root/x86_64
diff options
context:
space:
mode:
authorLuca Dariz <luca@orpolo.org>2023-02-12 18:03:13 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-02-12 18:30:41 +0100
commit4c903ebfdd47b3556d81d34a3752c9a1afb7d7e4 (patch)
tree9e031eafb5a87d0286545aa68ce82811f9b53dbe /x86_64
parent7966b7aa0705d043a905a7617f696015a25c7446 (diff)
downloadgnumach-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.S3
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