# happyflyer/wangdao-operating-system architecture

> Architecture diagram of the GitHub repository happyflyer/wangdao-operating-system, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-18). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/happyflyer/wangdao-operating-system
- Repository: https://github.com/happyflyer/wangdao-operating-system

## Overview

This repository is a Chinese operating-systems study guide, not an operating-system implementation. Its documented learning path starts with the overview in the root README and points to chapters on process, memory, file, and I/O management. The overview also covers resource management, user-facing interfaces, kernel mechanisms, interrupts, and system calls. Chapter README contents were not provided, so their internal topics and relationships are not expanded here.

Main entry points: [`README.md`](https://github.com/happyflyer/wangdao-operating-system/blob/main/README.md) (OS overview), [`ch2/README.md`](https://github.com/happyflyer/wangdao-operating-system/blob/main/ch2/README.md) (Process management), [`ch3/README.md`](https://github.com/happyflyer/wangdao-operating-system/blob/main/ch3/README.md) (Memory management), [`ch4/README.md`](https://github.com/happyflyer/wangdao-operating-system/blob/main/ch4/README.md) (File management)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_overview["OS foundations"]
  node_foundations["OS overview<br/>[README.md]"]
end

subgraph group_interfaces["User interfaces"]
  node_interfaces["OS interfaces<br/>[README.md]"]
end

subgraph group_kernel["Kernel mechanisms"]
  node_kernel["Kernel and interrupts<br/>[README.md]"]
end

subgraph group_management["Resource management"]
  node_process["Process management<br/>[README.md]"]
  node_memory["Memory management<br/>[README.md]"]
  node_files["File management<br/>[README.md]"]
  node_io["I/O management<br/>[README.md]"]
end

node_learner(("Learner"))

node_learner -->|"studies"| node_foundations
node_foundations -->|"introduces"| node_interfaces
node_foundations -->|"introduces"| node_kernel
node_foundations -->|"links to"| node_process
node_foundations -->|"links to"| node_memory
node_foundations -->|"links to"| node_files
node_foundations -->|"links to"| node_io

click node_foundations "https://github.com/happyflyer/wangdao-operating-system/blob/main/README.md"
click node_interfaces "https://github.com/happyflyer/wangdao-operating-system/blob/main/README.md"
click node_kernel "https://github.com/happyflyer/wangdao-operating-system/blob/main/README.md"
click node_process "https://github.com/happyflyer/wangdao-operating-system/blob/main/ch2/README.md"
click node_memory "https://github.com/happyflyer/wangdao-operating-system/blob/main/ch3/README.md"
click node_files "https://github.com/happyflyer/wangdao-operating-system/blob/main/ch4/README.md"
click node_io "https://github.com/happyflyer/wangdao-operating-system/blob/main/ch5/README.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_foundations toneBlue
class node_interfaces toneAmber
class node_kernel toneMint
class node_process,node_memory,node_files,node_io toneRose
class node_learner toneIndigo
```

## Components

### OS foundations

- [OS overview](https://github.com/happyflyer/wangdao-operating-system/blob/main/README.md): `README.md`

### User interfaces

- [OS interfaces](https://github.com/happyflyer/wangdao-operating-system/blob/main/README.md): `README.md`

### Kernel mechanisms

- [Kernel and interrupts](https://github.com/happyflyer/wangdao-operating-system/blob/main/README.md): `README.md`

### Resource management

- [Process management](https://github.com/happyflyer/wangdao-operating-system/blob/main/ch2/README.md): `ch2/README.md`
- [Memory management](https://github.com/happyflyer/wangdao-operating-system/blob/main/ch3/README.md): `ch3/README.md`
- [File management](https://github.com/happyflyer/wangdao-operating-system/blob/main/ch4/README.md): `ch4/README.md`
- [I/O management](https://github.com/happyflyer/wangdao-operating-system/blob/main/ch5/README.md): `ch5/README.md`

### Other components

- **Learner**

## Connections

- Learner → OS overview: studies (evidence: `README.md`)
- OS overview → OS interfaces: introduces (evidence: `README.md`)
- OS overview → Kernel and interrupts: introduces (evidence: `README.md`)
- OS overview → Process management: links to (evidence: `README.md`)
- OS overview → Memory management: links to (evidence: `README.md`)
- OS overview → File management: links to (evidence: `README.md`)
- OS overview → I/O management: links to (evidence: `README.md`)
