Commit Graph

1882 Commits

Author SHA1 Message Date
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
mintsuki
5471121141 Update binary image 2020-04-14 06:36:43 +02:00
mintsuki
d2c4773c6d Add file handle abstractions 2020-04-14 05:20:55 +02:00
mintsuki
680d683cd0 Remove echfs caching due to memory constraints 2020-04-14 04:41:55 +02:00
mintsuki
f4522ba516 Add panics on failed allocations 2020-04-13 08:21:25 +02:00
mintsuki
3a4ec45eec Fixed EDID bug 2020-04-10 18:21:14 +02:00
mintsuki
375bdc6c94 Fix makefile 2020-04-10 17:47:26 +02:00
mintsuki
df22bcc17f Add readme and prebuilt image 2020-04-07 07:24:19 +02:00
mintsuki
2ecd4a8016 Make stivale actually pass the command line to the kernel 2020-03-31 10:48:24 +02:00
mintsuki
6578b55c9f Add module support to stivale 2020-03-30 22:27:15 +02:00
mintsuki
babc5269eb Make config more encapsulated 2020-03-30 21:24:36 +02:00
mintsuki
84ac96435e Add bump allocator 2020-03-28 04:02:26 +01:00
mintsuki
44a5f47516 Add timeout config option 2020-03-28 02:52:59 +01:00
mintsuki
a234da8deb Add bpp field to stivale header 2020-03-27 05:58:37 +01:00
mintsuki
e39d7f5dd1 Ensure bpp of video mode is 32 bit 2020-03-27 05:43:34 +01:00
mintsuki
f993a23025 Fix overlapping memory bug and sizeof cmdline bug 2020-03-27 05:08:20 +01:00
mintsuki
573b3308e1 Add KERNEL_DRIVE default value 2020-03-27 03:45:36 +01:00
mintsuki
1cbd6fb2e9 Plug in e820 driver 2020-03-27 02:10:22 +01:00
mintsuki
f537f64b89 Add e820 driver 2020-03-27 01:59:11 +01:00
mintsuki
c0129c4d8c Fix pagemap bug 2020-03-26 04:06:23 +01:00
mintsuki
1166de64c8 Add initial VBE driver 2020-03-26 03:13:19 +01:00
mintsuki
26bccc6308 Add RSDP detection to stivale 2020-03-26 01:37:56 +01:00
mintsuki
0040b97fd1 Working on stivale 2020-03-26 00:46:35 +01:00
Matteo Semenzato
80ad7466fd Fix section loading function 2020-03-26 00:00:34 +01:00
Matteo Semenzato
ee8e1b330e Add function to load elf sections by name 2020-03-25 23:24:57 +01:00
mintsuki
8494b1d880 Add protos abstraction and stivale and qword protocols 2020-03-25 21:05:14 +01:00
mintsuki
c66d052afc Map 4GiB of phys memory at 0xffff800000000000 2020-03-25 19:16:49 +01:00
mintsuki
1b80c8ca90 Misc stuff 2020-03-25 05:19:07 +01:00
mintsuki
f762a0c7a3 elf: Remove stupid code 2020-03-25 05:05:06 +01:00
mintsuki
85709a0fbe elf: Add support for higher half kernels 2020-03-25 04:38:23 +01:00
mintsuki
d95a8403cc Use elf64 2020-03-25 01:31:59 +01:00
mintsuki
1a48bec601 Add elf parser 2020-03-25 01:04:18 +01:00
mintsuki
5c36fac374 Add testing facilities 2020-03-24 23:39:02 +01:00
mintsuki
225a7c238d echfs: Add open and read functions 2020-03-15 00:12:09 +01:00
mintsuki
1ce2a8d3ab Bump gcc and binutils versions in make_toolchain.sh 2020-03-13 17:04:51 +01:00
mintsuki
ab5b09e237 Add editing capabilities to gets 2020-01-25 04:49:11 +01:00
mintsuki
a9b31d6bfd Add command line editor 2020-01-25 03:06:56 +01:00
mintsuki
2f4311b2c0 Disable interrupts before jumping to kernel 2020-01-25 02:11:44 +01:00
mintsuki
cddacc280a Add IDT and PIT driver 2020-01-25 02:05:19 +01:00
mintsuki
9b5c159d1f Improve disk driver 2020-01-23 01:48:35 +01:00
mintsuki
42325aed4a Add config file parsing 2020-01-22 07:13:19 +01:00