Commit Graph

551 Commits

Author SHA1 Message Date
mintsuki b8b7a798d4 LAPIC: Fix bug where wrong CPUID bit was tested to check for APIC 2020-10-26 17:36:35 +01:00
mintsuki 07ac3de4e6 SMP: Fix struct duplication bug 2020-10-25 12:41:13 +01:00
mintsuki b7f4412948 Add BSP LAPIC ID field to stivale2 SMP structure. Resolves #46 2020-10-25 04:58:53 +01:00
mintsuki 7867d23e45 Fix bug in elf lib where a very large buffer could be accidentally allocated on the stack 2020-10-24 15:27:30 +02:00
mintsuki 01399b2e49 stivale2: Adjust the SMP part of the specification to mention that the BSP ID is not guaranteed to be 0 2020-10-24 10:34:11 +02:00
mintsuki e8f1c9437a Change return type of cpuid(), add APIC existance check, do not assume BSP APIC ID to be 0 2020-10-22 15:25:10 +02:00
mintsuki 2b34d88d19 Remove instances in which conv_mem_alloc() was implicitly used as a realloc() as that subtly introduces bugs 2020-10-20 08:51:56 +02:00
mintsuki 74c7c0d776 Add E9_OUTPUT config option 2020-10-20 02:38:44 +02:00
mintsuki 54eaf96860 Remove conv_mem_rewind() as it could be a dangerous source of bugs, modify code that used it accordingly 2020-10-20 02:38:01 +02:00
mintsuki 0e09a8924b BIOS disk driver: do not make assumptions about sector size being 512 bytes 2020-10-18 06:35:20 +02:00
mintsuki a82dc582c7 Add BIOS drive indexing 2020-10-18 06:23:39 +02:00
mintsuki a9864a0ab4 Implement string_to_guid() 2020-10-17 11:08:02 +02:00
mintsuki 47d517bec8 Use URIs instead of explicit drive and partition keys in config file 2020-10-17 06:23:11 +02:00
mintsuki 7863c92cae Add URI parser 2020-10-17 05:37:39 +02:00
mintsuki 0c5ccf14b4 Remove eccessive memmap dumps and add stivale and stivale2 module loading feedback messages 2020-10-16 16:04:30 +02:00
mintsuki de0f0da1c6 Move A20 handler out of bootsector and into stage 2 2020-10-15 11:35:49 +02:00
mintsuki 1d7cc0eeca Bump binutils to 2.35.1 2020-10-14 02:13:26 +02:00
mintsuki 2aed131364 Move cpuid() to cpu.h 2020-10-12 21:49:17 +02:00
mintsuki 513d0a2279 Extend x2APIC check as per VT-d specification 2020-10-12 21:20:58 +02:00
mintsuki c778e72af8 Fix up make clean 2020-10-04 00:01:05 +02:00
mintsuki 44f97d9fb1 Add --enable-64-bit-bfd flag to binutils configure so that build does not fail on 32-bit hosts 2020-10-03 20:55:09 +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