]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/kern/mach_loader.h
xnu-2782.30.5.tar.gz
[apple/xnu.git] / bsd / kern / mach_loader.h
index ece41929e4a9b9a2f6147072aa76a5b2d7ff1099..dc0dbfa5bc3c1e0701ffd3a9cdd9183bc558b9ae 100644 (file)
@@ -69,6 +69,8 @@ typedef struct _load_result {
        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 +91,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_ */