Commit graph

1559 commits

Author SHA1 Message Date
Imbus
c9665ce5bd Sanity checking when generating usys.S 2025-01-15 13:14:02 +01:00
Imbus
5a3fa8f6af Branch out the spinlock code into its own header 2025-01-14 22:03:15 +01:00
Imbus
20551ae040 Remove dependence on perl, depend on python instead 2025-01-14 20:29:50 +01:00
Imbus
1825a89ab5 Comment conversion 2025-01-13 16:35:15 +01:00
Imbus
eb6dd2be2c PTE flag comments 2025-01-13 16:35:15 +01:00
Imbus
1d3036da7a Makefile target 'kernel' 2025-01-13 16:34:47 +01:00
Imbus
b8b8f58fee Cleaning up init, splitting out banner to separate header. 2025-01-11 15:52:03 +01:00
Imbus
bae44d0333 Halt system on shell exit 2025-01-11 15:51:10 +01:00
Imbus
146e7f65ca Halt syscall and userspace util. Mapped qemu power. 2025-01-11 14:50:17 +01:00
Imbus
e94eecd9a1 Better hart startup indicators 2025-01-11 14:49:38 +01:00
Imbus
ced7c79bd8 Unused includes 2024-08-09 07:59:10 +02:00
Imbus
d6dd26c67e Documentation 2024-08-09 07:59:03 +02:00
Imbus
59d36a7c8e Halt draft 2024-08-09 07:58:00 +02:00
Imbus
3e639fe25d In-source documentation of sepc and scause instructions 2024-08-09 04:34:11 +02:00
Imbus
9b339273bb Fixing broken loop formatting 2024-08-07 16:07:20 +02:00
Imbus
fbfb728b8f Allow body-less loops on a single line 2024-08-07 16:07:05 +02:00
Imbus
67a2839d0a Documenting and slight restructure in spinlock.c 2024-08-07 15:37:55 +02:00
Imbus
6f7a2ac685 Unused include cleaning 2024-08-07 15:37:30 +02:00
Imbus
27ccb5eee8 Defaulting to 'all' target in makefile 2024-08-07 14:58:29 +02:00
Imbus
7ed836c1e1 Cleaning unused imports 2024-08-07 14:57:15 +02:00
Imbus
c6706d489e Removing unused includes 2024-08-07 14:35:02 +02:00
Imbus
5829a06e3a Capitalizing and reformatting comments 2024-08-07 14:33:58 +02:00
Imbus
5bbe3619df Formatting 2024-08-07 14:25:34 +02:00
Imbus
80a3465ebd Trampoline assembly documentation 2024-08-07 14:25:27 +02:00
Imbus
530d8c0fe4 Extensive documentation of the architecture specific bits 2024-08-07 14:25:19 +02:00
Imbus
a1b9321a74 Zeroing all registers in kernel entry code 2024-08-07 11:26:45 +02:00
Imbus
ad34ff9b86 Removing redundant imports 2024-08-07 11:26:33 +02:00
Imbus
be6678c0e6 Helpful comments in assembly and linker script files 2024-08-07 11:26:07 +02:00
Imbus
7a3c98f2b4 Removed trailning whitespace from source files 2024-08-07 08:44:43 +02:00
Imbus
065b782951 Initial documentation for system calls 2024-08-07 08:26:50 +02:00
Imbus
2029279601 Fixing makefile referencing old readme file 2024-08-07 07:57:50 +02:00
Imbus
0ccb8c094d Removing unused includes 2024-08-07 07:56:22 +02:00
Imbus
88e797e39d Going with broken formatting for now 2024-08-07 07:39:56 +02:00
Imbus
5363427820 Fixing markdown rendering 2024-08-07 07:33:50 +02:00
Imbus
a27252d057 Attempt to fix formatting 2024-08-07 07:29:01 +02:00
Imbus
0b430687e8 Restructuring readme with instructions for fedora 2024-08-07 07:25:02 +02:00
Imbus
7bdb25a790 README -> README.md 2024-08-07 07:12:33 +02:00
Imbus
9d0123f43e Moving header include inside __ASSEMBLER__ guard to fix assembler error 2024-08-07 07:11:35 +02:00
Imbus
11b52f63c1 Trace syscall WIP 2024-08-07 06:39:09 +02:00
Imbus
a14ba848b3 Header guards (#pragma once) for all kernel headers 2024-08-07 06:35:06 +02:00
Imbus
ada9625a1b Clearer syscall array in syscall.c 2024-08-07 05:54:40 +02:00
Imbus
eccdaeeaaa Disable clang-format for certain lines 2024-08-07 05:20:01 +02:00
Imbus
42ca95f9d9 Gitignore for clangd and compile-commands.json 2024-08-07 05:12:38 +02:00
Imbus
ace0dc3de9 Clear terminal command 2024-07-10 23:47:41 +02:00
Imbus
16ec5d2d7b FreeBSD-like make targets for kernel, world and fs 2024-07-06 15:46:24 +02:00
Imbus
4d688c6837 Cool banner because it is cool 2024-07-03 08:25:31 +02:00
Imbus
d6793bf093 Complete reformat 2024-06-15 16:55:06 +02:00
Imbus
b1a34398e9 Clang format 2024-06-15 16:31:06 +02:00
Imbus
1a5160f626 Further tuning clang-format 2024-06-15 16:14:22 +02:00
Imbus
6a4ad27796 Tuning clang-format to match original code 2024-06-15 15:51:36 +02:00