arch/mips/sgi-ip32/ip32-setup.c
Source file repositories/reference/linux-study-clean/arch/mips/sgi-ip32/ip32-setup.c
File Facts
- System
- Linux kernel
- Corpus path
arch/mips/sgi-ip32/ip32-setup.c- Extension
.c- Size
- 2333 bytes
- Lines
- 101
- 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.
- CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
Dependency Surface
linux/console.hlinux/init.hlinux/interrupt.hlinux/param.hlinux/sched.hlinux/string.hasm/bootinfo.hasm/mipsregs.hasm/mmu_context.hasm/sgialib.hasm/time.hasm/traps.hasm/io.hasm/ip32/crime.hasm/ip32/mace.hasm/ip32/ip32_ints.hip32-common.h
Detected Declarations
function str2hexnumfunction str2eaddrfunction plat_time_initfunction plat_mem_setup
Annotated Snippet
if (con && *con == 'd') {
static char options[8] __initdata;
char *baud = ArcGetEnvironmentVariable("dbaud");
if (baud)
strscpy(options, baud);
add_preferred_console("ttyS", *(con + 1) == '2' ? 1 : 0,
baud ? options : NULL);
}
}
#endif
}
Annotation
- Immediate include surface: `linux/console.h`, `linux/init.h`, `linux/interrupt.h`, `linux/param.h`, `linux/sched.h`, `linux/string.h`, `asm/bootinfo.h`, `asm/mipsregs.h`.
- Detected declarations: `function str2hexnum`, `function str2eaddr`, `function plat_time_init`, `function plat_mem_setup`.
- Atlas domain: Architecture Layer / arch/mips.
- Implementation status: source implementation candidate.
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.