arch/um/kernel/config.c.in
Source file repositories/reference/linux-study-clean/arch/um/kernel/config.c.in
File Facts
- System
- Linux kernel
- Corpus path
arch/um/kernel/config.c.in- Extension
.in- Size
- 505 bytes
- Lines
- 27
- Domain
- Architecture Layer
- Bucket
- arch/um
- Inferred role
- Architecture Layer: arch/um
- 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
stdio.hstdlib.hinit.h
Detected Declarations
function print_config
Annotated Snippet
// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (C) 2002 Jeff Dike (jdike@karaya.com)
*/
#include <stdio.h>
#include <stdlib.h>
#include <init.h>
static __initdata const char *config[] = {
"CONFIG"
};
static int __init print_config(char *line, int *add)
{
int i;
for (i = 0; i < sizeof(config)/sizeof(config[0]); i++)
printf("%s", config[i]);
exit(0);
}
__uml_setup("--showconfig", print_config,
"--showconfig\n"
" Prints the config file that this UML binary was generated from.\n\n"
);
Annotation
- Immediate include surface: `stdio.h`, `stdlib.h`, `init.h`.
- Detected declarations: `function print_config`.
- Atlas domain: Architecture Layer / arch/um.
- 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.