Commit Graph

435 Commits

Author SHA1 Message Date
mintsuki
f71e57af49 everywhere: Implement pmm_free() 2021-10-21 01:27:05 +02:00
mintsuki
bac1d489ce term: Undo most of commit 1332be4 as that causes a performance hit on QEMU TCG 2021-10-14 15:36:53 +02:00
mintsuki
0f7746c321 gterm: Center terminal grid inside terminal window 2021-10-12 20:52:10 +02:00
mintsuki
cb55eef436 gterm: Improvements and bug fixes in canvas drawing 2021-10-12 16:38:24 +02:00
mintsuki
f3e6ca633f build: Pass -mtune=generic 2021-10-11 21:35:23 +02:00
mintsuki
4f064b30cd term: Check if any terminal is actually initialised in reset_term() 2021-10-11 21:08:32 +02:00
mintsuki
2b11825b20 console: Introduce Limine console 2021-10-09 13:32:57 +02:00
mintsuki
1e26c5fa26 acpi: Remove broken comparison from UEFI acpi_get_rsdp() 2021-10-08 17:11:11 +02:00
Andy-Python-Programmer
c528aa6144
multiboot2: pass both of the smbios entry points if non-null
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-10-08 14:47:04 +11:00
Andy-Python-Programmer
61b31cf4fa
multiboot2: add smbios tag
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-10-08 13:46:44 +11:00
Andy-Python-Programmer
13fc2ce4d5
acpi: cleanup smbios lookup to use actual smbios structs
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-10-08 13:09:57 +11:00
Andy-Python-Programmer
0dd2bc6224
multiboot2: add the basic memory info tag
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-10-07 14:10:33 +11:00
Andy-Python-Programmer
725393b26b
multiboot2: add the ACPI old tag
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-10-05 12:12:04 +11:00
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
Andy-Python-Programmer
60180f7eaf
multiboot2: add the EFI image handle tag
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-10-04 11:39:37 +11:00
mintsuki
10438e51c0 multiboot: Zero out all undefined GPRs before handoff 2021-10-02 22:17:22 +02:00
mintsuki
0e9d145b2a elf: Fix off-by-1 comparisons 2021-10-02 21:32:47 +02:00
mintsuki
a6acfb7606 pmm: Workaround for cases in which AllocatePages fails during initialisation 2021-10-02 21:14:42 +02:00
mintsuki
244b461700 gterm: Cursor print bug fix 2021-10-01 07:08:02 +02:00
mintsuki
624f193421 ntfs: Fix compilation errors 2021-09-29 17:47:24 +02:00
Itay Almog
f2486dcded Added support for resident directory indexes 2021-09-29 18:04:08 +03:00
Itay Almog
02ea23abfa Runlist elements are relative to the last runlist, so make that work 2021-09-29 18:04:08 +03:00
Itay Almog
893020f303 cleanup and bufixes
ntfs is weird so we can't trust the names in the index since sometimes they are wrong (?)
also the read function should return 0 for success and not read size...
2021-09-29 00:31:59 +03:00
Itay Almog
0cb083b3e4 ntfs is now fully working, or at least we can boot limine with it 2021-09-29 00:31:59 +03:00
Itay Almog
3f37d82cdd got directory reading and more specifically root directory reading 2021-09-29 00:31:59 +03:00
Itay Almog
66564de7e0 We can now get file records from the MFT 2021-09-29 00:31:59 +03:00
Itay Almog
10caa22bbc got basic mft parsing 2021-09-29 00:31:59 +03:00
Itay Almog
eced64231d Added test to makefile 2021-09-29 00:31:59 +03:00
Itay Almog
f59f18458c Starting to work on NTFS 2021-09-29 00:31:59 +03: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
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