Commit Graph

50 Commits

Author SHA1 Message Date
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
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
8410abb3d9 Build gzip and nasm as part of the toolchain to ensure reproducibility 2020-09-18 21:38:59 +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
VAN BOSSUYT Nicolas
9f0a2c6013 Move stivale in separate headers.
Making them easier to use when including "limine" has a submodule.
Also renamed stivale2_hdr_tag_framebuffer to stivale2_header_tag_framebuffer.
This make it more consistant with other declaration in stivale2.
2020-09-18 12:51:26 +02:00
mintsuki
3c790f988b Clarify the stack situation in stivale specs 2020-09-18 10:57:38 +02:00
マーモット
8271c0b8df
32bit stivale was not pushing a return address. (#26)
When trying to boot skift using limine I was still getting an invalid address for the stivale struct.
Pushing an additional 0 where the return address should have been fixed the issue.
2020-09-18 10:16:24 +02:00
mintsuki
79fb7342ce Fix bug in 32-bit stivale 2020-09-17 23:22:53 +02:00
mintsuki
4bda00b6cc Implement acpi_get_table() 2020-09-17 14:37:22 +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
atomicbit
a7980f3dc4
Some fixes and tweaks in the Ext2 filesystem (#25)
* Some fixes and tweaks in the Ext2 filesystem

* revert my .gitignore shit

Co-authored-by: atomicbit <atomicbit.gg@gmail.com>
2020-09-16 20:21:47 +02:00
mintsuki
1bb1bd2201 Revert to -masm=intel for inline assembly 2020-09-16 17:22:05 +02:00
mintsuki
cb9edd2a7b Reorganise source tree 2020-09-14 19:32:11 +02:00