Commit Graph

426 Commits

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