Commit Graph

185 Commits

Author SHA1 Message Date
Andy-Python-Programmer
cce7fa4e1e
acpi_get_rsdp: UEFI RSDP lookup return RSDPv1
* This commit makes the acpi_get_rsdp function to return the RSDPv1 if
avaliable (in UEFI) to match this functions behaviour under BIOS where
it returns the XSDP or the RSDP depending on which one is avaliable.

Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-10-05 09:34:51 +11:00
mintsuki
0e9d145b2a elf: Fix off-by-1 comparisons 2021-10-02 21:32:47 +02:00
mintsuki
244b461700 gterm: Cursor print bug fix 2021-10-01 07:08:02 +02:00
mintsuki
34cfd0e55b term: Fix bug related to scrolling regions 2021-09-28 06:17:42 +02:00
mintsuki
bca6f924ba term: Overhaul (4) 2021-09-28 02:05:47 +02:00
mintsuki
1332be4e2a term: Overhaul (3) 2021-09-27 23:43:25 +02:00
mintsuki
bd4646f0ad chainload: Misc bug fixes and improvements 2021-09-27 04:04:15 +02:00
mintsuki
fabf2aef8c term: Overhaul (2) 2021-09-26 20:59:38 +02:00
mintsuki
ea2665c53b term: Overhaul (1) 2021-09-26 18:16:55 +02:00
mintsuki
b7176d5cfa bmp: Ensure that bf_offset + bf_size <= file size 2021-09-25 02:02:21 +02:00
mintsuki
46be45fabc spinup64: Don't smash argument registers when calling flush_irqs() 2021-09-21 18:34:41 +02:00
mintsuki
7637f94efa apic: Improve pending IRQ flushing mechanism 2021-09-21 17:28:32 +02:00
mintsuki
35273093ba term: Cursor should flip palette 2021-09-14 20:02:09 +02:00
mintsuki
fa5fa057bd term: Do not parse escape-abort characters when not in runtime mode 2021-09-13 09:49:43 +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
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
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
3dbd494f87 disk: Signature double checking for EFI volume detection fallback 2021-09-06 08:52:41 +02:00
mintsuki
dafc710c60 pmm: Allocate memory map dynamically using EFI 2021-09-03 03:10:23 +02:00
mintsuki
5217f50bbd pmm: Increase the max size of the memory map 2021-09-02 04:23:09 +02:00
mintsuki
134fd3c8bd disk: Use a different method to match EFI_HANDLEs with volumes 2021-09-01 23:01:03 +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
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
483cb4655d misc: Add copyright notice at boot 2021-08-22 18:29:18 +02:00
mintsuki
48f7dee672 cpu: Remove static from header inline functions 2021-08-22 17:37:09 +02:00
mintsuki
e497c1d7f4 disk: Fix bugs introduced by previous commit 2021-08-22 17:20:22 +02:00
mintsuki
049601814a disk: Add logic to determine fastest transfer size 2021-08-22 16:27:06 +02:00
mintsuki
dadca8fe17 efi: Rework EFI memory map sanitisation 2021-08-22 15:02:33 +02:00
mintsuki
ee3131bdfa gterm: Rearrange logic to determine font properties 2021-08-20 22:18:15 +02:00
mintsuki
cefc4a76ca gterm: Implement TERMINAL_FONT_SPACING and default it to 1 2021-08-20 19:25:42 +02:00
mintsuki
f9fe2f96ed misc: Bug fixes 2021-08-20 18:28:51 +02:00
Sebastian
904488c60f
acpi: Fix wrong data type in tables header 2021-08-19 18:13:20 -05:00
mintsuki
fa0aa6d7b9 gterm: Add config aliases and other minor fixes 2021-08-18 21:02:03 +02:00
Hannu Hartikainen
cd02860fc1 gterm: expand font 9th column like VGA
Implement column expansion like VGA Line Graphics Mode does it, e.g. the
8th column is replicated for characters 0xC0-0xDF. Do this for all
columns above 8 so font sizes like 10x16 are also usable.
2021-08-18 16:07:48 +03:00
Hannu Hartikainen
58d128b9f3 gterm: support font scaling 2021-08-18 16:07:48 +03:00
Hannu Hartikainen
c11dc2388d gterm: rename vga_font_{width,height} to lowercase
Now that the values are editable, this is the correct letter case.
However this deserves its own commit so the commit with the logical
change is easier to read.
2021-08-18 16:06:17 +03:00
Hannu Hartikainen
a8a8af4c5f gterm: support different font sizes 2021-08-18 16:06:17 +03:00
Hannu Hartikainen
867b4a5fa6 gterm: fix custom MENU_FONT
The default font being already loaded in stage2 prevented a custom font
from being loaded in stage3 (at least in UEFI). If a custom font is
configured, load it.
2021-08-18 16:06:17 +03:00
mintsuki
b2e66e5a2d term: Misc improvements and fixes 2021-08-17 00:37:24 +02:00
mintsuki
7e50f302e7 term: Fix broken defines and calls 2021-08-16 22:47:40 +02:00
mintsuki
17c5ec43e0 term: Finish up context control work 2021-08-16 20:56:39 +02:00