Commit graph

47 commits

Author SHA1 Message Date
Imbus
57be90da84 kernel.ld: slight rewrite, use memory regions for ram instead of static offset 2025-09-06 00:54:38 +02:00
Imbus
89197a0b07 assert.h: assert & assert_msg panic macros 2025-09-06 00:13:24 +02:00
Imbus
dac4f9de43 Repairing PANIC macro, now handles VA_ARGS properly 2025-09-06 00:12:58 +02:00
Imbus
2eba11bb3f stdlib: abs, labs, llabs 2025-09-05 23:43:08 +02:00
Imbus
9bd5fdfa45 Include stdlib in string.h 2025-09-05 23:32:15 +02:00
Imbus
291d0797e3 stdlib.h: define EXIT_SUCCESS and EXIT_FAILURE 2025-09-05 23:32:03 +02:00
Imbus
851424f3cb stdint.h: typedefs for signed integers (int8_t, i8, e.t.c.) 2025-09-05 23:31:39 +02:00
Imbus
78e4ad9885 Slab outline 2025-09-04 17:57:59 +02:00
Imbus
129b29eaf3 Likely/unlikely 2025-09-04 05:00:09 +02:00
Imbus
4ee23cd145 stddef.h: size_t 2025-09-04 05:00:02 +02:00
Imbus
a02c1fcebd Use compiler builtins for spin_unlock, correct initialization for spinlock_init 2025-09-02 04:43:55 +02:00
Imbus
e15b705eda Enable pop_off and push_off in spinlocks 2025-09-02 04:30:00 +02:00
Imbus
595ae0a8e2 Clean up string.c, remove unused duplicates 2025-09-02 04:29:24 +02:00
Imbus
f98500001c Fix include in endian.h 2025-09-02 04:29:05 +02:00
Imbus
4ed3650089 Correcting header guards across the kernel 2025-09-02 03:27:36 +02:00
Imbus
8d126a6dfd Add boot message about how to exit qemu 2025-09-02 03:16:38 +02:00
Imbus
f52f670eca Add slick banner on boot 2025-09-02 03:07:52 +02:00
Imbus
9790807355 Todo 2025-09-02 02:51:34 +02:00
Imbus
8839f06fd2 Formatting 2025-09-02 02:47:51 +02:00
Imbus
68f3353fbd Bug: fix incorrect reference level 2025-09-02 02:44:21 +02:00
Imbus
5596841482 Handle panic through kvprintf instead 2025-09-02 02:37:00 +02:00
Imbus
e30cc4c3d0 Better documentation for kprintf/stdio 2025-09-02 02:30:25 +02:00
Imbus
ee6c75d905 Documentation in kprintf 2025-09-02 02:24:45 +02:00
Imbus
4c96aac02c Badrand pseudo random number generator, emphasis on pseudo 2025-09-02 01:59:24 +02:00
Imbus
0d8a1af1ff Use panic macro where suitable 2025-09-02 00:17:58 +02:00
Imbus
6c21ac7669 Better panic, with PANIC macro 2025-09-02 00:17:44 +02:00
Imbus
a6ae43f583 Convert from uart_puts to kprintf 2025-09-02 00:17:34 +02:00
Imbus
7018424278 stdio kprintf working 2025-09-02 00:17:12 +02:00
Imbus
a1f592c880 Stddef NULL 2025-09-02 00:15:58 +02:00
Imbus
0df09d5086 Spinlock cleaning 2025-09-01 23:41:11 +02:00
Imbus
eec052bafa Typedef some common structs 2025-09-01 23:41:00 +02:00
Imbus
c8abe9e1aa Put bool into stdbool.h 2025-09-01 23:05:23 +02:00
Imbus
4bb015745a Yeet kprint 2025-09-01 22:47:55 +02:00
Imbus
f1fd7de79f Mass reformat 2025-09-01 22:43:50 +02:00
Imbus
3a476fa195 bool 2025-09-01 22:42:18 +02:00
Imbus
85ffed0c20 Unify spinlocks 2025-09-01 22:38:50 +02:00
Imbus
a79af996e1 Move kernel related files into kernel 2025-09-01 22:24:15 +02:00
Imbus
c52e19de83 Major restructure 2025-09-01 22:22:35 +02:00
Imbus
265a388c93 Inline nops in spinlock spin routine 2025-08-27 22:07:30 +02:00
Imbus
ee2ddd7e8c Warn for unused results 2025-08-18 11:17:13 +02:00
Imbus
ddddf903dc Notes in ispinlock 2025-08-16 16:12:01 +02:00
Imbus
b0fe61094d proc calloc 2025-08-16 15:48:08 +02:00
Imbus
74a39e1822 kprint 2025-08-16 14:59:27 +02:00
Imbus
dc0487648a ispinlock 2025-08-16 14:59:24 +02:00
Imbus
6c3030c896 Libkern string 2025-08-16 14:57:54 +02:00
Imbus
b8bf28f597 Format 2025-08-08 01:51:32 +02:00
Imbus
bd7959cc6c kalloc.[ch] from xv6, memory.[ch] containing memory probing algorithm and constants 2025-06-26 13:27:35 +02:00