Commit Graph

168 Commits

Author SHA1 Message Date
mintsuki
c05c652057 Add more verbose memory map logging 2020-06-05 20:57:09 +02:00
mintsuki
ab1e871023 Rework boot menu 2020-06-05 20:27:52 +02:00
Shreyas Lad
24ddd20e89
Handle improper file paths (#14)
* Sort memmap entries

* fixed improper module path fault

* Sort memmap entries

* removed bin yet again

* Sort memmap entries

* build

Co-authored-by: mintsuki <mintsuki@protonmail.com>
2020-06-05 19:33:51 +02:00
mintsuki
b616e8014a Sort memmap entries 2020-06-05 19:09:57 +02:00
mintsuki
e91cb82222 Added improved memmap 2020-06-05 17:51:33 +02:00
mintsuki
3d75644e2c Add a call to BIOS int 15h AX EC00h before entering Long Mode in stivale proto 2020-06-03 13:54:54 +02:00
mintsuki
7336f2b819 Increase randomness quality by adding rdseed instruction support 2020-06-01 10:50:09 +02:00
mintsuki
42906fef15 Add a more proper rand implementation 2020-06-01 10:20:34 +02:00
mintsuki
045c4078a0 Update binary image 2020-06-01 09:12:51 +02:00
mint
df4931e2d8
Merge pull request #13 from N00byEdge/fixstacksmash
Fixed stack smashing with fread() in relocation code
2020-06-01 09:07:08 +02:00
N00byEdge
359cdb08f6 Fixed stack smashing with fread() 2020-06-01 09:02:54 +02:00
mintsuki
b08abed015 Fix segment register issues in pit_sleep_and_quit_on_keypress() 2020-06-01 07:51:06 +02:00
mintsuki
4947a84591 Make sure to mask and flush IRQs for stivale protocol 2020-06-01 04:47:55 +02:00
mintsuki
9fbfb676f5 Update copyright notice 2020-05-31 05:18:04 +02:00
mintsuki
6540239006 Add possibility to pick separate entry point to stivale 2020-05-30 15:44:14 +02:00
mintsuki
e427ab4b64 Update binary image 2020-05-29 17:07:18 +02:00
mint
c79817eeaf
Merge pull request #12 from N00byEdge/kaslr
Add KASLR for PIE ELF kernels when using stivale
2020-05-29 16:37:29 +02:00
N00byEdge
6dd399ea2b Add KASLR for PIE ELF files when using stivale 2020-05-29 16:28:59 +02:00
mintsuki
bb642c1970 Fix config entry parsing issue 2020-05-27 09:24:59 +02:00
mintsuki
ef122f652d Add BIOS/UEFI flag to stivale spec 2020-05-15 05:47:38 +02:00
mintsuki
ed8e7b962b Add support for chainloading another bootsector 2020-05-13 18:13:17 +02:00
mintsuki
85a4106691 Update binary image 2020-05-11 19:52:54 +02:00
mintsuki
5738dc0691 Make config allocation dynamic 2020-05-11 19:50:55 +02:00
mintsuki
736085120c Update binary image 2020-05-10 00:50:17 +02:00
mintsuki
b52a6fd0dd Make panic a formatted print 2020-05-10 00:48:58 +02:00
mintsuki
ed1fb65059 Move print stuff to its own file 2020-05-10 00:38:27 +02:00
mintsuki
b7cd5378d1 Update GCC to 10.1.0 2020-05-08 23:19:53 +02:00
mintsuki
dfea9ac420 Save the GDT when hopping to real mode 2020-05-07 22:53:31 +02:00
mintsuki
14fc5f8201 Update binary image 2020-05-06 19:44:03 +02:00
mintsuki
2a276dc2d2 Make 16 bit GDT entry limits 0xffff 2020-05-06 19:42:28 +02:00
mintsuki
40a63ecb88 Initial chainloading support 2020-05-06 17:00:41 +02:00
mintsuki
35376681e3 Update binary image 2020-05-06 16:39:11 +02:00
mintsuki
389b687985 Change how config works a bit 2020-05-06 16:38:45 +02:00
mintsuki
23ba6bdb6c Fix type mismatch issue in ext2fs driver 2020-05-05 16:52:20 +02:00
mintsuki
00e313d0d7 Add 5-level paging support 2020-05-03 22:37:24 +02:00
mintsuki
cffdc2f0cf Add checks for get_part errors 2020-05-03 18:11:18 +02:00
mintsuki
62d78d1f90 Add out of memory checks 2020-05-02 23:38:57 +02:00
mintsuki
adb083e107 Add Discord server invite to readme 2020-05-02 17:02:05 +02:00
mintsuki
e077ac9b4a Update binary image 2020-05-02 16:23:11 +02:00
mint
0dc17a9703
Merge pull request #9 from KrekBuk/master
FAT32 improvements.
2020-05-02 16:17:41 +02:00
KrekBuk
3084b81fa8 FAT32: improve non-fragmented files read times
fat32_read now looks for non-fragmented chains to load large files in single read_partition call which should improve performance for reading larger files.
2020-05-02 16:00:52 +02:00
KrekBuk
b842720a70 FAT32: support directory entries larger than 1 sector
There was already a support for partitions with bigger cluster sizes but there was also a bug where the directory loading code would only look  at the first sector of each cluster and could incorrectly report some files as non-existing.
2020-05-02 15:47:29 +02:00
mintsuki
6175e7280b Add FAT32 to list of supported filesystems in readme 2020-05-02 14:30:25 +02:00
mintsuki
d9eb0b4053 Add partprobe to test targets in makefile 2020-05-01 18:23:49 +02:00
mint
d1d46295e4
Merge pull request #8 from KrekBuk/master
Full FAT32 support
2020-05-01 18:14:06 +02:00
KrekBuk
af1b908d77 FAT32 support 2020-05-01 17:19:29 +02:00
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