Commit Graph

99 Commits

Author SHA1 Message Date
0af7025264 feat: objects: untyped: use bits instead of size 2024-06-15 16:14:33 +08:00
7757a174ce fix: backtrace: latest Rust will make ra = 0xffffffff when getting the first frame 2024-06-14 22:37:33 +08:00
ad4da2a7e4 feat: riscv: vspace: implement copy_kernel_pagetable and drop KERNEL_PAGETABLE_SIZE 2024-06-14 21:15:08 +08:00
97392a5788 feat: riscv: vspace: always use virtual address with page table 2024-06-14 21:13:11 +08:00
8824345b17 fix: riscv: ld: linker will not increment dot when handling .tbss, manually set dot to TLS_END for getting the correct KERNEL_END 2024-06-14 21:11:42 +08:00
c451aa4c76 fix: vspace: entry: PTEFlags -> MapAttr: RWX must all be empty when indicating a page table 2024-06-14 21:06:09 +08:00
42a7ea89c5 feat: vspace: table: allow to get table vaddr 2024-06-14 16:44:13 +08:00
03aa0edcc8 feat: vspace: entry: add clear api 2024-06-14 16:25:16 +08:00
8fe47c5728 feat: root: initial root server setup logic 2024-06-14 15:36:55 +08:00
da05567fbf chore: uapi: cap: rename PageTable to Table 2024-06-14 15:34:24 +08:00
f4bb68a6f4 fix: sync with latest Rust 2024-06-14 14:29:46 +08:00
c013478d0b feat: cap: update size info 2024-06-09 21:46:20 +08:00
3b3c68a203 feat: objects: tcb: update states 2024-06-09 15:40:26 +08:00
9f4be01153 feat: add debug support for cnode 2024-06-09 15:38:46 +08:00
a58110f013 chore: kmem: make clippy happy 2024-06-09 14:01:19 +08:00
d36c534a92 chore: objects/cnode: adapt to new uapi 2024-06-09 00:19:38 +08:00
9c1b39b6d7 chore: format 2024-06-09 00:18:24 +08:00
a007e299d2 chore: kmem: make memory reserving rules more robust 2024-06-09 00:16:27 +08:00
95713e2af4 feat: arch/vspace: kmem: exclude initrd 2024-06-02 16:13:20 +08:00
d53fa7b93e chore: vspace: split vspace functions 2024-06-02 15:38:45 +08:00
d4b2f78505 chore: add conversion between PageError and SysError 2024-05-22 14:45:48 +08:00
b37fef3e26 chore: objects: tcb: unify names about time to time_tick 2024-05-20 16:27:04 +08:00
32e21b3468 chore: entry: store N_CPUS 2024-05-20 16:16:03 +08:00
5d5c18592f feat: scheduler: rewrite 2024-05-20 16:15:36 +08:00
8897e6467c feat: objects: add initial support for TcbObj 2024-05-20 16:15:00 +08:00
f005c8254b chore: logging: print time ticks in metadata 2024-05-20 16:06:41 +08:00
001550b387 feat: vspace: addr: add is_kernel 2024-05-20 13:50:58 +08:00
0d0a5471af feat: add idle thread 2024-05-20 13:18:38 +08:00
7d5875cb0c feat: objects: adapt to new vspace 2024-05-19 17:07:29 +08:00
36b061d9a1 feat: refactor vspace 2024-05-19 14:01:05 +08:00
a56c481970 feat: split lib/vspace:
1. `addr` move to `utils`
2. prepare to refactor `vspace`

[skip_ci]
2024-05-07 23:50:52 +08:00
248a985bab fix: use sscratch to judge trap source 2024-05-07 20:39:32 +08:00
0ee2b996e4 feat: add TableCap 2024-05-06 01:13:24 +08:00
c710cdcd15 chore: FrameCap: fix typo and rename func 2024-05-06 01:02:33 +08:00
f0891ff87d feat: table: add TABLE_SIZE 2024-05-06 01:01:58 +08:00
e46ca5a288 chore: simplify SysResult 2024-05-06 00:30:41 +08:00
2db111e730 feat: add FrameCap 2024-05-06 00:30:22 +08:00
aaf9cfc5a0 chore: remove unused features 2024-05-06 00:20:44 +08:00
5dfe3888e9 fix: untyped: retype: return SlotNotEmpty 2024-05-05 22:41:25 +08:00
f577370ee7 chore: rename api to uapi 2024-05-05 21:28:34 +08:00
a65176bc57 feat: record time ticks 2024-05-05 15:38:41 +08:00
d2155ed7cf feat: utils: linked_list: do not require clone trait 2024-05-05 00:16:27 +08:00
0c3ece6fdc feat: switch to new linked_list 2024-05-04 23:29:42 +08:00
93df10c5a2 chore: make clippy happy 2024-04-28 21:57:44 +08:00
95dc7144c6 feat: add tests for untyped 2024-04-28 21:52:31 +08:00
5ea8a56611 fix: untyped retype: check null 2024-04-28 20:45:10 +08:00
18240fec26 feat: add tests for cnode address resolving 2024-04-25 01:03:07 +08:00
4647d1fd2a feat: add backtrace support 2024-04-24 16:33:02 +08:00
e6abb50f86 feat: adjust Cell granularity for CapEntry 2024-04-23 01:03:04 +08:00
cadfafca12 feat: refactor cap 2024-04-23 00:48:46 +08:00