Commit Graph

816 Commits

Author SHA1 Message Date
mintsuki
b697b6aec6 build: Build necessary gnu-efi objects in the stage23 Makefile rather than the root one 2021-06-30 21:58:11 +02:00
mint
34584d97ea
Merge pull request #86 from qookei/trunk
Multiboot 1 improvements
2021-06-30 21:35:53 +02:00
Kacper Słomiński
6d47bf9d81 multiboot1: account for memory that crosses 1MB when summing up sizes 2021-06-30 20:59:59 +02:00
Kacper Słomiński
78ec547086 multiboot1: don't mask the PIC when entering kernel
The spec states the PIC must left in the state the BIOS left it in.
2021-06-30 20:44:24 +02:00
Kacper Słomiński
7002918c91 multiboot1: add a.out kludge support 2021-06-30 20:16:30 +02:00
Kacper Słomiński
f84b33650e multiboot1: allocate kernel and modules using proper type
This prevents the code from allocating over the kernel and modules when
allocating memory.
The type is changed to usable when preparing the memory map.
2021-06-30 20:16:30 +02:00
mintsuki
2f08116acb misc: Fix potentially misleading strings 2021-06-30 18:44:31 +02:00
mintsuki
f8b5b145b5 build: Do not fail install if limine-eltorito-efi.bin is not present 2021-06-30 18:27:46 +02:00
mintsuki
7d44e79abc build: which -> command -v 2021-06-30 18:22:50 +02:00
mintsuki
52cfc27d3e limine-install: Implement --force-mbr option 2021-06-30 17:48:24 +02:00
mint
bdc42ce559
Merge pull request #85 from qookei/trunk
Add basic Multiboot 1 support.
2021-06-29 17:02:47 +02:00
Kacper Słomiński
6379d05982 CONFIG, README: document support for Multiboot 1 2021-06-29 16:58:19 +02:00
Kacper Słomiński
e6adc164bb entry: accept "multiboot" as well as "multiboot1" 2021-06-29 16:58:19 +02:00
Kacper Słomiński
6bb204bbd9 multiboot1: add support for 64-bit ELFs 2021-06-29 16:58:15 +02:00
Kacper Słomiński
9115bc7b50 elf: allow elf64_load to use paddrs instead of vaddrs 2021-06-29 16:57:51 +02:00
Kacper Słomiński
22587856fd elf: adjust entry point address to paddr in elf32_load 2021-06-29 15:19:46 +02:00
Kacper Słomiński
4fb782449f protos: add initial multiboot1 implementation 2021-06-29 15:16:25 +02:00
mintsuki
60e1b43f66 secureboot: Add .sbat section 2021-06-25 01:23:26 +02:00
mintsuki
ece3e9c099 iso9660: Fix bug where non rockridge filenames were not actually being loaded 2021-06-22 12:36:45 +02:00
mintsuki
7bf53f1406 pmm: Do not reclaim EfiLoader sections as usable 2021-06-15 03:10:59 +02:00
mintsuki
eb83d013ca disk: Misc bug fixes and improvements 2021-06-12 13:13:19 +02:00
mintsuki
662b5b7624 iso9660: Fix improper handling of filename casing 2021-06-12 08:03:49 +02:00
mintsuki
dc47b83c16 term: Fix various cursor-related issues 2021-06-08 00:06:33 +02:00
mintsuki
abf1d90515 stivale32: Fix typo made when converting to AT&T syntax 2021-06-02 16:33:00 +02:00
mintsuki
c31073ce63 acpi: Fix wrongly calculated RSDP checksum 2021-06-01 21:59:05 +02:00
mintsuki
cebb45bad3 docs: Fix small typo 2021-06-01 20:39:43 +02:00
mintsuki
ad8620e704 docs: Do not fail to mention how to build limine-install with clang/LLVM too 2021-06-01 20:00:54 +02:00
mintsuki
508e965626 docs: Add instructions for building with clang/LLVM 2021-06-01 19:48:09 +02:00
mintsuki
edf490b872 build: Handle broken or missing mtools 2021-05-31 21:48:48 +02:00
mintsuki
6ac24628e8 build: Ensure load addresses of debug and tab sections are 0 2021-05-31 01:52:43 +02:00
mintsuki
e69f7429ce build: Use linker directly instead of going thru compiler; ensure we are buildable with an llvm toolchain 2021-05-31 00:32:43 +02:00
mintsuki
1e935e10d3 linux: Fix wrong jmp instruction 2021-05-30 15:45:31 +02:00
mintsuki
6e78e33989 misc: Replace Intel-syntax inline assembly with GAS-syntax inline assembly; ensure we can build with clang 2021-05-29 18:07:28 +02:00
mintsuki
87cc5494c7 build: Remove dependency on GCC-specific -fplan9-extensions flag 2021-05-28 16:05:42 +02:00
mintsuki
187576393c limine-install: Add local .gitignore 2021-05-28 15:57:34 +02:00
mintsuki
bcdf5baaa9 build: Update ISO hybrid creation process 2021-05-23 05:07:24 +02:00
mintsuki
3790d26194 bootsect: Also handle if boot drive is above 0x8f and gracefully fail if that's the case 2021-05-23 04:15:36 +02:00
mintsuki
977b00f0b3 stivale2: Fix bug where when requesting higher half pointers the stivale2 struct pointer was still passed in the lower half 2021-05-23 03:34:36 +02:00
mintsuki
dc3b45a9a9 term: General terminal improvements 2021-05-23 00:19:27 +02:00
mintsuki
4d7a48eca7 term: Add support for tabs 2021-05-22 23:11:18 +02:00
mintsuki
a6a88109d7 stivale2: Unbreak listing tags due to higher half pointers and verbose mode 2021-05-22 22:20:26 +02:00
mintsuki
5176a2303e limine-install: Ensure stack is not executable on UNIX/ELF 2021-05-22 10:34:49 +02:00
mintsuki
f9f38f0c39 build: Revert usage of -mgeneral-regs-only 2021-05-22 10:26:56 +02:00
mintsuki
31ad36ac51 build: Ensure building toolchain does not fail due to a toolchain not being present already 2021-05-22 10:25:05 +02:00
mintsuki
0602e40cce stivale2: Actually pass tag pointers in linked list in the higher half if requested 2021-05-22 10:13:06 +02:00
mintsuki
c940a411cb isohybrid: Fix xorriso invocation 2021-05-20 23:23:59 +02:00
mintsuki
d67ce23b77 stage1: hdd bootsect: Properly guard against image being booted as floppy drive 2021-05-20 23:19:24 +02:00
mintsuki
110d2dc7d4 misc: Misc EFI-related adjustments 2021-05-20 01:16:39 +02:00
mintsuki
40e65eddb1 panic: Add missing getchar() before returning to EFI 2021-05-19 08:52:21 +02:00
mint
0d3d667ba8
Merge pull request #84 from chocabloc/trunk
Return to firmware instead of halting in UEFI mode
2021-05-19 08:46:20 +02:00