Commit Graph

168 Commits

Author SHA1 Message Date
mintsuki
11f50a6aaa part: Require keypresses between entry displays in list_volumes() 2023-07-09 03:37:55 +02:00
mintsuki
79e50a82af misc: Use assembly for memory functions on x86 2023-07-09 03:09:45 +02:00
mintsuki
17e26c8c95 elf: Fix potential uninitialised usage of bss_size 2023-07-09 03:09:45 +02:00
mintsuki
9333f1ca8b limine/elf: Optimise not to scan .bss for requests 2023-07-08 23:44:50 +02:00
mintsuki
2ac43a320f asm: Add missing section directives 2023-06-20 13:24:49 +02:00
mintsuki
670b635ae8 config: Add and document ARCH built-in macro 2023-06-15 02:23:48 +02:00
mintsuki
cde874fe80 misc: Updates for new flanterm 2023-06-10 19:23:50 +02:00
xvanc
9274ee656e
Initial riscv64 port (#274)
* initial riscv64 port

* enable Paging Mode feature for all architectures

* riscv: add missing protocol docs

* riscv: fix tests

* docs: clarify `LIMINE_PAGING_MODE_DEFAULT` macro

* build: fix whitespace in common/GNUmakefile

* riscv: default to Sv48 paging when supported

* vmm: make `VMM_MAX_LEVEL` 1-indexed

* limine: do not call `reported_addr()` before finaling paging mode

smp/riscv: do not overwrite the argument passed to APs

* limine/riscv: update default paging mode in limine.h

* test/riscv: pad OVMF.fd when downloading it
2023-06-04 01:36:06 +02:00
mintsuki
679fdd4351 misc: Use C instead of asm for mem*() family of functions 2023-05-30 12:23:31 +02:00
mintsuki
7989064599 elf: Improve detection of relocatable ELFs 2023-05-13 00:05:50 +02:00
mintsuki
f618eb26af Revert "misc: Revert back to using tinf for all GZ decompression"
This reverts commit 3438b8d235.
2023-05-03 19:53:27 +02:00
mintsuki
e9186e1859 Revert "uri: Backport pre-tinf-removal variable assignments"
This reverts commit 514522125b.
2023-05-03 19:53:27 +02:00
Bryce Lanham
fdcb9a9243 multiboot2: fix 32 bit elf section loading
Existing code was using 64 bit elf section header unconditionally. This
commit fixes that :)
2023-05-02 20:15:43 -05:00
mintsuki
514522125b uri: Backport pre-tinf-removal variable assignments 2023-04-08 03:10:53 +02:00
mintsuki
3438b8d235 misc: Revert back to using tinf for all GZ decompression 2023-04-08 02:17:02 +02:00
mintsuki
01eeeb6e1d term: Drop in_bootloader for new Flanterm 2023-03-30 01:23:55 +02:00
mintsuki
779571339e misc: Updates for Flanterm rebrand 2023-03-29 22:43:06 +02:00
mintsuki
3bf159d81c compress: Rename modified tinfgzip wrapper to gzip 2023-03-16 22:49:24 +01:00
mintsuki
0f4beb1bfd gterm: Fix NULL dereference bug when no wallpaper used 2023-03-05 09:49:28 +01:00
mintsuki
8bb12244be image: Use stbi_image_free() instead of freeing buffer ourselves 2023-03-05 08:47:38 +01:00
mintsuki
959c44658e image: Use stb_image for image loading 2023-03-05 07:57:54 +01:00
mintsuki
48053fd206 misc: Fix bug on trunk where returns to menu from panic would crash 2023-02-16 03:54:10 +01:00
mintsuki
a3f814b5f7 uri/tinfgzip: Minor fixes and layering improvement 2023-02-16 02:05:11 +01:00
mintsuki
3ae87be595 uri: Fix minor use-after-free bug 2023-02-15 21:09:46 +01:00
mintsuki
9b07351208 uri: Prevent memory leak when opening compressed files 2023-02-15 21:05:55 +01:00
mintsuki
71b3ae548b compress: Replace tinf's inflate implementation with stb_image's zlib 2023-02-15 11:21:53 +01:00
mintsuki
c30afde043 config: Do not allow recovering from checksum mismatch panic 2023-02-07 00:28:51 +01:00
mintsuki
843be07536 config: No longer allow continuing boot on checksum mismatches 2023-02-07 00:23:10 +01:00
mintsuki
8c7a98310a misc: Add support for enrolling config blake2b hash in executable 2023-02-06 23:58:19 +01:00
mintsuki
a7721872dd term: Expose support for out-of-band output control 2023-01-20 20:14:38 +01:00
mintsuki
28dd8a1062 file: Fix several bugs to do with handling of path field 2023-01-20 17:27:41 +01:00
Qwinci
3dd0a6fb41
limine: Add UEFI PXE support
based on @qookei's original patch with small changes.
2023-01-17 18:47:36 +02:00
mintsuki
2ee939725e term: Compatibility with new terminal code 2022-12-30 07:58:46 +01:00
mintsuki
1aba6b3aeb lib/gterm: Remove now-useless full_refresh() call 2022-12-16 03:53:42 +01:00
mintsuki
b3c08f8122 term: Compatibility with latest terminal changes 2022-12-14 16:35:03 +01:00
mintsuki
ffaaabf14a readline: Fix issue arising from terminal's wraparound handling fix 2022-11-19 08:04:17 +01:00
mintsuki
d39baeaa80 video: Initial support for multiple framebuffers 2022-11-18 23:59:31 +01:00
Ryan Cohen
07d8dd2c68
readline: Fix command line scrolling and cursor wrap-around
Fixes `cursor_fwd` to wrap the cursor to the first column when it passes
the bottom right corner of the screen.

Fixes `readline` to update the command line's row position when the
cursor wrap-around causes the screen to scroll up.
2022-11-13 13:49:00 -05:00
mintsuki
e0aec79cb6 limine: Add support for framebuffer modes listing 2022-10-14 05:19:13 +02:00
mintsuki
6022f5bf23 elf: Add overlapping PHDR detection 2022-10-10 04:35:28 +02:00
mintsuki
af80341c8c misc: Dynamically allocate EFI memmap copy 2022-10-07 07:49:47 +02:00
mintsuki
2557aa8f46 misc: Increase EFI_COPY_MAX_ENTRIES to 2048 2022-10-07 06:23:49 +02:00
mintsuki
3d95c8960c misc: Add limine subdir to stage3 and config search paths. Closes #225 2022-10-06 06:29:11 +02:00
mint
23f2c7dbac
Merge pull request #228 from czapek1337/some-fixes
Some minor fixes
2022-10-06 06:05:37 +02:00
mintsuki
7f09259c57 term: Misc improvements for SERIAL=yes on EFI 2022-10-06 05:41:21 +02:00
mintsuki
6e1c792e41 gterm: Prevent memory leak gterm_init() failure 2022-10-06 05:41:21 +02:00
czapek1337
68e936e7f4
readline: Fallback to SystemTable->ConIn 2022-10-06 05:37:22 +02:00
mintsuki
ac34ec411f term: Better ensure term is not accessed when NULL 2022-10-05 15:01:01 +02:00
mintsuki
d187c576d8 term: Make term_notready() static 2022-10-04 21:00:39 +02:00
mintsuki
ff8c5f318c term: Gate BIOS specific code behind ifdefs 2022-10-04 20:47:19 +02:00