Commit Graph

556 Commits

Author SHA1 Message Date
mintsuki
a04a84a5de build: Misc Makefile improvements 2021-12-24 00:32:46 +01:00
mintsuki
3654bb7efb stivale1&2: Allocate kernel with the right memmap type for 32-bit 2021-12-24 00:32:46 +01:00
mintsuki
a294dd3ced build: Improve clang detection code 2021-12-22 01:51:50 +01:00
mintsuki
9d6121038d lds: Move build-id inside limine.sys size area 2021-12-22 01:51:50 +01:00
mintsuki
438a38c7e1 fat32: Do not hardcode sector size 2021-12-20 07:57:37 +01:00
mintsuki
6e85bc53ab build: Fix makefile race condition 2021-12-20 07:57:37 +01:00
mintsuki
a171ab446c build: UEFI linker scripts adjustments 2021-12-19 02:30:52 +01:00
mintsuki
08bd89fbcc build: BIOS linker scripts adjustments 2021-12-19 02:30:52 +01:00
mintsuki
56d964ae32 build: Remove useless subsystem objcopy argument for UEFI 2021-12-19 02:30:52 +01:00
mintsuki
faa7579f76 menu: Do not reset term on editor exit to menu 2021-12-19 02:30:52 +01:00
mintsuki
1e4f97a59f Revert "build: Small change to EFI objcopy command"
This reverts commit 1e69aff0d7.
2021-12-19 02:30:52 +01:00
mintsuki
98eca7fae0 config: Misc macro improvements 2021-12-15 19:50:52 +01:00
mintsuki
358b995b49 config: Implement macros 2021-12-15 19:50:52 +01:00
lukflug
65bebbbfef panic: Prevent recursive panics during early boot 2021-12-15 19:50:52 +01:00
mintsuki
987740691c build: Small change to EFI objcopy command 2021-12-12 20:01:29 +01:00
mintsuki
5b51d110ca misc: Add no_unwind to some variables 2021-12-12 20:01:29 +01:00
mintsuki
402577ad22 misc: Implement .no_unwind section 2021-12-12 20:01:29 +01:00
mintsuki
760e1b20c4 misc: Unwind both .data and .bss 2021-12-12 20:01:29 +01:00
mintsuki
13974faced menu: Fix stack alignment issue 2021-12-12 20:01:29 +01:00
mintsuki
a5073b9a6c Revert "Revert "misc: Allow recovering from panics""
This reverts commit 5f9ed4c78f.
2021-12-12 18:25:59 +01:00
mintsuki
b70966e12d Revert "menu: Entry assembly fixes"
This reverts commit 90a07f0da6.
2021-12-12 18:25:48 +01:00
mintsuki
90a07f0da6 menu: Entry assembly fixes 2021-12-12 15:50:40 +01:00
mintsuki
5f9ed4c78f Revert "misc: Allow recovering from panics"
This reverts commit 40705e5935.
2021-12-12 15:50:39 +01:00
mintsuki
5e439b3174 console: Add editor command 2021-12-11 22:36:16 +01:00
mintsuki
a4eb69e3c3 menu: Fix panic menu-reentry with TIMEOUT=0; fix entry assembly 2021-12-11 22:33:51 +01:00
mintsuki
40705e5935 misc: Allow recovering from panics 2021-12-11 22:33:27 +01:00
mintsuki
ca94650094 Revert "stivale2: Add stack validity check"
This reverts commit 4a59ba6ba4.
2021-12-11 22:30:48 +01:00
mintsuki
cf64e8eee1 Revert "stivale2: Only test stack validity if in top 2GiB"
This reverts commit eaea24f552.
2021-12-11 22:30:48 +01:00
mintsuki
dc82afcbc5 menu: Add missing semicolon after label 2021-12-11 22:30:48 +01:00
mintsuki
0527dac6f8 menu: Move protocol logic from entry.s3.c to menu.c 2021-12-11 22:30:48 +01:00
mintsuki
3bb754e627 misc: Use %p where appropriate in prints 2021-12-11 22:30:48 +01:00
mintsuki
d014236e4d misc: Move to assembly for mem family functions 2021-12-11 22:30:48 +01:00
mintsuki
f3e64380fc stivale.32: xorq -> xorl 2021-12-11 22:30:48 +01:00
mintsuki
c1f96b53d2 elf: Use right print format for panic 2021-12-11 22:30:48 +01:00
mintsuki
ee6c98541b menu: Fix editor bug with cursor wrapping 2021-12-11 22:30:48 +01:00
mintsuki
61af712761 build: Move to reduced-gnu-efi 2021-12-08 21:34:59 +01:00
mintsuki
35100979fc uefi32: Fix bug introduced in 2f844f3 2021-12-08 21:34:59 +01:00
mintsuki
ee45d739f4 build: Makefile improvements 2021-12-08 21:34:59 +01:00
mintsuki
47db3e8ea8 linux: Ensure loading message shows up before fopen() for modules 2021-12-07 12:30:40 +01:00
mintsuki
72764fe040 stivale2: Only test stack validity if in top 2GiB 2021-12-07 12:30:40 +01:00
mintsuki
c3fbba91c7 stivale2: Add stack validity check 2021-12-07 12:30:40 +01:00
mintsuki
7394f84477 elf: Print out range addresses on allocation failure 2021-12-07 12:30:40 +01:00
mintsuki
c77d46986f elf: Add guards to prevent non-higher half 64-bit kernels from loading when using PMRs or fully virtual mappings 2021-12-06 00:26:51 +01:00
mintsuki
3fe82174f7 pmm: Mark Limine image wholly as bootloader reclaimable in memory map when using UEFI 2021-12-02 01:33:17 +01:00
mintsuki
2f7e4c6c80 main: Add autodetection prompt instead of doing it automatically 2021-11-30 00:58:35 +01:00
mintsuki
073edecc36 elf: Silence excessive verbosity 2021-11-30 00:58:35 +01:00
mintsuki
ecdc71e08a build: Fix up MKESCAPE macro logic 2021-11-30 00:58:35 +01:00
mintsuki
624228c83c build: Initial support for special characters in build path 2021-11-30 00:58:35 +01:00
pitust
f8c3ba6716 fix my tabs 2021-11-30 00:58:35 +01:00
pitust
98d43c1428 fwcfg: implement the fw_cfg interface 2021-11-30 00:58:35 +01:00