Commit Graph

626 Commits

Author SHA1 Message Date
mintsuki
d7b8c3cf8a build: Misc improvements 2022-02-01 08:04:55 +01:00
mintsuki
ac865be1a1 build: Minor misc fixes 2022-01-29 17:23:41 +01:00
mintsuki
9fc8ec0ce3 pmm_randomise_memory: Add guard for BIOS port to avoid accessing bogus pointers 2022-01-29 12:29:27 +01:00
mintsuki
3fa7d9d1fa chainload: Assume boot drive if DRIVE parameter is omitted 2022-01-29 11:54:38 +01:00
mintsuki
69529b1269 chainload: Readd wrongly removed noinline attribute 2022-01-29 11:45:03 +01:00
czapek1337
a6f6958b41 readline: Don't delete input beyond a null terminator 2022-01-29 08:00:55 +01:00
czapek1337
77ed9d23ca console: Use escape sequence instead of reset_term() 2022-01-29 07:52:44 +01:00
czapek1337
077341d102 console: Add a clear command 2022-01-29 00:00:07 +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
czapek1337
ca5f7a6e46 menu: Handle uppercase inputs for menu hotkeys 2022-01-28 23:10:44 +01:00
Itay Almog
92580a3b47 ntfs: allow for bigger resident index and resident data 2022-01-28 13:48:21 +02:00
mintsuki
fdd93826f5 ntfs: Change most panics into prints 2022-01-28 11:56:51 +01:00
mintsuki
2db3240b99 paging: Some 1GiB pages adjustments 2022-01-28 11:06:22 +01:00
Andy-Python-Programmer
061c8aa34a
is_1gib_page_supported: use printv instead
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2022-01-27 15:41:35 +11:00
Andy-Python-Programmer
e64eeef633
is_1gib_page_supported: use (void), not () if there's no args
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2022-01-27 15:40:51 +11:00
Andy-Python-Programmer
66d5941077
vmm: fix implicit declaration of print
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2022-01-27 15:06:56 +11:00
Andy-Python-Programmer
4af12fe517
paging: emulate support for 1gib pages if not avaliable
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2022-01-27 15:01:59 +11:00
Andy-Python-Programmer
51f5e5b092
direct_map: use 1gib pages to construct the direct map
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2022-01-27 12:03:20 +11:00
Andy-Python-Programmer
45ecb0fb4d
stivale_build_pagemap: use 1GiB pages to map 0 to 2GiB at 0xffffffff80000000
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2022-01-27 11:04:59 +11:00
Andy-Python-Programmer
8866470d01
map_page: add support for mapping 1GiB pages
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2022-01-27 10:59:16 +11:00
Andy-Python-Programmer
d51d5cccbf
map_page: take the page size as an argument (enum)
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2022-01-27 10:54:26 +11:00
mintsuki
80ae303ba8 misc: Fixes for GCC 12 warnings; add extern prototypes for inline functions 2022-01-26 03:58:28 +01:00
mintsuki
d307056635 misc: Disable strict aliasing, just in case 2022-01-25 09:16:26 +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
c28e3a6f7f build: Misc portability improvements 2022-01-22 03:10:25 +01:00
Itay Almog
c74c36440a added support for resident files, this should pretty much complete a basic support for NTFS 2022-01-21 17:01:03 +02:00
Itay Almog
35d522d388 added required fixes to make ntfs work again 2022-01-21 16:39:18 +02:00
mintsuki
a25129b8c1 build: Even more portability improvements 2022-01-21 02:57:31 +01:00
mintsuki
7b0c430fb5 build: Misc portability improvements 2022-01-21 02:24:36 +01:00
mintsuki
65ef9561a5 misc: Do not rely on libc-provided headers 2022-01-20 05:17:45 +01:00
mintsuki
8de42af1a8 menu: Allow space for booting entries. Closes #148 2022-01-20 02:34:33 +01:00
mintsuki
4d6e1b801a term: Support for reverse scroll, save/restore, and bug fixes 2022-01-18 23:46:25 +01:00
mintsuki
f82b3cb76d build: Disentangle some makefile targets 2022-01-17 22:13:19 +01:00
mintsuki
fd09538f48 build: Sanitise variables before building reduced-gnu-efi 2022-01-17 00:20:59 +01:00
mintsuki
accb58e11e multiboot: Retry failed module loads at different addresses 2022-01-16 22:52:21 +01:00
mintsuki
26641eb1a8 build: Misc build system improvements 2022-01-16 22:41:37 +01:00
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