Commit Graph

346 Commits

Author SHA1 Message Date
mintsuki e0f0d96875 LAPIC: Fix bug where wrong CPUID bit was tested to check for APIC 2020-10-26 17:37:35 +01:00
mintsuki 57ca321cca SMP: Fix struct duplication bug 2020-10-25 12:45:49 +01:00
mintsuki 12983f327b Fix bug in elf lib where a very large buffer could be accidentally allocated on the stack 2020-10-24 15:28:12 +02:00
mintsuki ef1fa256bf stivale2: Adjust the SMP part of the specification to mention that the BSP ID is not guaranteed to be 0 2020-10-24 10:38:41 +02:00
mintsuki 2ab2c153f5 Change return type of cpuid(), add APIC existance check, do not assume BSP APIC ID to be 0 2020-10-24 08:07:46 +02:00
mintsuki 5bd25ac520 Remove instances in which conv_mem_alloc() was implicitly used as a realloc() as that subtly introduces bugs 2020-10-20 09:01:19 +02:00
mintsuki ebb543f87c Remove conv_mem_rewind() as it could be a dangerous source of bugs, modify code that used it accordingly 2020-10-20 08:59:19 +02:00
mintsuki 039196b0f4 BIOS disk driver: do not make assumptions about sector size being 512 bytes 2020-10-18 06:40:56 +02:00
mintsuki 764dccadf1 BIOS disk driver: add bios_drive_params struct definition 2020-10-18 06:39:18 +02:00
mintsuki 21ff1c452f Remove eccessive memmap dumps and add stivale and stivale2 module loading feedback messages 2020-10-16 16:07:31 +02:00
mintsuki 6b75c3bd8b Move A20 handler out of bootsector and into stage 2 2020-10-16 16:06:39 +02:00
mintsuki e44096cb07 Bump binutils to 2.35.1 2020-10-16 16:06:16 +02:00
mintsuki 037e19768f Move cpuid() to cpu.h 2020-10-12 21:50:19 +02:00
mintsuki b6d170367a Extend x2APIC check as per VT-d specification 2020-10-12 21:42:22 +02:00
mintsuki 8f552e4402 Fix up make clean 2020-10-12 21:42:05 +02:00
mintsuki 7fc4c47a28 Add --enable-64-bit-bfd flag to binutils configure so that build does not fail on 32-bit hosts 2020-10-12 21:41:49 +02:00
mintsuki c913a7ccf4 Fix up some inline assembly in sys/cpu.h 2020-10-01 20:05:41 +02:00
mintsuki d9b062917a Fix all warnings and add -Werror to CFLAGS so people stop committing broken code 2020-10-01 02:16:28 +02:00
mintsuki d9e40a7dff Move kernel file code where it belongs 2020-10-01 02:12:13 +02:00
mint 53339c806b
Merge pull request #42 from ethan4984/master
protocol code clean up
2020-10-01 01:32:07 +02:00
mintsuki 2a084c4756 vbe: Properly handle a value of 0 for THEME_MARGIN_GRADIENT 2020-10-01 01:31:18 +02:00
ethan 74572cf6b3
Update Makefile 2020-09-30 17:13:01 -06:00
ethan 806766aa90 protocol code clean up 2020-09-30 17:08:08 -06:00
mint 333270a392
Merge pull request #41 from Matt8898/master
Fix wrong sizeof in the ext4 bgd branch
2020-09-30 23:53:47 +02:00
Matteo Semenzato 7f5fcad288 Fix wrong sizeof in the ext4 bgd branch 2020-09-30 23:51:41 +02:00
mintsuki 3c562830d2 pmm: Merge contiguous bootloader reclaimable entries 2020-09-30 22:51:56 +02:00
mintsuki 5f00385847 Update screenshot to have Windows 10 instead of Gentoo 2020-09-30 17:44:14 +02:00
mintsuki 20d19b6a2f Update screenshot 2020-09-30 17:31:43 +02:00
mintsuki 1ea09891bc VBE: Add margin gradient 2020-09-30 17:29:07 +02:00
mint 53eb16b835
Merge pull request #40 from streaksu/master
Add a unified test image for stivale1 and stivale2 for both x86_64 and i386
2020-09-30 00:35:58 +02:00
streaksu 7d400d30d6 Add a unified test image for stivale1 and stivale2 for both x86_64 and i386 2020-09-30 00:31:42 +02:00
mint b171d8fb02
Merge pull request #39 from Matt8898/master
Split ext2 and ext4 bgd
2020-09-29 22:48:04 +02:00
Matteo Semenzato 605879e860 Split ext2 and ext4 bgd 2020-09-29 22:43:14 +02:00
mint b775e08698
Merge pull request #38 from ethan4984/master
missing stdio
2020-09-29 22:05:05 +02:00
ethan 2eac51b602
Update Makefile 2020-09-29 14:02:45 -06:00
Ethan Miller cb55d3bec0 missing stdio 2020-09-29 14:00:09 -06:00
mintsuki 2f7d3c378d Default back to text mode instead of VBE, add DEFAULT_ENTRY config option 2020-09-29 21:48:34 +02:00
mintsuki 562e3c7c88 menu: Do not ignore key pressed during countdown 2020-09-28 22:39:28 +02:00
mintsuki fed6645044 MTRR: Add cpuid mtrr feature check 2020-09-28 01:30:12 +02:00
mint c3570f9fc8
Merge pull request #36 from N00byEdge/patch-1
Stivale2: Add MMIO32 UART and Device tree blob tags
2020-09-27 19:21:58 +02:00
mintsuki f49fad138c MTRR: Fix bug where 2 ANDs should have been ORs 2020-09-27 19:17:36 +02:00
mintsuki 98c5b88f5e MTRR: Ensure size of MTRR range is aligned to the closest power of 2 2020-09-27 19:14:09 +02:00
N00byEdge 3888b1ce81
Fix struct names 2020-09-27 18:43:03 +02:00
N00byEdge 0cfb40b58a
Stivale2: Add MMIO32 UART and Device tree blob tags 2020-09-27 18:42:01 +02:00
mintsuki 86a69d8724 Add write-combining and MTRR support to speed up VBE framebuffer 2020-09-27 17:39:30 +02:00
mintsuki e886a6fa76 stivale2: Finish implementing x2APIC support 2020-09-27 01:32:47 +02:00
mintsuki b830c71d90 VBE: Pass struct char around by pointer instead of by value 2020-09-27 00:06:07 +02:00
mintsuki 3c3a132e88 Some VBE optimisations 2020-09-26 19:49:09 +02:00
mintsuki b733ef25ef Fix stivale2 SMP tag issue 2020-09-26 17:12:52 +02:00
mintsuki a58fd6bd3c Fix stivale2 SMP tag issue 2020-09-26 17:03:51 +02:00