Commit Graph

587 Commits

Author SHA1 Message Date
mintsuki
3bb70dcbee build: Move to using autoconf 2022-01-16 06:09:36 +01:00
mintsuki
88e7bcc13a disk: UEFI related adjustments 2022-01-14 02:04:22 +01:00
mintsuki
6223f65bff Revert "disk: Fix logic issue with UEFI volume detection"
This reverts commit 19bd781661.
2022-01-14 02:04:22 +01:00
mintsuki
0eba7b0a95 Revert "disk: Bug fix in find_unique_sectors()"
This reverts commit a9e8f32851.
2022-01-14 02:04:22 +01:00
mintsuki
a9e8f32851 disk: Bug fix in find_unique_sectors() 2022-01-13 19:38:43 +01:00
mintsuki
96bcbfde46 multiboot2: Pass actual size of all tags rather than allocated size 2022-01-10 13:37:44 +01:00
mintsuki
ff63edc71d ext2: Do not panic on feature checks when testing signature 2022-01-09 21:04:46 +01:00
mintsuki
19bd781661 disk: Fix logic issue with UEFI volume detection 2022-01-09 20:43:51 +01:00
mintsuki
e83ae58854 ext4: Fix bogus pmm_free() bugs. Fixes #146 2022-01-08 19:35:55 +01:00
mintsuki
17c59eebd4 disk: Limit size of fastest_xfer_size on UEFI 2022-01-06 11:03:12 +01:00
mintsuki
a494a1d47a term: Move fallback logic from panic.s2.c to term.s2.c 2022-01-05 16:03:26 +01:00
streaksu
0eebfaa588 disk: Make disk_read_sectors() return errors instead of bool 2022-01-03 18:58:37 +01:00
mintsuki
a14bf5b2c9 build: Makefile -> GNUmakefile 2022-01-02 12:54:31 +01:00
mintsuki
fa79132281 build: Makefile improvements 2022-01-02 12:45:15 +01:00
mintsuki
cc8528e2d0 disk: Fail disk_read_sectors() on any error code 2022-01-02 12:34:55 +01:00
mintsuki
6fad120218 disk: Use stdalign.h instead of GCC attribute 2022-01-01 13:15:53 +01:00
mintsuki
3402b22cb6 misc: Move to standard C11 noreturn 2021-12-31 10:58:05 +01:00
mintsuki
97eaf2777d volume: Catch xfer_size==0 condition in cache_block() 2021-12-29 01:18:41 +01:00
mintsuki
63c3f48f49 libgcc: Small __*divmoddi4 bug fix 2021-12-29 01:14:11 +01:00
mintsuki
5b3dab3036 volume: Fix bug where reads close to the end of drive may fail 2021-12-24 00:19:24 +01:00
mintsuki
d948b6e98e chainload: Fix up drive number passed to spinup() 2021-12-23 20:51:38 +01:00
mintsuki
245bea9ef3 build: Misc Makefile improvements 2021-12-22 22:08:19 +01:00
mintsuki
e9383335b4 stivale1&2: Allocate kernel with the right memmap type for 32-bit 2021-12-22 20:27:51 +01:00
mintsuki
b332e85876 build: Improve clang detection code 2021-12-22 01:44:33 +01:00
mintsuki
364809bc5f lds: Move build-id inside limine.sys size area 2021-12-22 00:10:43 +01:00
mintsuki
62e9936b71 fat32: Do not hardcode sector size 2021-12-20 07:49:39 +01:00
mintsuki
a3890c9e60 build: Fix makefile race condition 2021-12-20 06:12:31 +01:00
mintsuki
966b4e542d build: UEFI linker scripts adjustments 2021-12-19 02:22:21 +01:00
mintsuki
66ac709839 build: BIOS linker scripts adjustments 2021-12-19 01:08:34 +01:00
mintsuki
ed82bd6113 build: Remove useless subsystem objcopy argument for UEFI 2021-12-19 00:28:02 +01:00
mintsuki
5ae2433f39 menu: Do not reset term on editor exit to menu 2021-12-18 20:51:07 +01:00
mintsuki
8977863d91 Revert "build: Small change to EFI objcopy command"
This reverts commit 1e69aff0d7.
2021-12-18 20:43:35 +01:00
mintsuki
cd4431f227 config: Misc macro improvements 2021-12-15 19:45:54 +01:00
mintsuki
b5808884a3 config: Implement macros 2021-12-15 19:29:12 +01:00
lukflug
4cb616bcad panic: Prevent recursive panics during early boot 2021-12-14 06:47:28 +01:00
mintsuki
1e69aff0d7 build: Small change to EFI objcopy command 2021-12-12 19:58:15 +01:00
mintsuki
acdd21348d misc: Add no_unwind to some variables 2021-12-12 19:06:36 +01:00
mintsuki
f0cda17326 misc: Implement .no_unwind section 2021-12-12 18:48:36 +01:00
mintsuki
88cd9dca7e misc: Unwind both .data and .bss 2021-12-12 18:40:27 +01:00
mintsuki
2f66e0f23a menu: Fix stack alignment issue 2021-12-12 18:30:41 +01:00
mintsuki
5fb4f68a5b console: Add editor command 2021-12-11 22:22:48 +01:00
mintsuki
d021d6ff12 menu: Fix panic menu-reentry with TIMEOUT=0; fix entry assembly 2021-12-11 20:28:16 +01:00
mintsuki
edad956e9a misc: Allow recovering from panics 2021-12-11 19:58:00 +01:00
mintsuki
0d8037a4a4 Revert "stivale2: Add stack validity check"
This reverts commit 4a59ba6ba4.
2021-12-11 17:55:47 +01:00
mintsuki
9131aee184 Revert "stivale2: Only test stack validity if in top 2GiB"
This reverts commit eaea24f552.
2021-12-11 17:55:47 +01:00
mintsuki
2891c3c4a8 menu: Add missing semicolon after label 2021-12-11 16:08:11 +01:00
mintsuki
f50bbcd9a2 menu: Move protocol logic from entry.s3.c to menu.c 2021-12-11 15:34:30 +01:00
mintsuki
d0e0248f9c misc: Use %p where appropriate in prints 2021-12-10 03:18:19 +01:00
mintsuki
48828f316b misc: Move to assembly for mem family functions 2021-12-10 02:56:56 +01:00
mintsuki
0f35483ee7 stivale.32: xorq -> xorl 2021-12-10 01:13:35 +01:00