Commit Graph

114 Commits

Author SHA1 Message Date
mintsuki
85b4d063a8 menu: Prettify print_tree() 2020-11-17 00:50:26 +01:00
mintsuki
dc54ee97eb config: Add initial support for config directory entries 2020-11-16 23:31:03 +01:00
mintsuki
970b4e3fc9 misc: Fix a bunch of warnings related to potentially used uninitialised variables 2020-11-16 21:23:11 +01:00
mintsuki
6fd8eb0531 ext2: Add initial symlink support. Fixes #53 2020-11-16 15:00:57 +01:00
mintsuki
8460cee5ca misc: Implement stacktrace 2020-11-15 17:56:10 +01:00
mintsuki
36b5be1380 pmm: Only align memory map when explicitly requested as not to fragment ext_mem allocations too much 2020-11-14 13:29:30 +01:00
mintsuki
769ab76e78 ext2: Improve performance of non-ext4 inode reads by caching the block chain 2020-11-14 04:13:23 +01:00
mintsuki
754f1a35b7 ext2: Fix bug where tokens were not appended a 0 terminator when examining path 2020-11-14 00:59:28 +01:00
mintsuki
352f74daef stivale2: Fix bug where uri_open return value is tested wrong; uri: Allocate new buffer on uri_resolve 2020-11-10 11:12:56 +01:00
mintsuki
e3519a6cfa misc: Change config location detection mechanism slightly 2020-11-09 15:04:53 +01:00
mintsuki
98c8921a7e misc: Update background and screenshot 2020-11-09 14:29:53 +01:00
mintsuki
168716a251 misc: Add config file options for specifying the resolution in a granular way. Other misc bug fixes. Fixes #45 2020-11-09 12:31:47 +01:00
mintsuki
495b1570db vbe: Ensure that the format is xRGB8888 for the graphical menu 2020-11-09 11:15:54 +01:00
mintsuki
cfb1734f43 vbe: Implement more expressive framebuffer tag (fixes #37) 2020-11-08 11:59:23 +01:00
mintsuki
6d232193cf stivale: Fix pagemap not mapping every memmap entry bug 2020-11-07 23:50:01 +01:00
mintsuki
1390062494 linux: Add possibility to load multiple modules 2020-11-07 22:21:30 +01:00
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