]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/kern/mach_fat.h
xnu-4570.41.2.tar.gz
[apple/xnu.git] / bsd / kern / mach_fat.h
index f05c3675bf0af8f632052503ff37cae8b97a3ff4..def48fffdd63f4bb5a500da115c6632a130bfab0 100644 (file)
 #include <mach-o/fat.h>
 #include <sys/vnode.h>
 
-load_return_t fatfile_getarch_affinity(struct vnode *vp, vm_offset_t data_ptr,
-               struct fat_arch *archret, int affinity);
-load_return_t fatfile_getarch(struct vnode *vp, vm_offset_t data_ptr,
-               struct fat_arch *archret);
-load_return_t fatfile_getarch_with_bits(struct vnode *vp, integer_t archbits,
-               vm_offset_t data_ptr, struct fat_arch *archret);
+load_return_t fatfile_validate_fatarches(vm_offset_t data_ptr, vm_size_t data_size);
+
+load_return_t fatfile_getbestarch(vm_offset_t data_ptr, vm_size_t data_size, struct fat_arch *archret);
+load_return_t fatfile_getbestarch_for_cputype(cpu_type_t cputype,
+               vm_offset_t data_ptr, vm_size_t data_size, struct fat_arch *archret);
+load_return_t fatfile_getarch_with_bits(integer_t archbits,
+               vm_offset_t data_ptr, vm_size_t data_size, struct fat_arch *archret);
 
 #endif /* _BSD_KERN_MACH_FAT_H_ */