X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/b226f5e54a60dc81db17b1260381d7dbfea3cdf1..0a7de7458d150b5d4dffc935ba399be265ef0a1a:/libsyscall/custom/custom.s diff --git a/libsyscall/custom/custom.s b/libsyscall/custom/custom.s index de2e0c6bd..4d8f04fed 100644 --- a/libsyscall/custom/custom.s +++ b/libsyscall/custom/custom.s @@ -96,7 +96,7 @@ __thread_set_tsd_base: .globl _i386_get_ldt ALIGN _i386_get_ldt: - movl $6,%eax + movl $SYSCALL_CONSTRUCT_MDEP(6), %eax MACHDEP_SYSCALL_TRAP jnb 2f movq %rax, %rdi @@ -107,7 +107,7 @@ _i386_get_ldt: .globl _i386_set_ldt ALIGN _i386_set_ldt: - movl $5,%eax + movl $SYSCALL_CONSTRUCT_MDEP(5), %eax MACHDEP_SYSCALL_TRAP jnb 2f movq %rax, %rdi