Repository navigation
community_0_headers_kernel
grisun0 edited this page Oct 23, 2026
·
13 revisions
Community 0 | 137 files | cohesion 0.90
This community groups 137 file(s) rooted at headers with dominant language c (cohesion 0.90). Central symbols: A20_CONTROL_PORT, A20_ENABLE_BIT, A20_RESET_CLEAR_MASK, ALIGN_UP, AP_STUB_ADDR, ARCH_X86_CPU_SETUP_H, ARCH_X86_MSR_H, BC_LINE. Core file: headers/kernel.h (412 symbols). Documented purpose: SMP application-processor bootstrap stub..
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
headers/ap_stub.h |
h | testing | 0 | yes |
headers/block.h |
h | utility | 14 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
tests/test_driver.c |
c | testing | 5 | yes |
tests/test_ext4.c |
c | testing | 31 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
kernel/console.c |
c | utility | 29 | yes |
kernel/console_in.c |
c | utility | 32 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
drivers/block.c |
c | infrastructure | 19 | yes |
drivers/driver.c |
c | infrastructure | 8 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
headers/drivers/kbd.h |
h | infrastructure | 24 | yes |
headers/drivers/modifiers.h |
h | infrastructure | 11 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
fs/ext4.c |
c | utility | 38 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
kernel.c |
c | utility | 15 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
kernel/mm/cow.c |
c | utility | 28 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
headers/arch/x86/cpu_setup.h |
h | infrastructure | 2 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
arch/x86/ap_entry.S |
S | utility | 9 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
arch/x86/boot/stage1.S |
S | utility | 11 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
net/net.c |
c | utility | 157 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
headers/arch/x86/boot/bootdefs.h |
h | utility | 157 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
headers/kernel/console_in.h |
h | utility | 12 | yes |
| File | Language | Layer | Symbols | Doc |
|---|---|---|---|---|
headers/net/rtl8139.h |
h | utility | 8 | no |
... and 117 more files in this community.
-
ap_stub_start(function,arch/x86/ap_entry.S:21) -
ap_pm(function,arch/x86/ap_entry.S:39) -
ap_lm(function,arch/x86/ap_entry.S:62) -
ap_patch_slot(function,arch/x86/ap_entry.S:80) -
ap_gdt32(function,arch/x86/ap_entry.S:84) -
ap_gdt32_ptr(function,arch/x86/ap_entry.S:88) - movw %ax, %ss /* Load smp_ap_entry()'s address from the BSP-patched slot and go. mov ap_patch_slot(% -
ap_gdt32_end(function,arch/x86/ap_entry.S:91) -
ap_gdt64_ptr(function,arch/x86/ap_entry.S:93) -
ap_stub_end(function,arch/x86/ap_entry.S:98) -
main(function,arch/x86/boot/stage1.S:28) -
normalize(function,arch/x86/boot/stage1.S:32) -
no_extensions(function,arch/x86/boot/stage1.S:78) -
read_failed(function,arch/x86/boot/stage1.S:82) -
fail(function,arch/x86/boot/stage1.S:85) -
halt(function,arch/x86/boot/stage1.S:88) -
puts(function,arch/x86/boot/stage1.S:93) -
puts_next(function,arch/x86/boot/stage1.S:97) -
puts_done(function,arch/x86/boot/stage1.S:103) -
msg_no_lba(function,arch/x86/boot/stage1.S:107) -
msg_read(function,arch/x86/boot/stage1.S:109) -
stage2_main(function,arch/x86/boot/stage2.S:39) -
a20_ready(function,arch/x86/boot/stage2.S:54) -
load_chunk(function,arch/x86/boot/stage2.S:69) -
chunk_size_ready(function,arch/x86/boot/stage2.S:74) -
read_piece(function,arch/x86/boot/stage2.S:81) -
piece_size_ready(function,arch/x86/boot/stage2.S:86) -
chunk_copy(function,arch/x86/boot/stage2.S:118) -
chunk_leave_pm(function,arch/x86/boot/stage2.S:131) -
chunk_resume(function,arch/x86/boot/stage2.S:141) -
enter_long_mode(function,arch/x86/boot/stage2.S:162)
- Internal resolved imports (EXTRACTED): 319
- Cross-boundary resolved imports (EXTRACTED): 37
- [EXTRACTED] depends_on community 0 <-> 5 (strength 0.9): Extracted import edge crosses communities: drivers/kbd.c imports headers/wm_events.h.
- [EXTRACTED] depends_on community 0 <-> 2 (strength 0.9): Extracted import edge crosses communities: drivers/pcm2.c imports headers/pcm_ring.h.
- [EXTRACTED] depends_on community 4 <-> 0 (strength 0.9): Extracted import edge crosses communities: headers/tls_port.h imports headers/kernel.h.
- [EXTRACTED] depends_on community 0 <-> 8 (strength 0.9): Extracted import edge crosses communities: kernel/sched.c imports headers/tick.h.
- [EXTRACTED] depends_on community 0 <-> 7 (strength 0.9): Extracted import edge crosses communities: kernel/syscalls.c imports headers/batch.h.
- [INFERRED] shares_context community 0 <-> 6 (strength 0.5): Inferred shared context (layer utility) with no import path between community 0 (headers: kernel) and community 6 (progs/doomgeneric: net_defs).
- [INFERRED] shares_context community 0 <-> 9 (strength 0.5): Inferred shared context (layer utility) with no import path between community 0 (headers: kernel) and community 9 (tools: doom_pwad).
- [INFERRED] shares_context community 0 <-> 10 (strength 0.5): Inferred shared context (language c and layer utility) with no import path between community 0 (headers: kernel) and community 10 (orphans).
- [dataflow DEAD_STORE]
drivers/sb16.c:259sb16_pumpdst:dstassigned at line 259 but never read afterwards. - [dataflow DEAD_STORE]
drivers/sb16.c:531sb16_initmajor:majorassigned at line 531 but never read afterwards. - [dataflow DEAD_STORE]
drivers/virtio_blk.c:169vblk_descd:dassigned at line 169 but never read afterwards. - [dataflow DEAD_STORE]
drivers/virtio_blk.c:189vblk_avail_pusha:aassigned at line 189 but never read afterwards. - [dataflow DEAD_STORE]
drivers/virtio_net.c:146vnet_descd:dassigned at line 146 but never read afterwards. - [dataflow DEAD_STORE]
fs/kfile.c:103kpipe_pairref:refassigned at line 103 but never read afterwards. - [dataflow UNINIT_USE]
kernel/loader.c:932ldso_bind_intosymname:symnamemay be read before initialization (declared line 896). - [dataflow DEAD_STORE]
kernel/loader.c:1278load_exec_elfbase:baseassigned at line 1278 but never read afterwards. - [dataflow DEAD_STORE]
kernel/loader.c:1283load_exec_elfmax_end:max_endassigned at line 1283 but never read afterwards. - [dataflow DEAD_STORE]
kernel/mm/cow.c:117cow_rehashref:refassigned at line 117 but never read afterwards. - [dataflow DEAD_STORE]
kernel/mm/paging.c:44mm_setup_protectionspd:pdassigned at line 44 but never read afterwards. - [dataflow DEAD_STORE]
kernel/mm/paging.c:686honestpt:ptassigned at line 686 but never read afterwards. - [dataflow DEAD_STORE]
kernel/sched.c:632irqstat_reporttxf:txfassigned at line 632 but never read afterwards. - [dataflow DEAD_STORE]
kernel/sched.c:1399syscallwheel:wheelassigned at line 1399 but never read afterwards. - [dataflow DEAD_STORE]
kernel/sched.c:2080proc_spawn_elf_innerframe:frameassigned at line 2080 but never read afterwards.
- Why do 14 file(s) lack file-level docs (e.g.
arch/x86/syscall_entry.S)? What purpose do they serve? - What would break if the most connected file in headers: kernel changed?
- Should headers: kernel be split, given cohesion 0.90?
arch/x86/ap_entry.Sarch/x86/boot/stage1.Sarch/x86/boot/stage2.Sarch/x86/syscall_entry.Sdrivers/block.cdrivers/driver.cdrivers/ide.cdrivers/kbd.cdrivers/mouse.cdrivers/nvme.cdrivers/pcm2.cdrivers/pcspk.cdrivers/rtc.cdrivers/sb16.cdrivers/usbblk.cdrivers/usbhid.cdrivers/virtio_blk.cdrivers/virtio_net.cdrivers/xhci.cfs/ext4.c- ... and 117 more
Generated offline by readmenator from commit cd87980b5eb5. Edits here are overwritten by readmenator . --rebuild.
Start
Wiki
- community_0_headers_kernel
- community_10_orphans
- community_1_progs_doomgeneric_d_englsh
- community_2_progs_src
- community_3_progs_doomgeneric_p_spec
- community_4_tools_tls_crypto
- community_5_headers_vga_fb
- community_6_progs_doomgeneric_net_defs
- community_7_headers_batch
- community_8_headers_tick
- community_9_tools_doom_pwad
- concepts
- queries
- REPORT
Agent Docs
- API
- API_p10
- API_p11
- API_p12
- API_p13
- API_p14
- API_p15
- API_p16
- API_p17
- API_p18
- API_p19
- API_p2
- API_p20
- API_p21
- API_p3
- API_p4
- API_p5
- API_p6
- API_p7
- API_p8
- API_p9
- ARCHITECTURE
- ARCHITECTURE_p2
- ARCHITECTURE_p3
- ARCHITECTURE_p4
- CONCEPTS
- GOTCHAS
- INDEX
- INDEX_p2
- KB_asm
- KB_boot
- KB_doomgeneric
- KB_doomgeneric_p10
- KB_doomgeneric_p11
- KB_doomgeneric_p12
- KB_doomgeneric_p2
- KB_doomgeneric_p3
- KB_doomgeneric_p4
- KB_doomgeneric_p5
- KB_doomgeneric_p6
- KB_doomgeneric_p7
- KB_doomgeneric_p8
- KB_doomgeneric_p9
- KB_drivers
- KB_drivers_p2
- KB_file
- KB_freedomui
- KB_fs
- KB_headers
- KB_headers_arch_x86
- KB_headers_drivers
- KB_headers_kernel
- KB_headers_p2
- KB_headers_p3
- KB_headers_p4
- KB_headers_p5
- KB_headers_p6
- KB_kernel
- KB_kernel_p2
- KB_kernel_p3
- KB_kernel_p4
- KB_lib
- KB_lisp
- KB_lua
- KB_mcp
- KB_minios
- KB_misc
- KB_misc_p2
- KB_misc_p3
- KB_mm
- KB_net
- KB_nuklear
- KB_pokemon
- KB_progs
- KB_quake2generic
- KB_root
- KB_src
- KB_src_p2
- KB_src_p3
- KB_tests
- KB_tests_p2
- KB_tls_u
- KB_tools
- KB_tools_p2
- KB_wl
- KB_x86
- MEMORY
- SECURITY
- SYMBOLS
- SYMBOLS_p10
- SYMBOLS_p11
- SYMBOLS_p12
- SYMBOLS_p13
- SYMBOLS_p14
- SYMBOLS_p15
- SYMBOLS_p16
- SYMBOLS_p17
- SYMBOLS_p18
- SYMBOLS_p19
- SYMBOLS_p2
- SYMBOLS_p20
- SYMBOLS_p21
- SYMBOLS_p22
- SYMBOLS_p23
- SYMBOLS_p24
- SYMBOLS_p25
- SYMBOLS_p26
- SYMBOLS_p27
- SYMBOLS_p3
- SYMBOLS_p4
- SYMBOLS_p5
- SYMBOLS_p6
- SYMBOLS_p7
- SYMBOLS_p8
- SYMBOLS_p9
Recipes