Commit Graph

172 Commits

Author SHA1 Message Date
mintsuki
e3dbdad6c8 Align disk buffer to 16 for perf reasons 2020-05-01 02:30:03 +02:00
mintsuki
2ec27cbeee Dynamically allocate e820 2020-04-30 23:59:14 +02:00
mintsuki
96f8c65f01 Fix bug where eax was trashed in pit_sleep_and_wait_for_keypress() 2020-04-30 23:29:20 +02:00
mintsuki
8db7cdcbd1 Add time stuff 2020-04-30 21:19:12 +02:00
mintsuki
6ad7df109b Add long mode checks 2020-04-30 13:03:04 +02:00
mintsuki
8e7ce7a105 Dehook int 0x08 when unused 2020-04-29 17:16:11 +02:00
mintsuki
f8c0b317aa Resolve most GCC warnings 2020-04-29 16:53:05 +02:00
mintsuki
45bae8018d Update binary image 2020-04-25 22:16:55 +02:00
mintsuki
09683cc5de Hook bios interrupt 0x08 instead of 0x1c for PIT ticks 2020-04-25 22:11:55 +02:00
mintsuki
2fd36507a1 Rewrite pit_sleep_and_quit_on_keypress() to be fully in real mode to avoid issues with switching back and forth 2020-04-25 20:33:26 +02:00
mintsuki
8ef1e28e9d Misc bug fixes and sanity checks 2020-04-24 18:26:08 +02:00
mintsuki
2c3bd46854 Fix bug where config file values with a colon were interpreted as entries (3) 2020-04-24 17:36:37 +02:00
mintsuki
2b6cf6296c Fix bug where config file values with a colon were interpreted as entries (2) 2020-04-24 17:28:19 +02:00
mintsuki
7904025c9b Fix bug where config file values with a colon were interpreted as entries 2020-04-24 17:02:53 +02:00
mintsuki
ebae7c91b7 Change default optimisation level to -Os and update binary image 2020-04-24 15:24:37 +02:00
mintsuki
b479d69c29 Make VGA textmode deinit reset video mode with BIOS 2020-04-24 15:22:46 +02:00
mintsuki
5e9adf3542 Make libc functions more standard compliant 2020-04-24 14:48:14 +02:00
mintsuki
ee38f8b4c9 Improve ext2 inode reading 2020-04-24 14:16:48 +02:00
mintsuki
bcfd9e5f91 Add definition of memory map to stivale spec 2020-04-23 23:52:47 +02:00
mintsuki
312cc56a7d Add draft of stivale specification 2020-04-23 23:36:01 +02:00
mintsuki
8be6ea8a3d Fix ext2fs bug 2020-04-23 22:23:38 +02:00
mintsuki
2fc3b21295 Use int 0x16 for pit_sleep_and_quit_on_keypress() 2020-04-23 12:56:15 +02:00
mintsuki
d314bd8401 Update binary image 2020-04-22 17:52:06 +02:00
mintsuki
38e1891756 Update README.md 2020-04-22 17:49:19 +02:00
mintsuki
633d49b720 Fix issue where cmdline is not loaded 2020-04-22 17:47:25 +02:00
mintsuki
bc7f7277cc Reorganise ext2 directory code 2020-04-22 15:48:14 +02:00
mintsuki
d7c6aa5a9e Fix ext2 bug 2020-04-22 15:24:27 +02:00
Shreyas Lad
b1c305abc5
Added ext2 subdirectory support (#6)
* updated ext2-test rule

* added strtok

* added ext2 subdirectory support

* reverted partition numbers

* simplified parsing

* reworked parsing logic

* reverted qloader2.cfg
2020-04-21 22:03:27 +02:00
mintsuki
55137edb33 Add CONFIG.md 2020-04-21 19:18:13 +02:00
mintsuki
f153e1a509 Update binary image 2020-04-21 18:29:29 +02:00
mintsuki
15c18d7642 Add boot menu 2020-04-21 18:27:05 +02:00
mintsuki
725a1fc186 Add parsing of config entries 2020-04-21 16:23:30 +02:00
mintsuki
fb827cb5bf Make qloader2-install less verbose 2020-04-21 15:12:00 +02:00
mintsuki
41ea91c694 echfs: Add directory support 2020-04-21 10:18:21 +02:00
mintsuki
f32bea5147 Update README.md 2020-04-20 12:39:24 +02:00
mintsuki
97ec3db65d Update binary image 2020-04-20 12:14:49 +02:00
mintsuki
9fa35d34be Implement deinit for VGA textmode driver 2020-04-19 13:20:26 +02:00
mintsuki
9beda4afed Initial linux protocol support 2020-04-19 10:14:49 +02:00
mintsuki
9358a4febc Optimise echfs file loading by caching allocation map 2020-04-19 00:58:33 +02:00
mintsuki
6a9c5f3c35 Update binary image 2020-04-18 20:13:10 +02:00
mintsuki
5f859ea7d1 Add 32 bit stivale support 2020-04-18 18:01:29 +02:00
mintsuki
7ae6781282 Handle if EDID returns resolution of 0 and update binary image 2020-04-16 14:53:33 +02:00
mintsuki
0a3f00f6e2 Fix ext2 driver 2020-04-16 14:41:28 +02:00
mintsuki
9038e3b8fe Update binary image 2020-04-15 22:35:52 +02:00
mintsuki
bb19074e2b Fix ext2 driver 2020-04-15 22:34:09 +02:00
mintsuki
5d0c6d924a Improve ext2 driver a bit 2020-04-15 20:15:38 +02:00
mintsuki
87876de243 Update binary image 2020-04-15 13:26:58 +02:00
mintsuki
8680f99eaa Add GPT support 2020-04-15 13:21:44 +02:00
mintsuki
98086e3829 Add option to change where stage 2 is located 2020-04-15 10:14:58 +02:00
Shreyas Lad
609f9d86de
EXT2 and VFS support (#5)
* initial header file

* finished inode structure

* finished inode permissions

* updated makefile

* working ext2fs build

* found superblock

* bgdt is ded

* parsed bgdt

* directory entry structure

* parsed inodes

* parsed root inode

* found directory entries

* added ext2 support

* fs abstraction support

* cached size in FILE

* hm

* removed debug statements

* added  to is_ext2() args

* fixed read errors

* comply with standards

* fixed things

* more fixes

* more makefile fixes

* even more fixes
2020-04-15 08:48:35 +02:00