arch/mips/kernel/head.S
Source file repositories/reference/linux-study-clean/arch/mips/kernel/head.S
File Facts
- System
- Linux kernel
- Corpus path
arch/mips/kernel/head.S- Extension
.S- Size
- 3864 bytes
- Lines
- 157
- Domain
- Architecture Layer
- Bucket
- arch/mips
- Inferred role
- Architecture Layer: arch/mips
- Status
- atlas-only
Why This File Exists
CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
Dependency Surface
linux/init.hlinux/threads.hasm/addrspace.hasm/asm.hasm/asmmacro.hasm/irqflags.hasm/regdef.hasm/mipsregs.hasm/stackframe.hkernel-entry-init.h
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
j start_kernel
#endif /* !CONFIG_RELOCATABLE */
END(kernel_entry)
#ifdef CONFIG_SMP
/*
* SMP slave cpus entry point. Board specific code for bootstrap calls this
* function after setting up the stack and gp registers.
*/
NESTED(smp_bootstrap, 16, sp)
smp_slave_setup
setup_c0_status_sec
j start_secondary
END(smp_bootstrap)
#endif /* CONFIG_SMP */
Annotation
- Immediate include surface: `linux/init.h`, `linux/threads.h`, `asm/addrspace.h`, `asm/asm.h`, `asm/asmmacro.h`, `asm/irqflags.h`, `asm/regdef.h`, `asm/mipsregs.h`.
- Atlas domain: Architecture Layer / arch/mips.
- Implementation status: atlas-only.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.