arch/mips/lantiq/falcon/prom.c

Source file repositories/reference/linux-study-clean/arch/mips/lantiq/falcon/prom.c

File Facts

System
Linux kernel
Corpus path
arch/mips/lantiq/falcon/prom.c
Extension
.c
Size
2076 bytes
Lines
91
Domain
Architecture Layer
Bucket
arch/mips
Inferred role
Architecture Layer: implementation source
Status
source implementation candidate

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

switch (type) {
		case 0:
			i->name = SOC_FALCON_D;
			break;
		case 1:
			i->name = SOC_FALCON_V;
			break;
		case 2:
			i->name = SOC_FALCON_M;
			break;
		default:
			i->name = SOC_FALCON;
			break;
		}
		break;

	default:
		unreachable();
		break;
	}

	board_nmi_handler_setup = ltq_soc_nmi_setup;
	board_ejtag_handler_setup = ltq_soc_ejtag_setup;
}

Annotation

Implementation Notes