Commit Graph

248 Commits

Author SHA1 Message Date
czapek1337 a6f6958b41 readline: Don't delete input beyond a null terminator 2022-01-29 08:00:55 +01:00
czapek1337 53e515e642 readline: Zero out the buffer before using it 2022-01-29 00:00:07 +01:00
czapek1337 2c1604089c readline: Handle END/HOME keys 2022-01-29 00:00:01 +01:00
czapek1337 0c677d093e console,editor: Filter out non-printable characters 2022-01-28 23:51:34 +01:00
mintsuki 80ae303ba8 misc: Fixes for GCC 12 warnings; add extern prototypes for inline functions 2022-01-26 03:58:28 +01:00
mintsuki 5aab620955 panic: Add missing ifdef 2022-01-25 08:50:36 +01:00
mintsuki 5b3e8c393f bios: Move terminal entirely to stage 3 2022-01-25 08:41:17 +01:00
mintsuki 4d6e1b801a term: Support for reverse scroll, save/restore, and bug fixes 2022-01-18 23:46:25 +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 19bd781661 disk: Fix logic issue with UEFI volume detection 2022-01-09 20:43:51 +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 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 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 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 edad956e9a misc: Allow recovering from panics 2021-12-11 19:58:00 +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 b1bbcc4698 elf: Use right print format for panic 2021-12-09 23:47:01 +01:00
mintsuki e127b6c88a elf: Print out range addresses on allocation failure 2021-12-06 02:31:35 +01:00
mintsuki beffb3e9ea elf: Add guards to prevent non-higher half 64-bit kernels from loading when using PMRs or fully virtual mappings 2021-12-06 00:21:38 +01:00
mintsuki 79970493d8 elf: Silence excessive verbosity 2021-11-28 22:18:49 +01:00
pitust ea615eb9c8 fix my tabs 2021-11-27 11:01:47 +00:00
pitust 47bb8ce3fa fwcfg: implement the fw_cfg interface 2021-11-26 12:09:09 +00:00
mintsuki ad3e17569c stivale2: Implement boot volume struct tag 2021-11-24 12:24:17 +01:00
mintsuki 4a6aabbe55 panic: Mention CTRL+ALT+DEL in system halted message 2021-11-23 11:29:53 +01:00
mintsuki 65925ebc60 term: Bug fixes 2021-11-21 01:18:39 +01:00
mintsuki 237a3b3152 term: Fix bug introduced by last commit 2021-11-20 23:05:56 +01:00
mintsuki 89fbcbe71b term: When using quiet mode, hide textmode cursor 2021-11-20 22:40:27 +01:00
mintsuki a937eb4202 term: Introduce quiet mode 2021-11-20 21:47:51 +01:00
mintsuki 202eac3d3a bootboot: Remove bootboot support from Limine
I added bootboot support to Limine because it was sent as a pull request by a
friend. The following does not in any way place any blame on said friend.

After having had to fix numerous bugs related to misunderstandings about the
pretentious BOOTBOOT specification I've come to the conclusion that BOOTBOOT
absolutely doesn't belong in Limine.

If you want to boot a BOOTBOOT kernel with Limine just chainload the OG BOOTBOOT
and don't pollute the source tree of Limine with having to support such a brain
dead protocol.

Legit, I didn't really read the BOOTBOOT spec prior to today and just winged
the fixes to the BOOTBOOT proto code based on common sense, but it turns out that
BOOTBOOT adheres to no common sense.

Use stivale(2).
2021-11-10 14:15:14 +01:00
mintsuki 9d4bf41ed9 config: Implement and use config_get_tuple() 2021-11-09 12:01:53 +01:00
mintsuki 93cd5b1de3 bootboot: General cleanup 2021-11-07 12:29:58 +01:00
mintsuki c338f575d8 elf: Drop lower half program headers for PMRs 2021-11-05 03:22:19 +01:00
pitust 7d55fee087 bootboot+elf: deduplicate ELF structures 2021-11-01 21:37:20 +00:00
pitust a72a68486d bootboot: add proper support for env and ramdisk 2021-11-01 20:43:00 +00:00
mintsuki c5dfd77fba elf: Fix bug introduced in dbbef9f 2021-11-01 02:43:22 +01:00
mintsuki 576669b80e elf: Align range lengths to p_align 2021-10-31 22:01:29 +01:00
mintsuki 7619908d1a console: Remove license command 2021-10-31 20:33:47 +01:00
mintsuki 7eeadd7194 elf: Fix bug related to overshoot check 2021-10-31 05:17:37 +01:00
mintsuki 057715b60c panic: Initialise a terminal backend if term is not ready 2021-10-30 01:58:35 +02:00
mintsuki dcd422806c stivale2: Introduce fully virtual kernel mappings (KASLR/PIE fixes) 2021-10-29 19:51:22 +02:00
mintsuki dbbef9f6d3 stivale2: Introduce fully virtual kernel mappings (bug fixes) 2021-10-29 02:15:17 +02:00