Commit 5b7a6e5
authored
Refactor polyhal with multi modules (#9)
* refactor project structure
* feat: use a new boot design
* opt: init the boot design for these arch
* feat: using new ph-ctor design
* opt: make boot and polyhal more fluent
* feat: use standalone trap design
* feat: pass partial trap support
* faet: pass basic support
* opt: clean unneeded code
* opt: using fdt-parser as default dtb parser
* opt: append tips
* opt: fix some for clippy and format
* opt: merge arch and consts mod
* feat: optimize for percpu
* feat: support boot multicore
* opt: optimize for multicore
* feat: support x86_64 acpi
* feat: optimize pci support
* feat: add graphic support
* feat: optimize x86_64 console support
* feat: support x86_64 MultiCore
* feat: publish to crates.io
* cargo: fixed x86_64 version
* opt: optimize for partial code
* feat: support print and Duration
* feat: init timer and prevent time overflow
* bump: bump to 0.2.3
* feat: bump to 0.2.4
* using x86_64 port of crates.io1 parent 5b89010 commit 5b7a6e5
173 files changed
Lines changed: 2856 additions & 7018 deletions
File tree
- .cargo
- .vscode
- docs
- example
- .cargo
- .vscode
- iso/boot/grub
- linker
- src
- polyhal-boot
- src
- arch
- x86_64
- polyhal-macro
- polyhal-trap
- src
- trapframe
- trap
- aarch64
- loongarch64
- x86_64
- polyhal
- src
- arch
- aarch64
- loongarch64
- riscv64
- x86_64
- boards
- components
- instruction
- aarch64
- riscv64
- x86_64
- irq
- kcontext
- mem
- multicore
- percpu
- timer
- debug_console
- x86_64
- pagetable
- utils
- src
- boards
- components
- arch
- boot
- consts
- debug_console
- x86_64
- instruction
- x86_64
- multicore
- percpu
- timer
- drivers
- uart
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| 9 | + | |
| 10 | + | |
8 | 11 | | |
9 | 12 | | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
11 | 15 | | |
0 commit comments