Commit Graph

2570 Commits

Author SHA1 Message Date
mintsuki
693684c0bd lib/elf: Relax ELF file type checks in elf*_load_elsewhere() 2024-06-28 08:03:04 +02:00
Kacper Słomiński
bca7c4a796 protos/linux_risc: Document need for the linux,uefi-secure-boot property 2024-06-28 08:03:04 +02:00
mintsuki
3d39a06a89 Merge branch 'trunk' into v7.x 2024-06-28 05:01:16 +02:00
Kacper Słomiński
c936305f37 protos/limine: Find device tree using helper function 2024-06-28 04:30:42 +02:00
mintsuki
32a94cd9b8
Merge pull request #376 from qookei/linux-risc-fb
protos/linux_risc: Tell Linux about the framebuffer
2024-06-28 04:23:34 +02:00
Kacper Słomiński
ee5096ed84 protos/linux_risc: Tell Linux about the framebuffer 2024-06-28 04:14:31 +02:00
mintsuki
3e44c7105b build: bootstrap: Update repository links 2024-06-28 03:26:30 +02:00
mintsuki
3c0b3f5e31 lib/elf: Add additional ELF type sanity checks 2024-06-28 03:26:30 +02:00
mintsuki
68ad2db755 dtb: Fix bugs introduced in cc05481b89 2024-06-28 01:01:21 +02:00
mintsuki
cc05481b89 dtb: Fix bugs introduced in 45e036275a 2024-06-28 00:51:45 +02:00
mintsuki
45e036275a dtb: Optionally reallocate and expand DTB memory as needed 2024-06-28 00:43:27 +02:00
mintsuki
ddfd654602 build: bootstrap: Update repository links 2024-06-28 00:01:30 +02:00
mintsuki
2923125d90 lib/elf: Add additional ELF type sanity checks 2024-06-27 13:59:19 +02:00
mintsuki
11ed4be0cb lib/elf: Only assume relocatable if ELF type is ET_DYN 2024-06-27 03:46:17 +02:00
mintsuki
585ca35f47 lib/mem: Remove unused memcpy32to64() function 2024-06-27 03:46:17 +02:00
mintsuki
7e49a328d7 lib/getchar: Only apply EFI serial backspace workaround if serial == true 2024-06-27 03:46:17 +02:00
mintsuki
ca77c0002a menu: Minor change to multiboot1/2 unsupported messages 2024-06-27 03:46:17 +02:00
mintsuki
5df8ca77c1 lib/elf: Only assume relocatable if ELF type is ET_DYN 2024-06-26 20:19:10 +02:00
mintsuki
50b147cbd7 lib/mem: Remove unused memcpy32to64() function 2024-06-26 20:00:26 +02:00
mintsuki
fa11b1f9a8 lib/getchar: Only apply EFI serial backspace workaround if serial == true 2024-06-25 14:34:54 +02:00
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