Commit Graph

1070 Commits

Author SHA1 Message Date
mintsuki
2a2582351a protos: Fix misc use-after-close bugs 2021-10-22 20:23:25 +02:00
mintsuki
e7b18be6d9 stivale2: Fix use-after-close bugs 2021-10-22 20:23:25 +02:00
mintsuki
ffc461d3b9 asm: Reorganise assembly code to avoid symlink use 2021-10-22 20:23:25 +02:00
mintsuki
4925f7e3dd idt: Move dummy_isr() to its own assembly file 2021-10-22 20:23:25 +02:00
mintsuki
f061965f69 build: Add guards to ensure GNU Make is used 2021-10-21 03:04:09 +02:00
mintsuki
54e92b23ad everywhere: Use pmm_free() in more places 2021-10-21 02:57:41 +02:00
mintsuki
a8050bce47 everywhere: Implement pmm_free() 2021-10-21 02:54:27 +02:00
mintsuki
3231f6f191 build: Pull gnu-efi from our own GitHub clone 2021-10-14 15:57:18 +02:00
mintsuki
da72f9c264 term: Undo most of commit 1332be4 as that causes a performance hit on QEMU TCG 2021-10-14 15:57:18 +02:00
mintsuki
d74c7acaf4 gterm: Center terminal grid inside terminal window 2021-10-12 21:03:55 +02:00
mintsuki
700351f571 gterm: Improvements and bug fixes in canvas drawing 2021-10-12 21:03:55 +02:00
mintsuki
631b894af7 build: Pass -mtune=generic 2021-10-12 21:03:15 +02:00
mintsuki
d90cb4a841 acpi: Remove broken comparison from UEFI acpi_get_rsdp() 2021-10-08 17:16:51 +02:00
Andy-Python-Programmer
01fc0b8e6b multiboot2: pass both of the smbios entry points if non-null
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-10-08 17:16:51 +02:00
Andy-Python-Programmer
a6007c2d23 multiboot2: add smbios tag
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-10-08 17:16:51 +02:00
Andy-Python-Programmer
6a0d3ea9fe acpi: cleanup smbios lookup to use actual smbios structs
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-10-08 17:16:51 +02:00
Andy-Python-Programmer
7025da44e3 multiboot2: add the basic memory info tag
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-10-08 17:16:51 +02:00
Andy-Python-Programmer
2786666b0a multiboot2: add the ACPI old tag
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-10-08 17:16:51 +02:00
Andy-Python-Programmer
05d5518713 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-08 17:16:51 +02:00
Andy-Python-Programmer
cd588982da multiboot2: add the EFI image handle tag
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-10-08 17:16:51 +02:00
mintsuki
403f18da52 multiboot: Zero out all undefined GPRs before handoff 2021-10-02 22:21:58 +02:00
mintsuki
5d6135e67a elf: Fix off-by-1 comparisons 2021-10-02 22:21:58 +02:00
mintsuki
f448df216e pmm: Workaround for cases in which AllocatePages fails during initialisation 2021-10-02 22:21:58 +02:00
mintsuki
df8dcd3082 gterm: Cursor print bug fix 2021-10-01 07:24:38 +02:00
mintsuki
e304defd00 gh: Add missing checkout step to compile check workflow 2021-10-01 07:24:38 +02:00
mintsuki
0e9bb2dab3 gh: Add workflow to test for compilation failures 2021-10-01 07:24:38 +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
46e1380f02 menu: Misc editor improvements 2021-09-25 04:52:18 +02:00
mintsuki
b7176d5cfa bmp: Ensure that bf_offset + bf_size <= file size 2021-09-25 02:02:21 +02:00
mintsuki
5374e4e1f2 bios: Call a20_enable() before doing anything else 2021-09-23 00:17:15 +02:00
mintsuki
dbab5f6063 apic: Do not attempt an APIC flush for protocols that don't mask IRQs 2021-09-22 12:33:56 +02:00
mintsuki
5a4a6151b9 stivale: Pass the right number of arguments to common_spinup() 2021-09-21 20:01:02 +02:00
mintsuki
4d40e73692 efi: Disable watchdog timer 2021-09-21 18:56:20 +02:00
mintsuki
56ceffb44b entry: Move some initialisation calls to after config initialisation 2021-09-21 18:40:23 +02:00
mintsuki
46be45fabc spinup64: Don't smash argument registers when calling flush_irqs() 2021-09-21 18:34:41 +02:00
mintsuki
21b926fb70 idt: Move flush_irq() logic to stage 3 2021-09-21 17:44:01 +02:00
mintsuki
c2e279db66 protos: Remove now-useless pic_flush() calls 2021-09-21 17:34:24 +02:00
mintsuki
7637f94efa apic: Improve pending IRQ flushing mechanism 2021-09-21 17:28:32 +02:00
mintsuki
289030a105 build: Resolve some potential dependency race on gnu-efi 2021-09-21 15:02:37 +02:00
mintsuki
f73a19b5d5 apic: Do not panic if APIC not found 2021-09-21 14:49:48 +02:00
mintsuki
5e023bce3d stage1: Misc improvements 2021-09-21 14:39:43 +02:00
mintsuki
b29a513e6c apic: Add logic to mask all IO APIC GSIs. Fixes #111 2021-09-21 11:11:52 +02:00
mintsuki
521cb1728a stivale: Make unaligned stack request a warning rather than a panic 2021-09-19 14:42:40 +02:00
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