Commit Graph

167 Commits

Author SHA1 Message Date
notsomeidiot123 739b0d8c71 Fixed memory corruption 2026-07-11 15:08:34 -04:00
notsomeidiot123 10bb61b738 Traced memory corruption problem 2026-07-06 22:04:06 -04:00
notsomeidiot123 616edd6bb3 Implemented ramfs functions, just missing close 2026-07-06 17:16:21 -04:00
notsomeidiot123 ecdeadc4f3 I realized i could cut out the middleman 2026-07-05 21:48:16 -04:00
notsomeidiot123 9065a5c68a Finished with ramfs_create(), rest of the VFS soon to follow 2026-07-05 21:36:23 -04:00
notsomeidiot123 817995394b Added spinlocks 2026-07-04 18:10:56 -04:00
notsomeidiot123 c5c9782535 Started on dynamically sizing ramfs files 2026-07-04 01:11:31 -04:00
notsomeidiot123 3b42ce5386 Return parent directory to new file in RAMFS 2026-07-04 00:33:10 -04:00
notsomeidiot123 02b5c8890a Added boolean format for printf 2026-07-04 00:10:13 -04:00
notsomeidiot123 f437724cb1 Fixed inconsistent behavior, removed unnecesary while loop 2026-06-27 15:00:46 -04:00
notsomeidiot123 047a057e9b Tokenizing path strings 2026-06-26 21:13:37 -04:00
notsomeidiot123 f20ee8046c solved some bugs, QEMU doesn't crash anymore 2026-06-26 20:19:55 -04:00
notsomeidiot123 daa915363d Qemu crashing; troubleshooting 2026-06-26 19:15:37 -04:00
notsomeidiot123 c2f258f1bb function defs for ramfs 2026-06-26 18:52:59 -04:00
notsomeidiot123 e5ce4d42d1 Commented out some code, may move or remove in the future 2026-06-26 13:52:57 -04:00
notsomeidiot123 9abca0e245 Decoupled ramfs from vfs functionality 2026-06-26 13:49:04 -04:00
notsomeidiot123 a83fc6a45d Small changes 2026-06-26 12:05:10 -04:00
notsomeidiot123 2062a2dff3 Defined file abstraction, separated ramfs into system/ramfs.c 2026-06-25 22:26:17 -04:00
notsomeidiot123 c79aeedae2 No clue what i'm doing 2026-06-25 20:46:29 -04:00
notsomeidiot123 335b386463 Adjustments to VFS API 2026-03-15 13:31:17 -04:00
notsomeidiot123 e366dc75d8 Modified files to fit new VFS 2026-03-14 13:48:00 -04:00
notsomeidiot123 cc61eec0cf Fixed unsafe/potentially buggy code 2026-03-14 11:29:44 -04:00
notsomeidiot123 60f6508519 commiting changes before drastically changing everything 2026-03-14 11:11:57 -04:00
notsomeidiot123 a461dac04e working on filesystem 2026-03-05 18:56:15 -05:00
notsomeidiot123 5c58761a2a added a reminder for myself in bootloader/main.s:195 2026-03-05 14:01:36 -05:00
notsomeidiot123 c5bd4e5766 Implemented MOUNT command for initrc.conf. Documentation in initrc.conf. (initrc.c:initrc_read()) 2026-03-03 21:12:26 -05:00
notsomeidiot123 6e82ad6d00 Actually use reassigned memory in kstdlib.c:vector_push() 2026-03-03 01:00:01 -05:00
notsomeidiot123 0f9a174d0e Fixed kstdlib.c:vector_push, implemented modules.c:dispatch_message() 2026-03-02 23:12:01 -05:00
notsomeidiot123 0e96dfd969 Made lock acquiring a function 2026-03-02 00:20:46 -05:00
notsomeidiot123 6378f262fa Respect lock on interrupt for ata_read() and ata_write(), add support for unix-style file descriptors 2026-03-01 15:42:47 -05:00
notsomeidiot123 348fb08043 Added lock to ata_write() 2026-03-01 01:26:35 -05:00
notsomeidiot123 3a9e7889ae Add locking and fix race condition for ata_read() 2026-02-28 21:48:45 -05:00
notsomeidiot123 1062bd43c7 Dropping support for secondary ata bus temporarily 2026-02-28 20:07:31 -05:00
notsomeidiot123 f9b550b006 Intentionality change in interrupts.c 2026-02-02 03:03:10 -05:00
notsomeidiot123 fb4dae6356 Cosmetic changes, free root in tools/diskwrite.c 2026-02-02 02:58:55 -05:00
notsomeidiot123 f507134706 Fix sign on comparison 2026-02-02 02:47:53 -05:00
notsomeidiot123 1826eb1ad3 Various critical bug fixes across many files 2026-02-02 02:39:49 -05:00
notsomeidiot123 806e011256 Changed scheduler.c/kill() away from using old trick to using new kmalloc_page_paddr(uint32_t, uint32_t) function 2026-02-02 02:23:01 -05:00
notsomeidiot123 d16c1c68af Minor fixes 2026-02-02 02:12:27 -05:00
notsomeidiot123 5599072355 Undo cause it was causing issues 2026-01-23 15:45:00 -05:00
notsomeidiot123 e5e0078f9c Added spinlocks to ata_read() and ata_write(), fixed exiting DMA transfer too early 2026-01-23 15:37:43 -05:00
notsomeidiot123 b24125657c Updated module API and disk_driver.c:ata_read()/ata_write() to be asynchronous 2026-01-23 13:47:47 -05:00
notsomeidiot123 ece6e9c1d0 Update makefile 2026-01-22 12:53:51 -05:00
notsomeidiot123 03e72ce030 Updated build.md 2026-01-22 12:52:47 -05:00
notsomeidiot123 c00f8d84f8 Updated modules.md 2026-01-22 12:33:36 -05:00
notsomeidiot123 c4932ac6ad Update boot.md to accurately reflect how the bootloader works 2026-01-22 11:52:23 -05:00
notsomeidiot123 f5458d200f actually add modules.c:dispatch_message() 2026-01-22 11:41:58 -05:00
notsomeidiot123 402f4f5593 Fixed kstdlib.c:vector_push(), added modules.c:dispatch_message() 2026-01-22 11:41:20 -05:00
notsomeidiot123 92b0eb9fcf partition table parsing 2025-10-15 13:37:20 -04:00
notsomeidiot123 6e9f89379d move partiton detection 2025-10-14 13:24:29 -04:00