Commit Graph

613 Commits

Author SHA1 Message Date
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
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