Commit graph

135 commits

Author SHA1 Message Date
Imbus
8316c9f6ae Remove original kalloc free-list memory allocator entirely for now 2025-09-06 02:40:05 +02:00
Imbus
90c63ab41e Buddy allocator 2025-09-06 02:37:09 +02:00
Imbus
21d55031d9 memory.h: sweep algorithm for checking regions 2025-09-06 02:36:29 +02:00
Imbus
e762502c33 Include stdio in assert.h 2025-09-06 02:36:04 +02:00
Imbus
7301205e1f Add newline to panic macro 2025-09-06 02:09:48 +02:00
Imbus
57be90da84 kernel.ld: slight rewrite, use memory regions for ram instead of static offset 2025-09-06 00:54:38 +02:00
Imbus
6f5746a805 Checklist mark kassert done 2025-09-06 00:15:27 +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
bb38272597 Add monocypher to clang-format-ignore 2025-09-06 00:00:26 +02:00
Imbus
aff745ab63 clang-format-ignore: mini-printf 2025-09-06 00:00:15 +02:00
Imbus
f9b72df529 Some licenses to projects likely to be referenced in the future 2025-09-05 23:59:54 +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
b9b1de5ff1 License: mini-printf 2025-09-05 07:58:49 +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
c82f60c685 Make help note in readme 2025-09-02 05:01:00 +02:00
Imbus
e5d5ad5c2e Make help target 2025-09-02 05:00:14 +02:00
Imbus
17e8021a43 Readme, note about dependencies 2025-09-02 04:49:54 +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
c38a0cbf41 Config header guard 2025-09-02 03:27:43 +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
e27517f523 Quickstart target 2025-09-02 03:16:29 +02:00
Imbus
9fd79ba46e Readme: klog 2025-09-02 03:09:42 +02:00
Imbus
f52f670eca Add slick banner on boot 2025-09-02 03:07:52 +02:00
Imbus
6bbaec0294 Readme: More toro, structure links to libc's in a list 2025-09-02 02:59:01 +02:00
Imbus
0e598b7ee0 Readme: add section about todo 2025-09-02 02:51:50 +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
7ba7b9cc63 Format will now only check kern 2025-09-02 02:47:47 +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
f5a32db7a3 Removed alias variables in makefile 2025-09-02 02:08:09 +02:00
Imbus
d15ab5cc04 Readme: include a note about bear, example included 2025-09-02 02:04:44 +02:00
Imbus
59fda90b89 Notes on dependencies 2025-09-02 01:59:38 +02:00
Imbus
4c96aac02c Badrand pseudo random number generator, emphasis on pseudo 2025-09-02 01:59:24 +02:00
Imbus
edc082adcb Prettier output when fetching toolchain 2025-09-02 01:59:00 +02:00
Imbus
f654aeb038 Readme: include a quick start section, describe directory outline 2025-09-02 01:25:47 +02:00
Imbus
73795f8944 Better clean 2025-09-02 01:11:40 +02:00
Imbus
6a6068c8b6 Put noisy info into dedicated 'make info' target, with version and flag
info as well.
2025-09-02 01:07:09 +02:00