Commit Graph

68 Commits

Author SHA1 Message Date
mintsuki
513d0a2279 Extend x2APIC check as per VT-d specification 2020-10-12 21:20:58 +02:00
mintsuki
c778e72af8 Fix up make clean 2020-10-04 00:01:05 +02:00
mintsuki
c913a7ccf4 Fix up some inline assembly in sys/cpu.h 2020-10-01 20:05:41 +02:00
mintsuki
d9b062917a Fix all warnings and add -Werror to CFLAGS so people stop committing broken code 2020-10-01 02:16:28 +02:00
mintsuki
d9e40a7dff Move kernel file code where it belongs 2020-10-01 02:12:13 +02:00
mint
53339c806b
Merge pull request #42 from ethan4984/master
protocol code clean up
2020-10-01 01:32:07 +02:00
mintsuki
2a084c4756 vbe: Properly handle a value of 0 for THEME_MARGIN_GRADIENT 2020-10-01 01:31:18 +02:00
ethan
74572cf6b3
Update Makefile 2020-09-30 17:13:01 -06:00
ethan
806766aa90 protocol code clean up 2020-09-30 17:08:08 -06: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
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
Matteo Semenzato
67591e6b6f Fix ext2 warning 2020-09-23 17:18:48 +02:00
Matteo Semenzato
f758d10082 Add proper support for 64 bit ext4 2020-09-23 15:55:15 +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
5ee53fbe4d Initial work on bitmap and background support. Add a public domain picture.
Co-authored-by: ethan <55000224+ethan4984@users.noreply.github.com>
2020-09-21 17:43:37 +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
mint
6320126ec4
Merge pull request #30 from Matt8898/ext4
Add ext4 extent support
2020-09-21 13:36:38 +02:00
Matteo Semenzato
81faf039af Add ext4 extent support 2020-09-21 13:09:00 +02:00
mintsuki
c869ab6f85 Add header dependencies to Makefiles 2020-09-21 12:46:42 +02:00
mintsuki
f245d0e280 Reorganise headers 2020-09-21 12:15:55 +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