Commit Graph

622 Commits

Author SHA1 Message Date
mintsuki
f25277a221 chainload: Readd wrongly removed noinline attribute 2022-01-29 12:33:46 +01:00
czapek1337
29f5316fdc readline: Don't delete input beyond a null terminator 2022-01-29 12:33:46 +01:00
czapek1337
dabbb935c5 console: Use escape sequence instead of reset_term() 2022-01-29 12:33:46 +01:00
czapek1337
eb0dfb155e console: Add a clear command 2022-01-29 12:33:46 +01:00
czapek1337
8bf716696c readline: Zero out the buffer before using it 2022-01-29 12:33:46 +01:00
czapek1337
e3fb2c64ed readline: Handle END/HOME keys 2022-01-29 12:33:46 +01:00
czapek1337
290bcd1c79 console,editor: Filter out non-printable characters 2022-01-29 12:33:46 +01:00
czapek1337
41835870f7 menu: Handle uppercase inputs for menu hotkeys 2022-01-29 12:33:46 +01:00
Itay Almog
a12d99f0ac ntfs: allow for bigger resident index and resident data 2022-01-28 12:59:09 +01:00
mintsuki
4d7aec430b ntfs: Change most panics into prints 2022-01-28 12:59:09 +01:00
mintsuki
091baf40a9 paging: Some 1GiB pages adjustments 2022-01-28 11:18:33 +01:00
Andy-Python-Programmer
48f890ad43 is_1gib_page_supported: use printv instead
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2022-01-28 11:18:33 +01:00
Andy-Python-Programmer
9dd2e17a9a is_1gib_page_supported: use (void), not () if there's no args
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2022-01-28 11:18:33 +01:00
Andy-Python-Programmer
3c848d3996 vmm: fix implicit declaration of print
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2022-01-28 11:18:33 +01:00
Andy-Python-Programmer
67a0bb8749 paging: emulate support for 1gib pages if not avaliable
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2022-01-28 11:18:33 +01:00
Andy-Python-Programmer
360b23eb2b direct_map: use 1gib pages to construct the direct map
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2022-01-28 11:18:33 +01:00
Andy-Python-Programmer
c13c38911e stivale_build_pagemap: use 1GiB pages to map 0 to 2GiB at 0xffffffff80000000
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2022-01-28 11:18:33 +01:00
Andy-Python-Programmer
a218423b9c map_page: add support for mapping 1GiB pages
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2022-01-28 11:18:33 +01:00
Andy-Python-Programmer
7a1e3cb35c map_page: take the page size as an argument (enum)
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2022-01-28 11:18:33 +01:00
mintsuki
ddf85ede0a misc: Fixes for GCC 12 warnings; add extern prototypes for inline functions 2022-01-26 04:03:38 +01:00
mintsuki
8ccd4199b0 misc: Disable strict aliasing, just in case 2022-01-25 09:25:23 +01:00
mintsuki
bfa7db951c panic: Add missing ifdef 2022-01-25 09:25:23 +01:00
mintsuki
fb99d3b0ab bios: Move terminal entirely to stage 3 2022-01-25 09:25:23 +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
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