Commit Graph

385 Commits

Author SHA1 Message Date
mintsuki
04732c6221 multiboot2: Add support for EFI system table tag 2021-09-14 23:12:34 +02:00
mintsuki
33692555a7 multiboot2: Add support for a.out kludge and other enhancements 2021-09-14 22:12:22 +02:00
mintsuki
35273093ba term: Cursor should flip palette 2021-09-14 20:02:09 +02:00
mintsuki
ab19d6ccad menu: Clear line before reprinting timeout message 2021-09-14 18:35:42 +02:00
mintsuki
fe882a8b2e multiboot1 and 2: General fixes and cleanup 2021-09-14 07:43:17 +02:00
mintsuki
fa5fa057bd term: Do not parse escape-abort characters when not in runtime mode 2021-09-13 09:49:43 +02:00
mintsuki
05eb70e9f0 smp: Use rdtsc to delay rather than dummy port IO 2021-09-13 05:13:02 +02:00
mintsuki
ae02de7902 multiboot2: Fix broken append_tag() invocation 2021-09-13 04:56:00 +02:00
mintsuki
4ad7081e6c multiboot2: Misc adjustments 2021-09-13 04:49:59 +02:00
mint
90bdd0dca0
Merge pull request #109 from Andy-Python-Programmer/trunk
multiboot2: initial support
2021-09-13 04:33:39 +02:00
Andy-Python-Programmer
875d90d7a0
multiboot2: add copyright notice on multiboot2 header file
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-09-13 12:31:21 +10:00
Andy-Python-Programmer
dab6504102
multiboot2: add kernel modules support
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-09-13 12:21:31 +10:00
Andy-Python-Programmer
7ce2354c88
mutlboot2: assert that we do not overflow the mmap tags
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-09-13 11:10:45 +10:00
Andy-Python-Programmer
e17d34ee70
multiboot2: allocate bootinfo size AOT
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-09-12 17:19:50 +10:00
Andy-Python-Programmer
8b8388b167
elf_section_hdr_info: return the info instead of void
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-09-12 12:54:37 +10:00
mintsuki
7ad45e8daf term: Fix bug introduced when moving from int to size_t for coordinates. Fixes #110 2021-09-11 08:43:39 +02:00
Andy-Python-Programmer
42f821f043
multiboot2: add EFI memory map tag
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-09-11 15:06:51 +10:00
Andy-Python-Programmer
5d2ce0d117
multiboot2: add ACPIv2 info tag
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-09-11 14:34:22 +10:00
Andy-Python-Programmer
6f15587c85
multiboot2: add the framebuffer tag
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-09-10 18:41:01 +10:00
Andy-Python-Programmer
6d034adc5a
multiboot2: implement ELF sections tag
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-09-10 18:02:54 +10:00
Andy-Python-Programmer
60811e70d6
multiboot2: initial support
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-09-10 13:46:41 +10:00
mintsuki
9459207ab3 ext2: Implement triply indirect blocks 2021-09-07 10:35:34 +02:00
mintsuki
3dbd494f87 disk: Signature double checking for EFI volume detection fallback 2021-09-06 08:52:41 +02:00
mintsuki
f20457f671 menu: Add option to change the colour of the branding string 2021-09-06 07:31:57 +02:00
mintsuki
db25c748f4 stivale1: Copy the memmap to a bootloader reclaimable region to conform with the spec 2021-09-06 03:33:15 +02:00
mintsuki
dafc710c60 pmm: Allocate memory map dynamically using EFI 2021-09-03 03:10:23 +02:00
mintsuki
0410e53e3d cpu: Make rdseed() macro actually use rdseed 2021-09-02 22:59:51 +02:00
StaticSaga
62198ba1b0 fat32: fix LFN ignoring bug introduced by 25e1194 2021-09-02 11:53:43 +02:00
mintsuki
5217f50bbd pmm: Increase the max size of the memory map 2021-09-02 04:23:09 +02:00
mintsuki
86780fc776 efi: Improve reclaim memory process 2021-09-02 02:47:08 +02:00
mintsuki
b00845fba0 efi: Add fallback in case we do not manage to pair the boot device handle with a volume 2021-09-02 02:11:15 +02:00
mintsuki
1a71851c7d disk: Readd readback detection method as fallback 2021-09-02 01:31:36 +02:00
mintsuki
25e119496e fat: Ignore volume label entries in directories. Fixes #107 2021-09-01 23:34:31 +02:00
mintsuki
134fd3c8bd disk: Use a different method to match EFI_HANDLEs with volumes 2021-09-01 23:01:03 +02:00
mintsuki
0af91feaef disk: Remove bogus pointer 2021-09-01 20:22:28 +02:00
mintsuki
0312020bd2 term: Nul should be ignored 2021-08-29 16:16:32 +02:00
mintsuki
12566c53b3 elf: Make allocation failure simulation more lax 2021-08-29 16:11:56 +02:00
mintsuki
0af1cdb72a readline: UEFI: getchar() rework 2021-08-26 18:22:09 +02:00
mintsuki
0562c8ef70 multiboot1: When on BIOS, set IDTR to BIOS defaults before handoff 2021-08-26 01:41:13 +02:00
mintsuki
605623bd05 disk: Improve algorithm to determine fastest transfer size 2021-08-26 01:33:43 +02:00
mintsuki
57c44befee Revert "term: Reverse video should not make the cursor invisible"
This reverts commit a5def082c3.
2021-08-26 01:23:27 +02:00
mint
9d8fd54127
Merge pull request #104 from ArsenArsen/trunk
readline: re-add emacs key support
2021-08-26 00:17:55 +02:00
Arsen Arsenović
50dcc58a77
readline: re-add emacs key support
This time, we properly check shift flags from both the firmware options,
as to not lead to conflicts with existing code. The logic for checking
whether Ctrl is being held is also a lot cleaner now.
2021-08-26 00:15:42 +02:00
mintsuki
a5def082c3 term: Reverse video should not make the cursor invisible 2021-08-25 23:57:19 +02:00
mintsuki
31f52c2b30 efi: Directly use EFI functions instead of using GNU-EFI's call wrapper 2021-08-25 22:03:00 +02:00
mintsuki
23a93a85dc term: Bug fixes 2021-08-24 01:08:08 +02:00
mintsuki
16645dfb48 disk: Misc fixes 2021-08-22 22:07:48 +02:00
mintsuki
483cb4655d misc: Add copyright notice at boot 2021-08-22 18:29:18 +02:00
mintsuki
712f4c02e6 disk: Remove redundant code used to get volume count 2021-08-22 18:05:21 +02:00
mintsuki
9a934eb683 efi: Leave 64MiB to firmware instead of 16MiB 2021-08-22 17:57:52 +02:00