Commit Graph

551 Commits

Author SHA1 Message Date
mintsuki 8b37fe6681 Finish implementing SMP 2020-09-18 19:02:47 +02:00
mint 845889d7e1
Merge pull request #29 from sleepy-monax/master
Added stivale mmap struct and enum.
2020-09-18 14:53:43 +02:00
VAN BOSSUYT Nicolas 066aa1511c Added stivale mmap struct. 2020-09-18 14:46:41 +02:00
mintsuki 41c68e5e43 Initial SMP implementation 2020-09-18 14:39:29 +02:00
mint fc51b7e062
Merge pull request #28 from sleepy-monax/master
Move stivale in separate headers.
2020-09-18 13:01:37 +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
mint 9c10b5d560
Merge pull request #27 from sleepy-monax/patch-1
"make clean" was not removing limine-install and limine.bin.
2020-09-18 11:31:57 +02:00
VAN BOSSUYT Nicolas 2524f0d0b9 "make clean" was not removing limine-install. 2020-09-18 11:28:18 +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 e7838e854f Revert back to not baking the bootloader into the limine-install binary 2020-09-15 12:16:31 +02:00
mintsuki 1ddf568281 Further tidy up Makefile 2020-09-14 20:02:36 +02:00
mintsuki cb9edd2a7b Reorganise source tree 2020-09-14 19:32:11 +02:00
mintsuki 6a6171d5e1 Update README.md 2020-09-13 15:47:43 +02:00
mintsuki ccbba7eeb5 Remove now-useless libgcc functions from builtins.asm 2020-09-13 15:28:51 +02:00
mintsuki dd6f38f632 Ship reproducible prebuilt bootloader and make 'make all' only build limine-install 2020-09-13 15:20:53 +02:00
mintsuki 5663169aa6 Switch back to GCC 2020-09-13 14:36:18 +02:00
mintsuki 859a10b142 Update stivale specifications 2020-09-11 16:35:14 +02:00
mintsuki 2e537412d3 Improve the way stivale paging is set up 2020-09-11 16:17:55 +02:00
mintsuki 1ccf8e34bc Adapt new vmm to 5-level paging as well 2020-09-11 14:09:15 +02:00
mintsuki 0c7e08d3c7 Add a more proper 64-bit vmm 2020-09-11 10:53:21 +02:00
Danny Wray 9802c8d36e
removed stray libgcc (#24) 2020-09-09 22:56:18 +02:00
mintsuki ef6ef5865b Implement support functions ourselves instead of relying on libgcc 2020-09-09 16:04:06 +02:00
mintsuki c53122516a Make the test image smaller and align the partition properly 2020-09-08 14:02:28 +02:00
mintsuki 97394ff601 Fix limine-install issue where it did not copy over MBR timestamp and disk signature 2020-09-06 08:52:50 +02:00
mintsuki 8760c0b3d6 Add protective BPB in bootsector and check for the presence of int 13h extensions before using them 2020-09-06 07:25:34 +02:00
mintsuki b16f63458d Shuffle around memory layout of bootloader 2020-09-06 05:15:55 +02:00
mint 45aaa72e85
Decompressor (#23)
* Add decompressor infrastructure

* Fix up everything

* Add a gzip decompressor (#22)

Co-authored-by: Matteo Semenzato <mattew8898@gmail.com>
2020-09-06 03:35:32 +02:00
mintsuki 734a3e268f Fix stivale2 memmap struct being misdefined 2020-09-05 02:50:53 +02:00
mintsuki 7bde0c80ca Move to clang, no longer ship prebuilt binary, embed bootloader into the installer and provide a way to install the installer 2020-09-04 05:21:58 +02:00
mintsuki ea62cf37c7 Fix alignment issues with memmap and modules in stivale2 2020-09-04 02:05:49 +02:00
mintsuki 4ac886b2f7 Add limine-install as a dependency to test targets 2020-09-04 02:01:53 +02:00
mintsuki ba7ed52f6a Enable lto and move naked assembly functions to own files 2020-09-04 01:37:24 +02:00
mintsuki 5379787967 Only enter graphical terminal mode for menu 2020-09-02 10:31:39 +02:00
mintsuki 902109ef68 Wire up logic for graphical terminal 2020-09-02 09:55:56 +02:00
mintsuki 3eb7d5f0ba Implement logic for graphical terminal 2020-09-02 07:16:05 +02:00
mintsuki 2052d92b91 Implement ext_mem_balloc() 2020-09-02 05:33:22 +02:00
mintsuki 46f46ddd15 When calling into real mode, also pass the segment registers 2020-09-02 04:39:27 +02:00
mintsuki b9be2e70c1 Change PIC IRQ flushing method 2020-09-02 02:32:04 +02:00
mintsuki 1a267656f9 Add Clang compile instructions to readme 2020-08-29 20:15:50 +02:00
mintsuki 866e95b4c3 Rebranding 2020-08-29 20:02:16 +02:00
mintsuki 2150daaf9a Fix bug with clobbers of cpuid function 2020-08-29 18:51:23 +02:00
mintsuki 155362570e Reimplement memcpy, memmove, memcmp, and memset in assembly to work around potentially buggy compilers generating references to those function recursively within the function bodies 2020-08-28 01:25:17 +02:00
mintsuki e2a87ca33e Fix handling of return value for strcmp and strncmp 2020-08-27 01:31:32 +02:00
mintsuki fc23258aa7 Handle intel style inline assembly via macros for compatibility with clang, remove TempleOS protocol support 2020-08-27 00:44:16 +02:00