Commit Graph

107 Commits

Author SHA1 Message Date
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
ea98eb5c61 feat: utils: linked_list: more api 2024-05-05 15:26:07 +08:00
36b409444d feat: utils: linked_list: add const new 2024-05-05 00:23:45 +08:00
d2155ed7cf feat: utils: linked_list: do not require clone trait 2024-05-05 00:16:27 +08:00
1ce03e09cc feat: drop xtask, use makefile 2024-05-05 00:06:43 +08:00
750a48f281 fix: utils: add missing warn.rs 2024-05-04 23:31:04 +08:00
2bb9e9b651 chore: utils: make clippy happy 2024-05-04 23:30:29 +08:00
0c3ece6fdc feat: switch to new linked_list 2024-05-04 23:29:42 +08:00
c24264f469 feat: utils: add linked_list 2024-05-04 23:28:20 +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
067a7996b4 feat: add vscode debug 2024-04-24 21:27:35 +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
7d34dfc2cd chore: make clippy happy 2024-04-22 21:08:49 +08:00
ff02847885 fix: MASK should be wrapped by paren 2024-04-22 21:06:08 +08:00
615dac5f5c feat: add initial cnode and untyped support 2024-04-22 21:02:07 +08:00
59514440e0 chore: vscode: make sysroot readonly 2024-04-22 01:01:36 +08:00
25982b5a33 feat: rewrite then methods 2024-04-22 01:01:22 +08:00
5c1e73a4ee feat: refactor cap 2024-04-21 20:22:48 +08:00
c371fd543f feat: add utils/bin 2024-04-20 18:17:56 +08:00
ea80bd3e8d feat: template for scheduler 2024-04-19 23:57:58 +08:00
c67a771500 chore: make clippy happy 2024-04-19 23:38:54 +08:00
8218f87765 chore: use global FDT 2024-04-19 19:49:09 +08:00
e360db4972 chore: add some utils helper 2024-04-19 19:47:49 +08:00
5a9a11ce1c chore: add config for rust-analyzer to work in vscode 2024-04-13 16:48:51 +08:00
c53dd8b930 chore: adjust warning and remove unused imports 2024-04-13 16:48:29 +08:00
319c9db662 feat: xtask: add test 2024-04-12 23:57:45 +08:00
3b02a14aeb fix: virt: lowlevel: test_device should translate address 2024-04-12 23:42:30 +08:00
32759ef037 feat: drop riscv32 2024-04-12 23:33:12 +08:00
1d672b4ff8 feat: support features selection in xtask 2024-04-12 22:42:55 +08:00
1a924738f0 feat: move boot page table into board 2024-04-12 22:39:48 +08:00
1f91c77b4f fix: adjust GitHub Action 2024-04-12 22:24:22 +08:00
864344a8c1 chore: apply format 2024-04-12 22:21:19 +08:00
5da6447f6c feat: switch to cargo xtask 2024-04-12 22:21:08 +08:00
456ee51d36 feat: add kernel pagetable support 2024-04-12 18:48:36 +08:00
83abc72e04 fix: extern_addr: remove as_phys_addr, lds will provide virt addr 2024-04-12 18:36:28 +08:00
beb792d426 chore: adjust max_width 2024-04-12 01:17:36 +08:00
f41664e7cd feat: fixup use in kernel 2024-04-09 01:11:54 +08:00
4d090c0478 feat: move allocator into lib 2024-04-09 00:10:28 +08:00
bed9baac4b feat: move utils into lib 2024-04-08 23:07:44 +08:00
6267f8449d feat: move vspace into lib 2024-04-08 23:04:37 +08:00
774cabc513 fix: some parts of physical memory is not mapped 2024-04-08 17:47:37 +08:00
1d026d8053 feat: map kernel
1. initial riscv32 support
2. fix bug in table.rs: cur level order is reversed
3. introduce global kernel_{phys, virt}_to_{virt, phys} for address translating
4. remove unused riscv/mm
5. initial early_memory management through RamBlock
6. initial kernel space mapping support
2024-04-08 16:23:10 +08:00
13e331f4d2 chore: introduce PAGE_LAYOUT 2024-04-07 20:10:08 +08:00
70ca917778 chore: rename symbol name from linker script 2024-04-07 19:38:26 +08:00