/*
- * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2000-2005 Apple Computer, Inc. All rights reserved.
*
* @APPLE_OSREFERENCE_LICENSE_HEADER_START@
*
#include <kern/cpu_number.h>
#include <machine/exec.h>
+boolean_t kernacc(off_t, size_t );
+
+
/*
* 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(kvtophys((vm_offset_t)base) == NULL)
+ if(kvtophys64((vm_map_offset_t)base) == (vm_map_offset_t)0)
return(FALSE);
base += page_size;
}
void
md_prepare_for_shutdown(int paniced, int howto, char * command);
-extern void IOSystemShutdownNotification(void);
-
void
md_prepare_for_shutdown(__unused int paniced, __unused int howto,
__unused char * command)
{
-
- /*
- * Temporary hack to notify the power management root domain
- * that the system will shut down.
- */
- IOSystemShutdownNotification();
+ return;
}