Commit Graph

2650 Commits

Author SHA1 Message Date
mintsuki b46b896be7 menu: Minor change to multiboot1/2 unsupported messages 2024-06-25 13:50:30 +02:00
mintsuki cd5eeaa92d docs: Update ChangeLog and README.md for 7.8.0 2024-06-24 00:24:45 +02:00
mintsuki cfd43201e9 docs: Update ChangeLog and README.md for 7.8.0 2024-06-24 00:22:33 +02:00
mintsuki 19f8cc0741 lib/panic: Use ternary in 'return to' message 2024-06-24 00:12:39 +02:00
iillis d0124c5bed Setting different error message for boot failure when booting from menu or booting from the editor 2024-06-24 00:12:19 +02:00
illis 6ae857bc4c When booting from editor fails you return to the editor while keeping the text as you were editing it (#364)
* When booting from editor fails you return to the editor while keeping the failing text

* Fixing syntax and menu render, and adding title backup

* Adding the buffer end and fixing blank bug

* Using strcpy() instead of memcpy for the title and relocating booting_from_editor = true;
2024-06-24 00:12:10 +02:00
mintsuki af125bd227 host/limine: Mark protective MBR wrapper partition as active on GPT 2024-06-24 00:09:05 +02:00
mintsuki 3c9e5d6b12 host/limine: Simplify some redundantly written code 2024-06-24 00:09:05 +02:00
mintsuki 5ab25407c6 misc/flanterm: Remove leftover feature flags 2024-06-24 00:08:41 +02:00
mintsuki 70749d0baa misc/uefi: Switch from EfiLoaderData to EfiLoaderCode at 2 more allocation sites 2024-06-24 00:08:20 +02:00
Kacper Słomiński b30da71874 pmm: Allocate memory from UEFI with EfiLoaderCode type
On AArch64 EfiLoaderData is remapped as non-executable, which means we couldn't
use it for the kernel in the Linux boot protocol.
2024-06-24 00:07:27 +02:00
mintsuki d41c5375d8 host/limine: Mark protective MBR wrapper partition as active on GPT 2024-06-24 00:00:19 +02:00
mintsuki 9e1f66507e host/limine: Simplify some redundantly written code 2024-06-23 23:52:47 +02:00
Kacper Słomiński aed3b3348e protos/linux_risc: Properly fill VirtualStart in memory map
This lets Linux use UEFI runtime services.
2024-06-16 20:46:23 +02:00
mintsuki b3d7688449 misc/flanterm: Remove leftover feature flags 2024-06-16 20:10:20 +02:00
mintsuki 8c75c55a92 misc/uefi: Switch from EfiLoaderData to EfiLoaderCode at 2 more allocation sites 2024-06-16 18:27:55 +02:00
mintsuki 9fb6423002 protos/linux: riscv64: Fix protocol version check 2024-06-16 07:40:50 +02:00
mintsuki 74aa228702 protos/linux: Rename files to avoid unnecessary diffs (2) 2024-06-15 21:30:37 +02:00
mintsuki 2541760b98 protos/linux: Rename files to avoid unnecessary diffs (1) 2024-06-15 21:30:06 +02:00
mintsuki b76556afbe docs: PROTOCOL.md: Misc fixes and clarifications 2024-06-12 12:47:27 +02:00
mintsuki f907468769 docs: PROTOCOL.md: Mention that the EDID blob pointer can be NULL 2024-06-12 12:47:27 +02:00
mintsuki 943ba1ebef docs: PROTOCOL.md: Misc fixes and clarifications 2024-06-12 04:04:56 +02:00
mintsuki 571cb918bd docs: PROTOCOL.md: Mention that the EDID blob pointer can be NULL 2024-06-12 03:28:58 +02:00
mintsuki 1eb3d4442d build/bootstrap: Bump cc-runtime 2024-06-12 03:16:13 +02:00
mintsuki 92bd4cd916 build/bootstrap: Bump STB 2024-06-12 03:16:13 +02:00
mintsuki 7783900cc1 build/bootstrap: Bump Flanterm 2024-06-12 03:16:13 +02:00
mintsuki a62f81d2ee lib/panic: efi: Disallow returning to menu after exiting boot services 2024-06-12 03:15:48 +02:00
mintsuki 223a47b8e8 lib/elf: Minor rework of dynamic segment parsing 2024-06-12 03:14:49 +02:00
mintsuki 86a3dcd33b lib/elf: Fix bug where the wrong struct was checked in elf64_load() 2024-06-12 03:14:49 +02:00
mintsuki 2fd75654c4 build/bootstrap: Bump cc-runtime 2024-06-12 03:06:04 +02:00
mintsuki 7b098c7f30 build/bootstrap: Bump STB 2024-06-12 02:51:43 +02:00
mintsuki 4a245024b9 build/bootstrap: Bump Flanterm 2024-06-12 02:39:25 +02:00
mintsuki 440ba05e08 protos/linux: Rename files (2) 2024-06-12 02:07:39 +02:00
mintsuki 56b7a32dfc protos/linux: Rename files (1) 2024-06-12 02:07:12 +02:00
mintsuki 2a0913c1f3 lib/panic: efi: Disallow returning to menu after exiting boot services 2024-06-12 02:00:53 +02:00
mintsuki da52f2317e
Merge pull request #371 from qookei/linux-aa64
Linux boot protocol support for AArch64
2024-06-11 23:43:07 +02:00
Kacper Słomiński c95ad88004 protos/linux: Add support for AArch64 2024-06-11 21:59:30 +02:00
Kacper Słomiński f49dbd4ae9 protos/linux: Fill DTB with information about UEFI
Also create a new DTB if one is not available. This replicates what Linux's
EFISTUB does internally before handing control over to the kernel proper.
2024-06-11 21:58:02 +02:00
Kacper Słomiński 2a0de56ea4 pmm: Allocate memory from UEFI with EfiLoaderCode type
On AArch64 EfiLoaderData is remapped as non-executable, which means we couldn't
use it for the kernel in the Linux boot protocol.
2024-06-11 21:54:53 +02:00
Kacper Słomiński 288cb6e17e lib: Add helpers for adding 32-bit /chosen properties 2024-06-11 21:54:22 +02:00
mintsuki 6b3d0e5966 lib/elf: Minor rework of dynamic segment parsing 2024-06-11 17:13:29 +02:00
mintsuki 00b3025fd3 lib/elf: Fix bug where the wrong struct was checked in elf64_load() 2024-06-10 00:25:21 +02:00
mintsuki 300cdc9498 docs: Update ChangeLog and README.md for 7.7.2 2024-06-09 23:53:19 +02:00
mintsuki b677e01d58 docs: Update ChangeLog and README.md for 7.7.2 2024-06-09 23:52:45 +02:00
mintsuki e868910175 lib/elf: Reject relocatable ELFs in elf*_load_elsewhere() 2024-06-09 22:49:37 +02:00
mintsuki fb651eeeb0 lib/elf: Do not check for DT_RELAENT size for DT_PLTREL entries 2024-06-09 22:49:37 +02:00
mintsuki 614a5b9d4d lib/elf: Panic on unresolved symbols, unless marked weak 2024-06-09 22:49:37 +02:00
mintsuki c713cd2ac1 build/bootstrap: Bump limine-efi revision 2024-06-09 22:49:37 +02:00
mintsuki cf2aebee32 build/bootstrap: Bump limine-efi revision 2024-06-09 22:49:37 +02:00
mintsuki 1c552de5bb misc/efi: Replace .padding with manual alignment 2024-06-09 22:49:00 +02:00