Commit Graph

2078 Commits

Author SHA1 Message Date
mintsuki
b78309b45a misc: Remove tinf from tree, pull at bootstrap time 2023-06-06 01:16:58 +02:00
mintsuki
666c5dfcd1 riscv64: Update location of __global_pointer$ 2023-06-06 00:17:07 +02:00
mintsuki
13042bd25e build/riscv64: libgcc-riscv64 -> libgcc-riscv64-softfloat 2023-06-06 00:02:07 +02:00
mintsuki
f6946a7f0c test: Use retrage.github.io EDK2 nightly builds for all ports 2023-06-05 23:14:44 +02:00
mintsuki
74a6b8e125 protos/linux: Do not zero EFI memmap size on IA-32 EFI 2023-06-05 23:05:20 +02:00
mintsuki
705719a229 docs/readme: Adjust stb_image.h link to point to dev branch 2023-06-05 00:07:03 +02:00
mintsuki
e205d51ca4 docs: Add Limine pronounciation link to README.md 2023-06-04 23:39:14 +02:00
ミンツキ
fa7b2409e7
Merge pull request #276 from xvanc/trunk
limine: scale the maximum KASLR offset based on the address space size
2023-06-04 21:05:48 +02:00
xvanc
1f01ddfc6d
limine: scale the maximum KASLR offset based on the address space size 2023-06-04 13:50:26 -05: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
e91196d452 test: Fix copying mistake (typo) 2023-06-03 01:51:17 +02:00
ミンツキ
bee1d50c1a
Merge pull request #275 from blanham/netboot_fix_when_no_block_io
Fix netboot in configs where BLOCK_IO_PROTOCOL does not exist
2023-06-01 10:40:36 +02:00
Bryce Lanham
fe083d3701 Fix netboot in configs where BLOCK_IO does not exist
For example, netbooting qemu-system-aarch64 with no drive specified will
result in OVMF not loading the BLOCK_IO_PROTOCOL, causing a panic in
disk.s2.c.
2023-06-01 03:33:13 -05:00
mintsuki
dce1c31ad5 docs: Update example Limine version in README to 4.20230530.0 2023-05-30 22:44:12 +02:00
mintsuki
f26b651e5f disk/efi: Do not use DISK_IO protocol and fix buffer reuse bug 2023-05-30 21:36:09 +02:00
mintsuki
679fdd4351 misc: Use C instead of asm for mem*() family of functions 2023-05-30 12:23:31 +02:00
mintsuki
4190710dc6 docs: Update example Limine version in README to 4.20230529.0 2023-05-29 13:06:02 +02:00
mintsuki
9079f3007d ci: Fix permissions of certain files in binary branch 2023-05-29 12:51:21 +02:00
mintsuki
eac03c8c89 build/uefi: Remove now-useless -DGNU_EFI_USE_MS_ABI flag 2023-05-28 23:53:34 +02:00
mintsuki
0125dcd67a build/uefi: Pass -fshort-wchar to CC 2023-05-27 16:55:49 +02:00
mintsuki
844386487d docs: Update example Limine version in README 2023-05-14 09:28:24 +02:00
mintsuki
71b175b7b9 stb_image: Track dev branch 2023-05-14 06:08:55 +02:00
mintsuki
153412f53e host: Perform compile-time endian check if supported 2023-05-14 05:13:09 +02:00
mintsuki
7989064599 elf: Improve detection of relocatable ELFs 2023-05-13 00:05:50 +02:00
mintsuki
836d1c2038 docs: Update example Limine version in README 2023-05-03 22:51:13 +02:00
mintsuki
2c11fb337c stb_image: Update to commit with zlib EOF bug fixed 2023-05-03 19:53:27 +02:00
mintsuki
73462a5116 Revert "compress/gz: Add hack to allow macOS compressed GZs to load with stbi"
This reverts commit 1dd75a18ac.
2023-05-03 19:53:27 +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
mintsuki
35808c593e build: Remove some empty lines in dist make target 2023-05-03 15:54:14 +02:00
ミンツキ
717c60cd6a
Merge pull request #271 from blanham/multiboot1_fix_elf32_section_loading
multiboot1: also fix elf32 section loading
2023-05-03 03:54:46 +02:00
Bryce Lanham
e0c3e6bdce multiboot1: also fix elf32 section loading
As with the prior mb2 fix, use the correct size elf section header for
32 bit elf
2023-05-02 20:48:13 -05:00
ミンツキ
df34599feb
Merge pull request #270 from blanham/multiboot2_fix_elf32_section_loading
multiboot2: fix 32 bit elf section loading
2023-05-03 03:39:12 +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
1a4888858b hgen: Add extra sed command for handling Solaris's od 2023-05-02 08:49:46 +02:00
mintsuki
8dd7973e23 pxe: Add and use constant PXE ACK packet size and fix BIOS PXE ACK struct 2023-04-28 04:59:08 +02:00
mintsuki
36846549e0 menu: Do not initialise textmode terminal if QUIET=yes. Addresses #269 2023-04-26 23:49:22 +02:00
mintsuki
172060e249 bootstrap: Add BOOTSTRAP_NO_SHALLOW_CLONES support 2023-04-25 02:42:34 +02:00
ミンツキ
d7da6d63b5
Merge pull request #267 from blanham/add_multiboot2_network_tag
Implement Multiboot2 network tag
2023-04-24 16:39:30 +02:00
Bryce Lanham
2362f1a785 Implement Multiboot2 network tag
Added caching of the dhcp response in the pxe code, and then adding the
tag containing it.
2023-04-24 06:44:56 -05:00
ミンツキ
2a26d90394
Merge pull request #265 from blanham/fix_pxe_proxy_boot
Fix PXE BIOS boot when using a proxy DHCP server
2023-04-22 10:37:23 +02:00
Bryce Lanham
64a0c6073b Fix PXE BIOS boot when using a proxy DHCP server 2023-04-22 01:22:36 -05:00
mintsuki
73b126e067 build: Sanitise autoconf substitutions with gmake variables 2023-04-21 18:57:08 +02:00
mintsuki
c41e3969a6 build: Pass proper warning flags to nasm 2023-04-18 12:41:01 +02:00
mintsuki
b991fb93f8 docs: Document TEXTMODE config for multiboot 1 and 2 2023-04-13 21:02:09 +02:00
mintsuki
e57050d9c7 multiboot1: Support TEXTMODE config as with Linux/mb2 protocols 2023-04-13 19:21:49 +02:00
mintsuki
93ae0e9afc textmode: Actually disable term hooking on non-managed initialisation 2023-04-13 18:49:26 +02:00
ミンツキ
3613997108
Merge pull request #263 from klange/mb2-textmode
multiboot2: Support TEXTMODE config as with linux
2023-04-12 16:24:14 +02:00
ミンツキ
eae24e64e5
Merge pull request #262 from klange/mb2-ignore-optional
multiboot2: ignore unsupported tags if they are marked optional
2023-04-12 13:18:34 +02:00
K. Lange
2da6225f9e multiboot2: ignore unsupported tags if they are marked optional 2023-04-12 19:53:24 +09:00