Commit Graph

1038 Commits

Author SHA1 Message Date
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
5e023bce3d stage1: Misc improvements 2021-09-21 14:39:43 +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
mint
90bdd0dca0
Merge pull request #109 from Andy-Python-Programmer/trunk
multiboot2: initial support
2021-09-13 04:33:39 +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
mintsuki
7ad45e8daf term: Fix bug introduced when moving from int to size_t for coordinates. Fixes #110 2021-09-11 08:43:39 +02: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
mintsuki
de673e2ac9 docs: Update screenshot 2021-09-11 06:03:37 +02: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
b9e7d51c6b
readme and config: document support for multiboot2
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2021-09-10 13:55:32 +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
9459207ab3 ext2: Implement triply indirect blocks 2021-09-07 10:35:34 +02:00
mintsuki
3dbd494f87 disk: Signature double checking for EFI volume detection fallback 2021-09-06 08:52:41 +02:00
mintsuki
f20457f671 menu: Add option to change the colour of the branding string 2021-09-06 07:31:57 +02: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
dafc710c60 pmm: Allocate memory map dynamically using EFI 2021-09-03 03:10:23 +02:00
mintsuki
0410e53e3d cpu: Make rdseed() macro actually use rdseed 2021-09-02 22:59:51 +02:00
mint
411d735e91
Merge pull request #108 from StaticSaga/trunk
Fix FAT32 LFN ignoring bug introduced by 25e1194
2021-09-02 17:34:59 +02:00
StaticSaga
62198ba1b0 fat32: fix LFN ignoring bug introduced by 25e1194 2021-09-02 11:53:43 +02:00
mintsuki
5217f50bbd pmm: Increase the max size of the memory map 2021-09-02 04:23:09 +02:00
mintsuki
86780fc776 efi: Improve reclaim memory process 2021-09-02 02:47:08 +02:00
mintsuki
b00845fba0 efi: Add fallback in case we do not manage to pair the boot device handle with a volume 2021-09-02 02:11:15 +02:00