#include <mach/boolean.h>
#include <mach/vm_param.h>
#include <kern/cpu_number.h>
-
-int grade_binary(cpu_type_t exectype, cpu_subtype_t execsubtype);
+#include <machine/exec.h>
/*
* Routine: grade_binary()
/* NOTREACHED */
}
-extern vm_map_offset_t kvtophys64(vm_map_offset_t);
-
boolean_t
kernacc(
off_t start,
end = start + len;
while (base < end) {
- if(kvtophys64((vm_map_offset_t)base) == (vm_map_offset_t)0)
+ if(kvtophys((vm_offset_t)base) == NULL)
return(FALSE);
base += page_size;
}