Skip to content
traps.c 49.1 KiB
Newer Older
	set_except_vector(26, handle_dsp);
	if (board_cache_error_setup)
		board_cache_error_setup();

	if (cpu_has_vce)
		/* Special exception: R4[04]00 uses also the divec space. */
		set_handler(0x180, &except_vec3_r4000, 0x100);
	else if (cpu_has_4kex)
		set_handler(0x180, &except_vec3_generic, 0x80);
		set_handler(0x080, &except_vec3_generic, 0x80);
	local_flush_icache_range(ebase, ebase + 0x400);

	sort_extable(__start___dbe_table, __stop___dbe_table);
	cu2_notifier(default_cu2_call, 0x80000000);	/* Run last  */
Linus Torvalds's avatar
Linus Torvalds committed
}