gil · he/they
gil pushed to main at gil/kernel 2024-05-20 10:42:32 -04:00
eee7c6f02b Make init lock less ambiguous, add fences
gil pushed to main at gil/kernel 2024-05-20 04:03:32 -04:00
325fa3c147 Update flowchart
gil pushed to main at gil/kernel 2024-05-20 03:35:24 -04:00
5dfd3f780f Update entry code, switch to spin crate for spinlocks
e5b51efb87 Call Rust from assembly instead, relocate linker script
d447232b0b Tweak readme
Compare 3 commits »
gil pushed to main at gil/kernel 2024-05-19 18:43:51 -04:00
109afc7840 Fix bad link
gil pushed to main at gil/kernel 2024-05-19 18:43:02 -04:00
d2560cca86 Update readme and init
2cafa00346 Rewrite some asm with riscv crate
Compare 2 commits »
gil pushed to main at gil/kernel 2024-05-19 00:22:13 -04:00
304152dbeb Trim unnecessary unsafe blocks
e7060b38bd Minor comment tweak
9e180a565a Rewrite heap allocation and linker section
c7ccdc371d Update linker script
Compare 4 commits »
gil pushed to main at gil/kernel 2024-05-18 10:35:07 -04:00
1ff52acc42 Add some todos
gil pushed to main at gil/kernel 2024-05-18 10:26:24 -04:00
9af10f2a8e Begin rewriting entry
gil pushed to main at gil/kernel 2024-05-18 09:00:57 -04:00
20c0841a89 Enable other cores and rewrite init step
gil pushed to main at gil/kernel 2024-05-18 01:15:27 -04:00
bc6cc35725 Add another good site to readings
gil pushed to main at gil/kernel 2024-05-18 01:07:52 -04:00
531f0b8a59 Restore important part of example comment
gil pushed to main at gil/kernel 2024-05-17 11:55:50 -04:00
1b90501975 Realign
gil pushed to main at gil/kernel 2024-05-17 11:41:02 -04:00
7f183c7712 Fixed kernel hanging by disabling timer interrupts
eab775e875 Comment result of inspecting disassembly
Compare 2 commits »
gil pushed to main at gil/kernel 2024-05-17 10:54:16 -04:00
2bce140e57 Just inlining some statements
gil pushed to main at gil/kernel 2024-05-16 13:30:12 -04:00
391b13a314 Troubleshooting issue with setting CSRs
3827beec26 Correction to prev comment
Compare 2 commits »
gil pushed to main at gil/kernel 2024-05-16 12:47:52 -04:00
a908bcc0e4 Set mstatus and mie CSRs
6b697a4ca5 Add abort & update panic handler
Compare 2 commits »
gil pushed to main at gil/kernel 2024-05-16 12:21:38 -04:00
c70be3fe1f Add trap.rs
be4bc6e270 Add to-do and set interrupt CSRs
Compare 2 commits »
gil pushed to main at gil/kernel 2024-05-16 09:23:19 -04:00
aaf64d0a2d Add a comment
ef07d172ff Regroup asm blocks
8c1f860d25 Degoogle lol
5df0472703 Loop for non-0 hartid's
Compare 4 commits »
gil pushed to main at gil/kernel 2024-05-16 01:50:44 -04:00
9aa8460825 Cleaning up a comment
gil pushed to main at gil/kernel 2024-05-16 01:37:28 -04:00
b78f21ed21 Comment out unused code blocks