]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/dev/i386/systemcalls.c
xnu-7195.101.1.tar.gz
[apple/xnu.git] / bsd / dev / i386 / systemcalls.c
index a5a7255bdf20b7e3623ea688c6d9771e1920c169..8a12ad5a39b80f0d98da21bef3c8874e56da1f28 100644 (file)
@@ -91,7 +91,7 @@ unix_syscall(x86_saved_state_t *state)
        thread_t                thread;
        void                    *vt;
        unsigned int            code, syscode;
-       struct sysent           *callp;
+       const struct sysent     *callp;
 
        int                     error;
        vm_offset_t             params;
@@ -291,7 +291,7 @@ unix_syscall64(x86_saved_state_t *state)
        thread_t        thread;
        void                    *vt;
        unsigned int    code, syscode;
-       struct sysent   *callp;
+       const struct sysent   *callp;
        int             args_in_regs;
        boolean_t       args_start_at_rdi;
        int             error;
@@ -511,7 +511,7 @@ unix_syscall_return(int error)
        struct uthread          *uthread;
        struct proc *p;
        unsigned int code;
-       struct sysent *callp;
+       const struct sysent *callp;
 
        thread = current_thread();
        uthread = get_bsdthread_info(thread);