]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/kern/mach_fat.h
xnu-3789.70.16.tar.gz
[apple/xnu.git] / bsd / kern / mach_fat.h
index df71ddc2a2d0fff79e616c7a2896a528abbe63e2..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_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_ */