]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/kern/mach_loader.h
xnu-3247.10.11.tar.gz
[apple/xnu.git] / bsd / kern / mach_loader.h
index ece41929e4a9b9a2f6147072aa76a5b2d7ff1099..5600cb42fa11955f2d0d59c0e21bfd14a7837594 100644 (file)
@@ -64,11 +64,15 @@ typedef struct _load_result {
                                prog_allocated_stack    :1,
                                prog_stack_size : 1,    
                                validentry      :1,
+                               has_pagezero    :1,
+                               using_lcmain    :1,
                                                :0;
        unsigned int            csflags;
        unsigned char   uuid[16];       
        mach_vm_address_t       min_vm_addr;
        mach_vm_address_t       max_vm_addr;
+       unsigned int            platform_binary;
+       off_t                   cs_end_offset;
 } load_result_t;
 
 struct image_params;
@@ -89,5 +93,6 @@ load_return_t load_machfile(
 #define LOAD_RESOURCE          7       /* resource allocation failure */
 #define        LOAD_ENOENT             8       /* resource not found */
 #define        LOAD_IOERROR            9       /* IO error */
+#define        LOAD_DECRYPTFAIL        10      /* FP decrypt failure */
 
 #endif /* _BSD_KERN_MACH_LOADER_H_ */