15 #include <linux/module.h>
17 #include <linux/sched.h>
19 #include <linux/types.h>
23 #include <asm/bootinfo.h>
25 #include <asm/cpu-features.h>
29 #include <asm/reboot.h>
31 #include <asm/traps.h>
127 static void __init dec_be_init(
void)
129 switch (mips_machtype) {
214 static int_ptr kn01_cpu_mask_nr_tbl[][2] __initdata = {
229 static void __init dec_init_kn01(
void)
233 sizeof(kn01_interrupt));
236 memcpy(&cpu_mask_nr_tbl, &kn01_cpu_mask_nr_tbl,
237 sizeof(kn01_cpu_mask_nr_tbl));
247 static int kn230_interrupt[
DEC_NR_INTS] __initdata = {
291 static int_ptr kn230_cpu_mask_nr_tbl[][2] __initdata = {
304 static void __init dec_init_kn230(
void)
308 sizeof(kn230_interrupt));
311 memcpy(&cpu_mask_nr_tbl, &kn230_cpu_mask_nr_tbl,
312 sizeof(kn230_cpu_mask_nr_tbl));
322 static int kn02_interrupt[
DEC_NR_INTS] __initdata = {
366 static int_ptr kn02_cpu_mask_nr_tbl[][2] __initdata = {
377 static int_ptr kn02_asic_mask_nr_tbl[][2] __initdata = {
394 static void __init dec_init_kn02(
void)
398 sizeof(kn02_interrupt));
401 memcpy(&cpu_mask_nr_tbl, &kn02_cpu_mask_nr_tbl,
402 sizeof(kn02_cpu_mask_nr_tbl));
405 memcpy(&asic_mask_nr_tbl, &kn02_asic_mask_nr_tbl,
406 sizeof(kn02_asic_mask_nr_tbl));
419 static int kn02ba_interrupt[
DEC_NR_INTS] __initdata = {
463 static int_ptr kn02ba_cpu_mask_nr_tbl[][2] __initdata = {
476 static int_ptr kn02ba_asic_mask_nr_tbl[][2] __initdata = {
495 static void __init dec_init_kn02ba(
void)
499 sizeof(kn02ba_interrupt));
502 memcpy(&cpu_mask_nr_tbl, &kn02ba_cpu_mask_nr_tbl,
503 sizeof(kn02ba_cpu_mask_nr_tbl));
506 memcpy(&asic_mask_nr_tbl, &kn02ba_asic_mask_nr_tbl,
507 sizeof(kn02ba_asic_mask_nr_tbl));
520 static int kn02ca_interrupt[
DEC_NR_INTS] __initdata = {
564 static int_ptr kn02ca_cpu_mask_nr_tbl[][2] __initdata = {
575 static int_ptr kn02ca_asic_mask_nr_tbl[][2] __initdata = {
592 static void __init dec_init_kn02ca(
void)
596 sizeof(kn02ca_interrupt));
599 memcpy(&cpu_mask_nr_tbl, &kn02ca_cpu_mask_nr_tbl,
600 sizeof(kn02ca_cpu_mask_nr_tbl));
603 memcpy(&asic_mask_nr_tbl, &kn02ca_asic_mask_nr_tbl,
604 sizeof(kn02ca_asic_mask_nr_tbl));
617 static int kn03_interrupt[
DEC_NR_INTS] __initdata = {
661 static int_ptr kn03_cpu_mask_nr_tbl[][2] __initdata = {
672 static int_ptr kn03_asic_mask_nr_tbl[][2] __initdata = {
693 static void __init dec_init_kn03(
void)
697 sizeof(kn03_interrupt));
700 memcpy(&cpu_mask_nr_tbl, &kn03_cpu_mask_nr_tbl,
701 sizeof(kn03_cpu_mask_nr_tbl));
704 memcpy(&asic_mask_nr_tbl, &kn03_asic_mask_nr_tbl,
705 sizeof(kn03_asic_mask_nr_tbl));
736 panic(
"Don't know how to set this up!");
739 panic(
"Don't know how to set this up!");
742 panic(
"Don't know how to set this up!");