]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/i386/machdep_call.c
xnu-2050.22.13.tar.gz
[apple/xnu.git] / osfmk / i386 / machdep_call.c
index 831bbe18cb0b31980bbc94130ccd48befbcb2660..454eb1b02b5d2ffca1cb387ab6ea3982cbac056b 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2000-2006 Apple Computer, Inc. All rights reserved.
  *
  * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  * 
 
 extern kern_return_t   kern_invalid(void);
 
 
 extern kern_return_t   kern_invalid(void);
 
-machdep_call_t         machdep_call_table[] = {
-       MACHDEP_CALL_ROUTINE(thread_get_cthread_self,0),
-       MACHDEP_CALL_ROUTINE(thread_set_cthread_self,1),
+const machdep_call_t           machdep_call_table[] = {
+       MACHDEP_CALL_ROUTINE(kern_invalid,0),
+       MACHDEP_CALL_ROUTINE(kern_invalid,0),
        MACHDEP_CALL_ROUTINE(kern_invalid,0),
        MACHDEP_CALL_ROUTINE(thread_fast_set_cthread_self,1),
        MACHDEP_CALL_ROUTINE(thread_set_user_ldt,3),
        MACHDEP_BSD_CALL_ROUTINE(i386_set_ldt,3),
        MACHDEP_BSD_CALL_ROUTINE(i386_get_ldt,3),
 };
        MACHDEP_CALL_ROUTINE(kern_invalid,0),
        MACHDEP_CALL_ROUTINE(thread_fast_set_cthread_self,1),
        MACHDEP_CALL_ROUTINE(thread_set_user_ldt,3),
        MACHDEP_BSD_CALL_ROUTINE(i386_set_ldt,3),
        MACHDEP_BSD_CALL_ROUTINE(i386_get_ldt,3),
 };
-machdep_call_t         machdep_call_table64[] = {
+const machdep_call_t           machdep_call_table64[] = {
        MACHDEP_CALL_ROUTINE(kern_invalid,0),
        MACHDEP_CALL_ROUTINE(kern_invalid,0),
        MACHDEP_CALL_ROUTINE(kern_invalid,0),
        MACHDEP_CALL_ROUTINE(kern_invalid,0),
        MACHDEP_CALL_ROUTINE(kern_invalid,0),
        MACHDEP_CALL_ROUTINE(kern_invalid,0),