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
cd5eeaa92d
docs: Update ChangeLog and README.md for 7.8.0
2024-06-24 00:24:45 +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
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
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
300cdc9498
docs: Update ChangeLog and README.md for 7.7.2
2024-06-09 23:53:19 +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
mintsuki
ec72702e30
lib/elf: Ignore PT_LOAD PHDRs with 0 memsz
2024-06-09 22:48:49 +02:00
mintsuki
f137a99b50
docs: Update ChangeLog and README.md for 7.7.1
2024-06-06 16:01:13 +02:00
mintsuki
d25b7bd0c6
build/linker: UEFI: New padding method that doesn't mangle PT_DYNAMIC
2024-06-05 16:53:00 +02:00
mintsuki
ffe25e3808
lib/elf: Stop parsing PT_DYNAMIC once DT_NULL reached
2024-06-05 11:30:57 +02:00
mintsuki
dc4c3f2b9d
docs: Update ChangeLog and README.md for 7.7.0
2024-06-04 12:19:45 +02:00
mintsuki
e6a742e8d0
lib/elf: Panic if ELF file contains DT_NEEDED tags
2024-06-04 03:09:08 +02:00
mintsuki
d694902642
lib/elf: Check if DT_PLTREL is DT_RELA
2024-06-04 03:02:55 +02:00
mintsuki
7a596fa9fe
lib/elf: Use __builtin_popcountll instead of __builtin_popcountg
2024-06-04 02:43:26 +02:00
mintsuki
77143b153c
lib/elf: Use __builtin_popcountg instead of __builtin_popcount
2024-06-04 02:31:01 +02:00
mintsuki
3ce1415a3a
lib/elf: Free allocated RELA structs for RELR
2024-06-04 02:11:06 +02:00
mintsuki
54e8882328
lib/elf: Fix a GCC uninitialised var warning
2024-06-04 02:06:03 +02:00
mintsuki
9789274c6d
lib/elf: Add RELR support
2024-06-04 01:45:04 +02:00
mintsuki
5a7052d135
lib/elf: Add more and better sanity checks
2024-06-03 22:34:45 +02:00
mintsuki
65fa1a9d5c
build: Bring back the xz tarball
2024-06-03 22:02:44 +02:00
mintsuki
450c40ce0e
build: bootstrap: Bump limine-efi and flanterm
2024-06-03 03:38:15 +02:00
mintsuki
04f6957f17
lib/elf: Add support for R_*_NONE relocations
2024-06-03 03:29:14 +02:00
mintsuki
89bc8aad5e
lib/elf: Optimise is_relocatable() a bit
2024-06-03 02:28:21 +02:00
mintsuki
4c4d79b7fe
lib/elf: Move R_AARCH64_ABS64 case where it makes more sense
2024-06-03 01:53:23 +02:00
mintsuki
4b101ddb75
lib/elf: Remove stray semicolon in apply_relocations()
2024-06-03 01:03:10 +02:00
mintsuki
c9cbc359e7
lib/elf: aarch64: Support ABS64 reloc/add r_addend in JUMP_SLOT/GLOB_DAT relocs
2024-06-03 00:42:59 +02:00
mintsuki
77a8af1d0a
lib/elf: More sound calculation of relocs_i
2024-06-03 00:14:58 +02:00
mintsuki
6b1e6d88dd
lib/elf: Add support for GLOB_DAT, JUMP_SLOT, and 64 relocation types
2024-06-03 00:03:33 +02:00
mintsuki
a4171f1e82
Merge pull request #363 from iillis/v7.x
...
Changing unsupported protocol panic message
2024-06-02 18:37:05 +02:00
iillis
b10993f248
Changed unsupported protocol panic message
2024-06-02 18:10:34 +02:00