// Dispose of unnecessary gumf, the booter doesn't need to load these
rc_mh = IODTGetLoaderInfo("Kernel-__HEADER",
(void **)&orig_mh, &orig_mhsize);
// Dispose of unnecessary gumf, the booter doesn't need to load these
rc_mh = IODTGetLoaderInfo("Kernel-__HEADER",
(void **)&orig_mh, &orig_mhsize);
rc_sc = IODTGetLoaderInfo("Kernel-__SYMTAB",
(void **) &orig_st, &orig_st_size);
rc_sc = IODTGetLoaderInfo("Kernel-__SYMTAB",
(void **) &orig_st, &orig_st_size);
// Now copy of the __DATA segment load command, the image need
// not be stored to disk nobody needs it, yet!
// Now copy of the __DATA segment load command, the image need
// not be stored to disk nobody needs it, yet!