Commit Graph

64 Commits

Author SHA1 Message Date
mintsuki
d9e40a7dff Move kernel file code where it belongs 2020-10-01 02:12:13 +02:00
mintsuki
2a084c4756 vbe: Properly handle a value of 0 for THEME_MARGIN_GRADIENT 2020-10-01 01:31:18 +02:00
Matteo Semenzato
7f5fcad288 Fix wrong sizeof in the ext4 bgd branch 2020-09-30 23:51:41 +02:00
mintsuki
3c562830d2 pmm: Merge contiguous bootloader reclaimable entries 2020-09-30 22:51:56 +02:00
mintsuki
1ea09891bc VBE: Add margin gradient 2020-09-30 17:29:07 +02:00
Matteo Semenzato
605879e860 Split ext2 and ext4 bgd 2020-09-29 22:43:14 +02:00
mintsuki
2f7d3c378d Default back to text mode instead of VBE, add DEFAULT_ENTRY config option 2020-09-29 21:48:34 +02:00
mintsuki
562e3c7c88 menu: Do not ignore key pressed during countdown 2020-09-28 22:39:28 +02:00
mintsuki
fed6645044 MTRR: Add cpuid mtrr feature check 2020-09-28 01:30:12 +02:00
mintsuki
f49fad138c MTRR: Fix bug where 2 ANDs should have been ORs 2020-09-27 19:17:36 +02:00
mintsuki
98c5b88f5e MTRR: Ensure size of MTRR range is aligned to the closest power of 2 2020-09-27 19:14:09 +02:00
mintsuki
86a69d8724 Add write-combining and MTRR support to speed up VBE framebuffer 2020-09-27 17:39:30 +02:00
mintsuki
e886a6fa76 stivale2: Finish implementing x2APIC support 2020-09-27 01:32:47 +02:00
mintsuki
b830c71d90 VBE: Pass struct char around by pointer instead of by value 2020-09-27 00:06:07 +02:00
mintsuki
3c3a132e88 Some VBE optimisations 2020-09-26 19:49:09 +02:00
mintsuki
b733ef25ef Fix stivale2 SMP tag issue 2020-09-26 17:12:52 +02:00
mintsuki
a58fd6bd3c Fix stivale2 SMP tag issue 2020-09-26 17:03:51 +02:00
mintsuki
0dc73b3529 Fix conv_mem_alloc bug introduced by e721c3c 2020-09-26 15:41:37 +02:00
mintsuki
11240b59a5 Fix potential memmap circular dependency issue 2020-09-26 15:06:59 +02:00
mintsuki
0403a29f76 Refactor VBE code 2020-09-26 03:56:44 +02:00
mintsuki
5457af4202 Minor fixes to Linux and Chainloading protocols 2020-09-26 00:28:36 +02:00
VAN BOSSUYT Nicolas
134266da63 Fix performance issues introduced by #33 in the vbe code. 2020-09-26 00:04:56 +02:00
mintsuki
b41fa7e204 Fix bugs related to handling real mode switch in inline assembly sections; reenable LTO as that fixes it 2020-09-25 22:57:57 +02:00
mintsuki
c657e86cc8 Move stack to 0x7c00 2020-09-25 22:42:01 +02:00
mintsuki
ed5d049c72 Fix issue with int 13h DAP potentially not fitting within a single real mode segment; load stage 2 at 0x8000 and disable LTO as it is broken for some unknown reasons now 2020-09-25 22:36:26 +02:00
VAN BOSSUYT Nicolas
4f6b1d20c2 Made the margin configurable. 2020-09-24 23:18:51 +02:00
VAN BOSSUYT Nicolas
d6f162972c Added alpha support. 2020-09-24 23:09:29 +02:00
VAN BOSSUYT Nicolas
0477d34236 The color scheme can be changed using the configuration file. 2020-09-24 21:48:49 +02:00
mintsuki
0d7754b377 Update limine.bin 2020-09-23 17:15:06 +02:00
mintsuki
ed5c214c5e Make graphical background a frame around a centered terminal box 2020-09-22 00:45:26 +02:00
mintsuki
7aa9d845e7 Complete background infrastructure and fix some bmp bugs 2020-09-22 00:18:13 +02:00
mintsuki
41e03713a3 Fix vmm warnings 2020-09-21 13:41:31 +02:00
mintsuki
be3d60ec8d Fix warnings and build issues and update binary image 2020-09-21 13:39:02 +02:00
mintsuki
e721c3c814 Reorganise pmm code 2020-09-20 12:03:44 +02:00
mintsuki
f59a3d67d6 Change how smp works a little 2020-09-20 10:28:39 +02:00
mintsuki
6c0ba4104f Default to graphical mode for the menu 2020-09-19 15:43:59 +02:00
mintsuki
d3bd628243 Make extended memory allocator allocate top down and mark the allocated areas as bootloader reclaimable 2020-09-19 15:29:19 +02:00
mintsuki
4927abcfaf Adjust stivale2 SMP spec a little to add an extra argument to the smp_info struct 2020-09-19 00:50:16 +02:00
mintsuki
c3c3c5dd6f Fix broken struct stivale2_struct_tag_smp definition 2020-09-19 00:29:18 +02:00
mintsuki
10ce8e07bf Do not align allocations in init_smp 2020-09-19 00:21:54 +02:00
mintsuki
132ff2fdbe Fix bug where identifier is not set for SMP tag 2020-09-19 00:15:31 +02:00
mintsuki
6591a9c32f Fix some warnings in the decompressor and do not use special symbol main() for entry points 2020-09-18 22:15:27 +02:00
mintsuki
73fa01d1d0 smp: Fix bug where started APs would not be aware of 5-level paging 2020-09-18 20:21:16 +02:00
mintsuki
c2bf4835ef Add sys/ directory to stage2 2020-09-18 20:02:10 +02:00
mintsuki
dbf38b766a Rename processor_id to acpi_processor_uid and other minor bug fixes 2020-09-18 19:26:17 +02:00
mintsuki
8b37fe6681 Finish implementing SMP 2020-09-18 19:02:47 +02:00
mintsuki
41c68e5e43 Initial SMP implementation 2020-09-18 14:39:29 +02:00
mintsuki
3c790f988b Clarify the stack situation in stivale specs 2020-09-18 10:57:38 +02:00
mintsuki
79fb7342ce Fix bug in 32-bit stivale 2020-09-17 23:22:53 +02:00
mintsuki
a909fd821c Some work on ACPI and use EBDA start as end of usable conventional memory 2020-09-17 12:06:35 +02:00