Commit Graph

1308 Commits

Author SHA1 Message Date
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
7a0bf62e5a misc: Update copyright years 2022-01-01 13:01:45 +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
e70f48c978 limine-install: Fix broken argc comparison 2021-12-23 20:56:09 +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
d63149a652 limine-install: Add O_BINARY flag to open() on win32 2021-12-20 06:38:51 +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
mintsuki
b1bbcc4698 elf: Use right print format for panic 2021-12-09 23:47:01 +01:00
mintsuki
59f66809f3 menu: Fix editor bug with cursor wrapping 2021-12-09 23:37:59 +01:00
mintsuki
68c7e26574 build: Move to reduced-gnu-efi 2021-12-08 21:26:25 +01:00
mintsuki
415a57be6c build: More Makefile improvements 2021-12-08 19:22:09 +01:00
mintsuki
84c8dce062 uefi32: Fix bug introduced in 2f844f3 2021-12-08 18:20:45 +01:00
mintsuki
477a04b630 build: Makefile improvements 2021-12-08 17:41:19 +01:00
mintsuki
2be3776f34 linux: Ensure loading message shows up before fopen() for modules 2021-12-07 11:53:17 +01:00
mintsuki
eaea24f552 stivale2: Only test stack validity if in top 2GiB 2021-12-06 19:10:57 +01:00