#include <ppc/POWERMAC/video_pdm.h>
#ifdef __MACHO__
-#include <mach-o/mach_header.h>
+#include <libkern/kernel_mach_header.h>
#endif
/* External references */
#ifdef __MACHO__
-extern struct mach_header _mh_execute_header;
void *sectTEXTB;
-int sectSizeTEXT;
+unsigned long sectSizeTEXT;
void *sectDATAB;
-int sectSizeDATA;
+unsigned long sectSizeDATA;
void *sectOBJCB;
-int sectSizeOBJC;
+unsigned long sectSizeOBJC;
void *sectLINKB;
-int sectSizeLINK;
+unsigned long sectSizeLINK;
vm_offset_t end, etext, edata;
#define ETEXT etext
unsigned int i;
vm_offset_t addr;
int boot_task_end_offset;
-#if NCPUS > 1
- const char *cpus;
-#endif /* NCPUS > 1 */
printf("mem_size = %d M\n",memory_size / (1024 * 1024));