28 Commits

Author SHA1 Message Date
alnyan 2272bc55f1 all: wrap vesa feature in ifdef 2021-04-30 01:15:42 +03:00
Mark f263bfb63f boot: use yboot2-proto instead of yboot2 itself 2020-09-27 12:31:21 +03:00
Mark 02136a28b5 boot: use multiboot2 symbol table 2020-09-20 13:49:18 +03:00
Mark 1dea3c9e43 video: ugly hack to vastly speedup the console 2020-09-19 17:19:53 +03:00
Mark f3ab428d86 boot: remove unnecessary while(1); 2020-09-18 14:22:55 +03:00
Mark bb5ff71a79 con: Add early vesa fbcon 2020-09-18 13:22:38 +03:00
Mark 53625fce71 boot: move yboot data to C struct 2020-09-08 23:54:58 +03:00
Mark ab3b3afcc5 boot: fix (?) memory corruption problems with EFI 2020-09-06 20:46:27 +03:00
Mark 559e1156f1 boot: extract yboot initrd pointer 2020-09-05 02:19:39 +03:00
Mark c3f23032f0 boot: yboot protocol change: memory map
Memory map is now a part of boot protocol structure.
The change was caused by UEFI placing this boot structure
(as part of yboot's data section) very high in physical memory,
above kernel's mapped 4GiB range, so kernel had no way of
accessing it. It's not the best solution, but will work for sure.
2020-09-05 02:08:52 +03:00
Mark 7d3a0d58dc boot: add support for yboot protocol 2020-09-04 01:36:04 +03:00
Mark 0d39253c1e boot: get RSDP address from multiboot2 2020-09-01 23:47:55 +03:00
Mark e0f0087ccc mman: rewrite physical memory manager
Better protection of reserved memory regions,
merged "pool" allocation functions into main
memory manager
2020-08-23 22:59:29 +03:00
Mark 887ffb7e53 Symbol tables, references to other mods, dependency checks 2020-08-11 01:32:03 +03:00
Mark d7f6fcec69 Add serial ttys 2020-07-29 18:54:00 +03:00
Mark f22591ad93 Move to cmake build system 2020-07-11 22:41:23 +03:00
Mark 137604d84f Add support for text-mode console 2020-06-25 16:53:08 +03:00
Mark dd36f0decf (Maybe) better console subsystem 2020-06-18 16:32:01 +03:00
Mark bc36220152 Remove old console code 2020-06-18 10:54:55 +03:00
Mark 89c48841e0 Don't crash system when have excess memory 2020-06-14 18:17:55 +03:00
Mark f5d6370403 Fix unaligned word accesses 2020-06-12 17:30:41 +03:00
Mark 6d7a3c9756 Re-enable VESA driver 2020-06-11 19:58:01 +03:00
Mark f2a394139b Obtain symbol table, fix module loading 2020-05-28 15:04:17 +03:00
Mark 92d2e572ae Full support for Multiboot2 booting, remove legacy loader 2020-05-26 22:24:15 +03:00
Mark 4878a0b06e Proper FPU init, fxsave/fxrstor for threads 2020-02-07 15:02:06 +02:00
Mark 31a4b8412a Split kernel_main into early (hw) init and main() 2020-02-07 13:19:29 +02:00
Mark 3542b73f1a SMP kinda works, fixed malloc race condition
Damn, I totally need to review SMP safety
2020-02-04 14:16:16 +02:00
Mark d9595c7f62 Change project structure 2020-02-04 12:45:15 +02:00