X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/e5568f75972dfc723778653c11cb6b4dc825716a..378393581903b274cb7a4d18e0d978071a6b592d:/EXTERNAL_HEADERS/mach-o/fat.h diff --git a/EXTERNAL_HEADERS/mach-o/fat.h b/EXTERNAL_HEADERS/mach-o/fat.h index 3558e4acf..e964a1965 100644 --- a/EXTERNAL_HEADERS/mach-o/fat.h +++ b/EXTERNAL_HEADERS/mach-o/fat.h @@ -57,3 +57,18 @@ struct fat_arch { unsigned long align; /* alignment as a power of 2 */ }; +#ifdef KERNEL + +#include + +struct vnode; + +/* XXX return type should be load_return_t, but mach_loader.h is not in scope */ +int fatfile_getarch_affinity(struct vnode *vp, vm_offset_t data_ptr, + struct fat_arch *archret, int affinity); +int fatfile_getarch(struct vnode *vp, vm_offset_t data_ptr, + struct fat_arch *archret); +int fatfile_getarch_with_bits(struct vnode *vp, integer_t archbits, + vm_offset_t data_ptr, struct fat_arch *archret); + +#endif /* KERNEL */