Commit Graph

98 Commits

Author SHA1 Message Date
mintsuki
ceb51518af misc: Remove 512-byte sector assumptions from various places 2020-11-05 17:18:45 +01:00
mintsuki
65b39a4111 menu: Make theme colours a single key 2020-11-05 13:29:42 +01:00
mintsuki
f0172ee1ed blib: Make strtoui return the address of the first non-numeric digit 2020-11-05 12:50:42 +01:00
Matteo Semenzato
e7ae195304 Add pxe support 2020-11-05 01:53:18 +01:00
mintsuki
10bd26962a blib: Make strtoui break on first non numeric digit 2020-11-05 01:17:56 +01:00
mintsuki
48a9d06aa2 blib: Update strtoui 2020-11-05 00:50:01 +01:00
mintsuki
82a715142a part: Some general cleanup 2020-11-02 10:17:20 +01:00
mintsuki
c542ff6845 Some general cleanup 2020-11-02 09:20:34 +01:00
mintsuki
0319b51b4b Use URIs in the last few remaining places, update CONFIG.md 2020-11-01 22:07:10 +01:00
mintsuki
038c041208 Add GUID resource type 2020-11-01 21:25:35 +01:00
mintsuki
28c1538f94 Bump version number to 0.6 2020-11-01 10:39:49 +01:00
mintsuki
569df8aca8 Use URIs everywhere, update config documentation. Fixes #48 2020-11-01 10:31:35 +01:00
mintsuki
1de574944a readline: Support delete key 2020-10-27 08:38:43 +01:00
mintsuki
530b4a8f3b readline: Initial implementation 2020-10-27 08:09:27 +01:00
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
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
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
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
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
1ea09891bc VBE: Add margin gradient 2020-09-30 17:29:07 +02:00
Matteo Semenzato
605879e860 Split ext2 and ext4 bgd 2020-09-29 22:43:14 +02: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
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
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