How dibingfa/flash-linux0.11-talk works
This repository accompanies a guided reading of Linux 0.11, rather than presenting a separate application. Its central runtime story is kernel initialization followed by creation of a process that opens the startup script and executes a shell; later documented stages cover command input and execution, filesystem and disk I/O, scheduling, and signals. The graph emphasizes those OS responsibilities and their documented progression. Source excerpts are selective, so links beyond calls visible in init and pathname handling are documented or marked unverified.
Main entry points: main.c Kernel init · ll_rw_blk.c Block requests · exec.c Program loading · fork.c Process creation
Components 18
Boot and initialization
- Kernel init
一些非必要的资料/linux-0.11/init/main.c
Processes and memory
- Memory management
一些非必要的资料/linux-0.11/mm/memory.c - Process scheduling
一些非必要的资料/linux-0.11/kernel/sched.c - Process creation
一些非必要的资料/linux-0.11/kernel/fork.c - Program loading
一些非必要的资料/linux-0.11/fs/exec.c
Filesystem
- Pathname operations
一些非必要的资料/linux-0.11/fs/namei.c - File operations
一些非必要的资料/linux-0.11/fs/read_write.c - Filesystem core
一些非必要的资料/linux-0.11/fs
Device I/O
- Block buffers
一些非必要的资料/linux-0.11/fs/buffer.c - Block requests
一些非必要的资料/linux-0.11/kernel/blk_drv/ll_rw_blk.c - Hard disk driver
一些非必要的资料/linux-0.11/kernel/blk_drv/hd.c - Floppy driver
一些非必要的资料/linux-0.11/kernel/blk_drv/floppy.c - Terminal I/O
一些非必要的资料/linux-0.11/kernel/chr_drv/tty_io.c - Console output
一些非必要的资料/linux-0.11/kernel/chr_drv/console.c
Kernel services
- Interrupt handling
一些非必要的资料/linux-0.11/kernel/traps.c - Signal handling
一些非必要的资料/linux-0.11/kernel/signal.c
Other components
- User process
- Shell command
Connections 18
- Kernel init → Process creation: forks process
- Kernel init → Pathname operations: opens startup path
- Kernel init → Program loading: executes shell
- Kernel init → User process: starts process
一些非必要的资料/linux-0.11/init/main.c - User process → Shell command: runs shell
- Shell command → Terminal I/O: reads commands
- Shell command → Program loading: runs commands
- User process → Process scheduling: is scheduled
- Process creation → Memory management: copies address space
- Program loading → Memory management: loads program
- Pathname operations → Filesystem core: resolves paths
一些非必要的资料/linux-0.11/fs/namei.c - Filesystem core → Block buffers: uses block buffers
- Block buffers → Block requests: submits I/O
- Block requests → Hard disk driver: dispatches requests
- Block requests → Floppy driver: dispatches requests
- User process → Signal handling: receives signals
- Interrupt handling → Process scheduling: supports preemption
- Terminal I/O → Console output: writes output