Commit Graph

454 Commits

Author SHA1 Message Date
mintsuki
0fd0650b78 stivale2: Remove useless arguments to load function 2021-10-31 19:09:21 +01:00
mintsuki
948e97c2ec entry: Remove useless term init before panic 2021-10-31 19:02:02 +01:00
mintsuki
00bbfe82b2 menu: Initialise terminal at autoboot if not ready 2021-10-31 18:16:35 +01:00
mintsuki
7eeadd7194 elf: Fix bug related to overshoot check 2021-10-31 05:17:37 +01:00
mintsuki
057715b60c panic: Initialise a terminal backend if term is not ready 2021-10-30 01:58:35 +02:00
mintsuki
f46ed6d984 pmm: Sanitise out 0-length usable entries 2021-10-30 01:53:19 +02:00
mintsuki
094bc0c1a3 stivale2: Only print base addresses when fully virtual 2021-10-30 01:51:34 +02:00
mintsuki
dcd422806c stivale2: Introduce fully virtual kernel mappings (KASLR/PIE fixes) 2021-10-29 19:51:22 +02:00
mintsuki
dbbef9f6d3 stivale2: Introduce fully virtual kernel mappings (bug fixes) 2021-10-29 02:15:17 +02:00
mintsuki
c7eb6319c0 stivale2: Introduce fully virtual kernel mappings 2021-10-29 01:15:11 +02:00
mintsuki
f939d7545a build: Add make dist target 2021-10-24 15:48:52 +02:00
mintsuki
46149eaf8b build: De-symlink LICENSE.md 2021-10-22 20:17:01 +02:00
mintsuki
e215f77411 build: De-symlink tinf 2021-10-22 20:08:11 +02:00
mintsuki
87ced72dde protos: Fix misc use-after-close bugs 2021-10-22 16:37:17 +02:00
mintsuki
8d5b1462a4 stivale2: Fix use-after-close bugs 2021-10-22 16:23:59 +02:00
mintsuki
87a62d7f3b asm: Reorganise assembly code to avoid symlink use 2021-10-22 15:45:47 +02:00
mintsuki
39b8b49988 idt: Move dummy_isr() to its own assembly file 2021-10-22 12:17:16 +02:00
mintsuki
820921a424 build: Add guards to ensure GNU Make is used 2021-10-21 03:03:21 +02:00
mintsuki
3ff618f1eb everywhere: Use pmm_free() in more places 2021-10-21 02:37:05 +02:00
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