docs: rename arch.md to architecture.md and update all references
Rename the file to match current naming conventions and update all cross-references throughout the documentation. Update the content to reflect the current state of the codebase: - Module is now called "architecture", not "arch" - Directory is system/kernel/architecture/, not system/kernel/arch/ - Generic kernel file is kernel.zig, not main.zig - Updated file listing for x86_64 architecture module (added smp.zig, per-cpu.zig, ioapic.zig, trampoline.s) - Updated function list in cpu.zig to include enterUser/userExit and address-space management - Clarified that _start lives in architecture-specific isr.s - Expanded architecture-specific vs generic comparison table with actual current modules Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Haiku 4.5
parent
7e4071a065
commit
f9dea7790a
+1
-1
@@ -16,7 +16,7 @@ safely, until the machine is reset or powered off.
|
||||
## The core of it: `hlt`
|
||||
|
||||
Everything comes down to one x86 instruction. It's CPU-specific, so it lives in
|
||||
the arch module, `system/kernel/architecture/x86_64/cpu.zig` (see [arch.md](arch.md)), and the
|
||||
the arch module, `system/kernel/architecture/x86_64/cpu.zig` (see [architecture.md](architecture.md)), and the
|
||||
generic kernel calls it as `arch.halt()`:
|
||||
|
||||
```zig
|
||||
|
||||
Reference in New Issue
Block a user