-patch_entry_t patch_table[PATCH_TABLE_SIZE] = {
- &extPatch32, 0x60000000, PATCH_FEATURE, PatchExt32,
- &extPatchMCK, 0x60000000, PATCH_PROCESSOR, CPU_SUBTYPE_POWERPC_970,
- &hwulckPatch_isync, 0x60000000, PATCH_FEATURE, PatchLwsync,
- &hwulckPatch_eieio, 0x7c2004ac, PATCH_FEATURE, PatchLwsync,
- &hwulckbPatch_isync, 0x60000000, PATCH_FEATURE, PatchLwsync,
- &hwulckbPatch_eieio, 0x7c2004ac, PATCH_FEATURE, PatchLwsync,
- &mulckPatch_isync, 0x60000000, PATCH_FEATURE, PatchLwsync,
- &mulckPatch_eieio, 0x7c2004ac, PATCH_FEATURE, PatchLwsync,
- &sulckPatch_isync, 0x60000000, PATCH_FEATURE, PatchLwsync,
- &sulckPatch_eieio, 0x7c2004ac, PATCH_FEATURE, PatchLwsync,
-#if !MACH_LDEBUG
- &retfsectPatch_isync, 0x60000000, PATCH_FEATURE, PatchLwsync,
- &retfsectPatch_eieio, 0x7c2004ac, PATCH_FEATURE, PatchLwsync
-#else
- 0, 0, PATCH_INVALID, 0,
- 0, 0, PATCH_INVALID, 0
-#endif
+int debug_task;
+
+patch_entry_t patch_table[] = {
+ {&extPatch32, 0x60000000, PATCH_FEATURE, PatchExt32},
+ {&extPatchMCK, 0x60000000, PATCH_PROCESSOR, CPU_SUBTYPE_POWERPC_970},
+ {&hwulckPatch_isync, 0x60000000, PATCH_FEATURE, PatchLwsync},
+ {&hwulckPatch_eieio, 0x7c2004ac, PATCH_FEATURE, PatchLwsync},
+ {&hwulckbPatch_isync, 0x60000000, PATCH_FEATURE, PatchLwsync},
+ {&hwulckbPatch_eieio, 0x7c2004ac, PATCH_FEATURE, PatchLwsync},
+ {&mulckPatch_isync, 0x60000000, PATCH_FEATURE, PatchLwsync},
+ {&mulckPatch_eieio, 0x7c2004ac, PATCH_FEATURE, PatchLwsync},
+ {&mulckePatch_isync, 0x60000000, PATCH_FEATURE, PatchLwsync},
+ {&mulckePatch_eieio, 0x7c2004ac, PATCH_FEATURE, PatchLwsync},
+ {&sulckPatch_isync, 0x60000000, PATCH_FEATURE, PatchLwsync},
+ {&sulckPatch_eieio, 0x7c2004ac, PATCH_FEATURE, PatchLwsync},
+ {&rwlesPatch_isync, 0x60000000, PATCH_FEATURE, PatchLwsync},
+ {&rwlesPatch_eieio, 0x7c2004ac, PATCH_FEATURE, PatchLwsync},
+ {&rwldPatch_isync, 0x60000000, PATCH_FEATURE, PatchLwsync},
+ {&rwldPatch_eieio, 0x7c2004ac, PATCH_FEATURE, PatchLwsync},
+ {&bcopy_nop_if_32bit, 0x60000000, PATCH_FEATURE, PatchExt32},
+ {&bcopy_nc_nop_if_32bit,0x60000000, PATCH_FEATURE, PatchExt32},
+ {&memcpy_nop_if_32bit, 0x60000000, PATCH_FEATURE, PatchExt32},
+ {&xsum_nop_if_32bit, 0x60000000, PATCH_FEATURE, PatchExt32},
+ {&uft_nop_if_32bit, 0x60000000, PATCH_FEATURE, PatchExt32},
+ {&uft_uaw_nop_if_32bit, 0x60000000, PATCH_FEATURE, PatchExt32},
+ {&uft_cuttrace, 0x60000000, PATCH_FEATURE, PatchExt32},
+ {NULL, 0x00000000, PATCH_END_OF_TABLE, 0}