54 Commits

Author SHA1 Message Date
mintsuki
18bfa311de misc: Replace conv_mem_alloc() with ext_mem_alloc() where it made sense to do so 2020-12-31 03:40:40 +01:00
mintsuki
366d75e740 misc: Remove limine.h and retrieve LIMINE_VERSION value from current git branch instead 2020-12-30 23:42:39 +01:00
mintsuki
1f10b55b29 stivale: Make kaslr a config setting 2020-12-27 23:11:11 +01:00
Matteo Semenzato
c5eebbd92c pxe: add stivale2 pxe server info tag 2020-12-10 14:16:42 +01:00
mintsuki
3d76435d4c stivale: Make bootloader reclaImable entries aligned by spec 2020-12-10 08:47:37 +01:00
mintsuki
6ab44cb04c stivale: Add support for extended colour information 2020-12-05 02:10:02 +01:00
mintsuki
99aacedad9 linux: Allocate the relocation buffer for the command line early so it's allocated before the real mode code 2020-12-01 03:49:01 +01:00
mintsuki
a9d69d3823 linux: Fix issue where command line buffer might be in memory in an address outside the range the boot protocol mandates 2020-12-01 03:19:46 +01:00
mintsuki
c0417a875d config: Dynamically allocate buffer for config values when requested 2020-11-27 19:33:34 +01:00
mintsuki
ed590257af misc: Reuse buffers that hold the paths of module files for protocols 2020-11-18 00:53:11 +01:00
mintsuki
536a82627b panic: Do not print stacktrace if map file is not loaded. Fix places where we erroneously appended a newline to a panic string 2020-11-17 01:24:01 +01:00
mintsuki
dc54ee97eb config: Add initial support for config directory entries 2020-11-16 23:31:03 +01:00
mintsuki
970b4e3fc9 misc: Fix a bunch of warnings related to potentially used uninitialised variables 2020-11-16 21:23:11 +01:00
mintsuki
36b5be1380 pmm: Only align memory map when explicitly requested as not to fragment ext_mem allocations too much 2020-11-14 13:29:30 +01:00
mintsuki
352f74daef stivale2: Fix bug where uri_open return value is tested wrong; uri: Allocate new buffer on uri_resolve 2020-11-10 11:12:56 +01:00
mintsuki
168716a251 misc: Add config file options for specifying the resolution in a granular way. Other misc bug fixes. Fixes #45 2020-11-09 12:31:47 +01:00
mintsuki
cfb1734f43 vbe: Implement more expressive framebuffer tag (fixes #37) 2020-11-08 11:59:23 +01:00
mintsuki
6d232193cf stivale: Fix pagemap not mapping every memmap entry bug 2020-11-07 23:50:01 +01:00
mintsuki
1390062494 linux: Add possibility to load multiple modules 2020-11-07 22:21:30 +01:00
mintsuki
f0172ee1ed blib: Make strtoui return the address of the first non-numeric digit 2020-11-05 12:50:42 +01:00
mintsuki
48a9d06aa2 blib: Update strtoui 2020-11-05 00:50:01 +01:00
mintsuki
82a715142a part: Some general cleanup 2020-11-02 10:17:20 +01:00
mintsuki
c542ff6845 Some general cleanup 2020-11-02 09:20:34 +01:00
mintsuki
0319b51b4b Use URIs in the last few remaining places, update CONFIG.md 2020-11-01 22:07:10 +01:00
mintsuki
569df8aca8 Use URIs everywhere, update config documentation. Fixes #48 2020-11-01 10:31:35 +01:00
mintsuki
07ac3de4e6 SMP: Fix struct duplication bug 2020-10-25 12:41:13 +01:00
mintsuki
b7f4412948 Add BSP LAPIC ID field to stivale2 SMP structure. Resolves #46 2020-10-25 04:58:53 +01:00
mintsuki
e8f1c9437a Change return type of cpuid(), add APIC existance check, do not assume BSP APIC ID to be 0 2020-10-22 15:25:10 +02:00
mintsuki
2b34d88d19 Remove instances in which conv_mem_alloc() was implicitly used as a realloc() as that subtly introduces bugs 2020-10-20 08:51:56 +02:00
mintsuki
54eaf96860 Remove conv_mem_rewind() as it could be a dangerous source of bugs, modify code that used it accordingly 2020-10-20 02:38:01 +02:00
mintsuki
47d517bec8 Use URIs instead of explicit drive and partition keys in config file 2020-10-17 06:23:11 +02:00
mintsuki
0c5ccf14b4 Remove eccessive memmap dumps and add stivale and stivale2 module loading feedback messages 2020-10-16 16:04:30 +02:00
mintsuki
2aed131364 Move cpuid() to cpu.h 2020-10-12 21:49:17 +02:00
mintsuki
d9e40a7dff Move kernel file code where it belongs 2020-10-01 02:12:13 +02:00
ethan
806766aa90 protocol code clean up 2020-09-30 17:08:08 -06: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
11240b59a5 Fix potential memmap circular dependency issue 2020-09-26 15:06:59 +02:00
mintsuki
5457af4202 Minor fixes to Linux and Chainloading protocols 2020-09-26 00:28:36 +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
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
132ff2fdbe Fix bug where identifier is not set for SMP tag 2020-09-19 00:15:31 +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
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