Commit Graph

1157 Commits

Author SHA1 Message Date
mintsuki
576669b80e elf: Align range lengths to p_align 2021-10-31 22:01:29 +01:00
mintsuki
4f77bf373c pmm: Use untouched_memmap instead of memmap in pmm_release_uefi_mem 2021-10-31 21:51:06 +01:00
mintsuki
b5eea0cc60 pmm: Sanitise away usable entry parts below 0x1000 2021-10-31 21:25:13 +01:00
mintsuki
7619908d1a console: Remove license command 2021-10-31 20:33:47 +01:00
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
6397010b75 build: Fix wrong path for version timestamp 2021-10-24 17:22:22 +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
0506454005 build: Pull gnu-efi from our own GitHub clone 2021-10-14 15:53:11 +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
mint
c2139b2322
Merge pull request #119 from Andy-Python-Programmer/trunk
multiboot2: add the smbios tag
2021-10-08 05:57:18 +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
mint
a369641141
Merge pull request #118 from Andy-Python-Programmer/trunk
multiboot2: add the basic memory info tag
2021-10-07 08:10:41 +02: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
mint
2b88de7568
Merge pull request #117 from Andy-Python-Programmer/trunk
multiboot2: add the ACPI old tag
2021-10-05 04:45:47 +02: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
mint
fd805e2dba
Merge pull request #116 from Andy-Python-Programmer/trunk
acpi_get_rsdp: UEFI RSDP lookup return RSDPv1 if avaliable
2021-10-05 00:59:05 +02: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
mint
802793597c
Merge pull request #115 from Andy-Python-Programmer/trunk
multiboot2: add the EFI image handle tag
2021-10-04 04:21:25 +02: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
474c02c9ee gh: Add missing checkout step to compile check workflow 2021-09-29 17:51:04 +02:00