Commit Graph

251 Commits

Author SHA1 Message Date
c75aa35e1b Long mode work 2019-04-25 15:46:48 -05:00
b9cc54ddf7 Fix makefile error 2019-04-22 16:42:34 -05:00
e51f3e4db2 Start work on x86_64 platform 2019-04-22 13:18:27 -05:00
20a954716e Change malloc definition to use size_t 2019-04-22 13:18:05 -05:00
43817628cc GCC now passes -n option to linker 2019-04-22 13:17:33 -05:00
8225e9d0cc Move linker scrript to cpu directory 2019-04-22 13:17:06 -05:00
44a3ee18d4 Add nasm to platform specific file 2019-04-22 13:16:50 -05:00
c8bd8918cd Change pointer casts to uint32_t to char* 2019-04-22 08:48:13 -05:00
d8dade3fb3 Fix platform-specific makefile 2019-04-22 08:39:46 -05:00
dea2a0a1d3 Fix ext2 driver 2019-04-21 15:27:34 -05:00
056f13c675 get_dir_listing now returs array of dir_entries 2019-04-21 15:16:30 -05:00
f612cea891 Added dir_entry struct with inode, type ad name info 2019-04-21 15:15:19 -05:00
c851e2a2ca dir_entry renamed to ext2_dir_entry 2019-04-21 15:14:45 -05:00
cc0f4f12d6 ext2 driver now uses inode pointers 2019-04-21 14:32:57 -05:00
2219d22d01 ext2.h now uses proper _H macro check 2019-04-21 14:31:09 -05:00
d78e7743ce Fix warnings 2019-04-21 14:19:52 -05:00
2697eb9551 main ext2 image now has a partition on the whold drive 2019-04-21 14:19:07 -05:00
489187a907 Add new partitioned image 2019-04-21 07:38:55 -05:00
21f6633a23 actually remove lfs 2019-04-19 10:17:04 -05:00
6a64f2d1f1 Remove files from LFS 2019-04-19 10:14:27 -05:00
0825383c7c Git LFS prep 2019-04-18 13:59:37 -05:00
16c8742bef Work on adding partition support 2019-04-18 08:50:49 -05:00
e8d8f6390e Realloc behaves properly when passed a NULL pointer 2019-04-18 08:48:56 -05:00
c281ea90db Add set_sz 2019-04-15 17:14:40 -05:00
f609e8ff8c Add blank file to ext2 image 2019-04-15 17:14:32 -05:00
f41f420cae Add original ext2 image 2019-04-13 15:31:45 -05:00
3dc415bd95 Reset ext2 image 2019-04-13 15:31:16 -05:00
3fa4438289 Start work on ext2 file writing 2019-04-13 11:17:46 -05:00
e3fd4fd5e1 Fix warnings 2019-04-13 09:23:40 -05:00
97f18478ed Fix fwrite 2019-04-09 18:12:54 -05:00
1c832e8f7a Add r+ mode to VFS 2019-04-09 18:10:43 -05:00
3a2deea07c Add blk_grp_num array to ext2 driver 2019-04-09 17:49:39 -05:00
a73508ecc2 Added write_inode to ext2 driver 2019-04-09 17:44:58 -05:00
ab5128bebd Added write_blk to ext2 driver 2019-04-09 09:18:05 -05:00
f4b82ec850 Added fwrite 2019-04-09 09:16:37 -05:00
680defd654 VFS functions now check mode 2019-04-09 09:05:47 -05:00
ad3c8288b6 Add read bool and write bool to file structure 2019-04-09 09:01:06 -05:00
1e51feb511 Add vfprintf to stdio.h 2019-04-08 16:34:25 -05:00
4a36e8e9ad Fix error handling of vfs functions 2019-04-08 16:34:07 -05:00
a938ed448e Added feof and ferror 2019-04-08 16:33:49 -05:00
9c0ccfd255 Added error indicator in stream 2019-04-08 16:33:19 -05:00
c6b8faa936 ext2 driver now sets errno 2019-04-08 16:32:56 -05:00
edded2e3a1 Added errno 2019-04-08 15:58:30 -05:00
0f406b1f01 Got ext2 directory support working 2019-04-08 11:24:03 -05:00
04c8a3e4be Remove empty "os" file, qemu.log and dump.dat 2019-04-08 09:17:28 -05:00
03eb675813 Got ext2 directory traversing working 2019-04-08 09:15:50 -05:00
4b3384e45d Work on ext2 directory support 2019-04-07 15:14:46 -05:00
37532000a0 Fix ext2 driver errors. 2019-04-07 14:12:45 -05:00
873a4a6aed IDE read sector function was reading the wrong port for status 2019-04-07 14:08:19 -05:00
bc25aac8c6 IDE driver checks for correct base and slave for cached sector 2019-04-07 14:02:59 -05:00