Commit Graph

46 Commits

Author SHA1 Message Date
K. Lange
de0bda736a kernel: at least add full lead comments to everything 2021-11-26 11:31:10 +09:00
K. Lange
045431b2de kernel: prevent modules from being loaded multiple times 2021-11-18 19:47:28 +09:00
K. Lange
d79bf46731 fbterm: Move log to center, set bg to black 2021-10-26 16:14:38 +09:00
K. Lange
073e43384c kmalloc: Use existing assertion infrastructure 2021-10-25 18:25:21 +09:00
K. Lange
4b62e4ab22 assert: use dprintf, not printf, when printing assertion message 2021-10-25 18:24:49 +09:00
K. Lange
95ef9f02ac fbterm: Support 24bpp framebuffers 2021-10-25 13:50:08 +09:00
K. Lange
f0091f8f87 ringbuffer: don't use heap allocator if buffer size is one page 2021-10-24 19:52:51 +09:00
K. Lange
55835ab494 fbterm: Only enable scrolling by default on vga terminal 2021-10-20 19:39:47 +09:00
K. Lange
0f2d7334b0 fbterm: VGA backend, enable scrolling by default 2021-10-20 18:49:07 +09:00
K. Lange
76191f89fb kernel: Print tracebacks for more fatal errors 2021-10-20 10:33:58 +09:00
K. Lange
32c3bf1825 insmod: Support passing arguments to modules 2021-10-20 10:33:35 +09:00
K. Lange
c366ea2dfd kernel: Initial pass at new debug printf interface 2021-10-19 20:29:14 +09:00
K. Lange
05e224dee7 kernel: Better fault reports 2021-10-04 20:34:42 +09:00
K. Lange
39ebb4b6c0 procfs: quick-and-dirty /proc/kallsyms, missing modules 2021-09-13 18:56:55 +09:00
K. Lange
e87f09a1b4 piix4: move to module, only load in virtualbox 2021-09-09 12:22:30 +09:00
K. Lange
a941c3a20d pci: Implement PIIX4 PIRQ remapping 2021-09-06 21:03:00 +09:00
K. Lange
a77d0ef85a smp: Memory invalidation fixes 2021-09-01 19:55:00 +09:00
K. Lange
17dfed4cfd kernel: use that new sleep_on_unlocking in ringbuffers 2021-08-16 18:29:08 +09:00
K. Lange
22a6c0ca3a text: Add some macros so we can more easily swap out the bitmap font 2021-07-22 17:06:43 +09:00
K. Lange
d406a6948f modules: track loaded sizes so we can free modules later 2021-07-19 10:28:26 +09:00
K. Lange
9ad39394e4 modules: list modules in /proc/modules 2021-07-17 20:18:02 +09:00
K. Lange
236c8bacb3 modules: Reimplement loadable kernel modules 2021-07-17 18:55:54 +09:00
K. Lange
8b1973d31e pci: handle setups without a host bridge? 2021-06-15 21:18:14 +09:00
K. Lange
8531fe709e terminal-vga: recover vga text mode operation 2021-06-10 09:35:48 +09:00
K. Lange
5ed9033d15 kernel: opportunistically map stack space 2021-06-06 15:54:30 +09:00
K. Lange
413d22f6f2 fbterm: Don't fill screen on startup, we don't set up memory caching for this nicely 2021-06-04 17:53:23 +09:00
K. Lange
826006692a kernel: begin work on re-adding module loading 2021-06-03 21:01:57 +09:00
K. Lange
6e3e7c7e0c ksym: start organizing kernel symbols for linking 2021-06-03 21:00:56 +09:00
K. Lange
8239270074 fbterm: Make sure we're drawing with stride, not width 2021-06-03 21:00:20 +09:00
K. Lange
e22d6d84a4 kernel: add 'assert()' 2021-06-02 18:35:03 +09:00
K. Lange
b35f7ac8c9 misaka: initial merge 2021-05-31 10:54:11 +09:00
K. Lange
330f935342 kernel: limit maximum recursion depth for interpreters 2019-06-25 21:20:12 +09:00
K. Lange
de7463d141 kernel: 64-bit offsets for VFS 2018-11-23 09:56:44 +09:00
K. Lange
16caf6efda kernel: Matched Executor message should be a NOTICE not a WARNING 2018-10-12 15:40:28 +09:00
K. Lange
31214693dd Fixes to build kernel and modules with clang 2018-10-07 11:53:07 +09:00
K. Lange
19200cd577 Handle leading space in shebang 2018-10-04 12:27:40 +09:00
K. Lange
358e70b616 Add naive bounds checking for elf loading 2018-08-29 08:24:14 +09:00
K. Lange
864cbdb868 Fix debug shell not being able to start a shell by allowing system() in kernel to take an env 2018-08-14 11:33:02 +09:00
K. Lange
68a4e0ce50 Require exec permission to exec (finally) 2018-08-12 18:16:44 +09:00
K. Lange
5b468c57f3 Reduce ELF debug info to INFO 2018-07-21 12:26:06 +09:00
K. Lange
81e63c3b8c Fix missing ubsan_debug call for one mul handler 2018-05-16 15:57:09 +09:00
K. Lange
557f578574 Don't use my given name in copyright headers; update everything to 2018 because why not 2018-05-01 17:12:56 +09:00
K. Lange
3e4a1a8805 Remove redundant kernel/va_list.h 2018-04-24 19:57:08 +09:00
K. Lange
5dd763780a Unify list, tree, hashmap implementations with userspace/kernel 2018-04-24 19:28:50 +09:00
K. Lange
1355502e6c Reorganize headers 2018-03-19 11:38:11 +09:00
K. Lange
3f4293d357 Merge kernel 2018-03-16 21:56:19 +09:00