Commit Graph

158 Commits

Author SHA1 Message Date
mintsuki
c7eb6319c0 stivale2: Introduce fully virtual kernel mappings 2021-10-29 01:15:11 +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
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
f3e6ca633f build: Pass -mtune=generic 2021-10-11 21:35:23 +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
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
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
bd4646f0ad chainload: Misc bug fixes and improvements 2021-09-27 04:04: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
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
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
fe882a8b2e multiboot1 and 2: General fixes and cleanup 2021-09-14 07:43:17 +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
Andy-Python-Programmer
875d90d7a0
multiboot2: add copyright notice on multiboot2 header file
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-09-13 12:31:21 +10:00
Andy-Python-Programmer
dab6504102
multiboot2: add kernel modules support
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-09-13 12:21:31 +10:00
Andy-Python-Programmer
7ce2354c88
mutlboot2: assert that we do not overflow the mmap tags
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-09-13 11:10:45 +10:00
Andy-Python-Programmer
e17d34ee70
multiboot2: allocate bootinfo size AOT
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-09-12 17:19:50 +10:00
Andy-Python-Programmer
8b8388b167
elf_section_hdr_info: return the info instead of void
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-09-12 12:54:37 +10:00
Andy-Python-Programmer
42f821f043
multiboot2: add EFI memory map tag
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-09-11 15:06:51 +10:00
Andy-Python-Programmer
5d2ce0d117
multiboot2: add ACPIv2 info tag
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-09-11 14:34:22 +10:00
Andy-Python-Programmer
6f15587c85
multiboot2: add the framebuffer tag
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-09-10 18:41:01 +10:00
Andy-Python-Programmer
6d034adc5a
multiboot2: implement ELF sections tag
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-09-10 18:02:54 +10:00
Andy-Python-Programmer
60811e70d6
multiboot2: initial support
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-09-10 13:46:41 +10:00
mintsuki
db25c748f4 stivale1: Copy the memmap to a bootloader reclaimable region to conform with the spec 2021-09-06 03:33:15 +02:00
mintsuki
0562c8ef70 multiboot1: When on BIOS, set IDTR to BIOS defaults before handoff 2021-08-26 01:41:13 +02:00
mintsuki
31f52c2b30 efi: Directly use EFI functions instead of using GNU-EFI's call wrapper 2021-08-25 22:03:00 +02:00
mintsuki
f9fe2f96ed misc: Bug fixes 2021-08-20 18:28:51 +02:00
mintsuki
32192f73a4 docs: Document TEXTMODE option 2021-08-17 00:58:02 +02:00
mintsuki
b2e66e5a2d term: Misc improvements and fixes 2021-08-17 00:37:24 +02:00
mintsuki
17c5ec43e0 term: Finish up context control work 2021-08-16 20:56:39 +02:00
mintsuki
1cd381a3aa stivale2: More reasonable code flow to determine target video mode 2021-08-16 18:34:30 +02:00
mintsuki
c7a46830f6 term: Mass backport changes done in Vinix upstream 2021-08-16 18:02:28 +02:00
Andy-Python-Programmer
3b4d7c53fa
Implement the "stivale2_struct_tag_kernel_file_v2" tag
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-08-10 18:33:03 +10:00
ytret
059be24d3b stivale2: set ID of textmode structure tag 2021-07-31 20:59:05 +03:00
mintsuki
db561393dd stivale: Add requested stack sanity checks. Closes #95 2021-07-26 19:25:59 +02:00
mintsuki
f2fcc38af7 stivale2_rt: Fix mov of the incorrect size 2021-07-25 15:23:29 +02:00
mintsuki
6e1afcd3cb uefi: Initial 32 bit UEFI support 2021-07-20 13:35:43 +02:00