]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/i386/thread.h
xnu-1228.9.59.tar.gz
[apple/xnu.git] / osfmk / i386 / thread.h
index d29d7ac2660b2510f70dd7b4b0b4e9aebd13d1ca..badd5491f21873ccf374850ee38bb1233aec18e3 100644 (file)
@@ -79,7 +79,7 @@
 #include <i386/eflags.h>
 
 /*
- *     i386_saved_state:
+ *     x86_saved_state32/64:
  *
  *     Has been exported to servers.  See: mach/i386/thread_status.h
  *
@@ -137,13 +137,14 @@ typedef struct pcb {
 #ifdef MACH_BSD
        uint64_t        cthread_self;           /* for use of cthread package */
         struct real_descriptor cthread_desc;
-       unsigned long   uldt_selector;          /* user ldt selector to set */
-       struct real_descriptor uldt_desc;       /* the actual user setable ldt data */
+       unsigned long  uldt_selector;          /* user ldt selector to set */
+       struct real_descriptor uldt_desc;      /* the actual user setable ldt data */
 #endif
        decl_simple_lock_data(,lock);
        uint64_t        iss_pte0;
        uint64_t        iss_pte1;
        void            *ids;
+       uint32_t        arg_store_valid;
 } *pcb_t;
 
 
@@ -171,6 +172,9 @@ struct machine_thread {
 
        uint32_t        specFlags;
 #define                OnProc  0x1
+#if CONFIG_DTRACE
+#define                CopyIOActive 0x2 /* Checked to ensure DTrace actions do not re-enter copyio(). */
+#endif /* CONFIG_DTRACE */
   
         struct {
                user_addr_t     user_base;