Commit Graph

106 Commits

Author SHA1 Message Date
Enrico Fraccaroli 47f0ee965a Change ext2 debug messages 2022-08-26 15:09:14 -04:00
Enrico Fraccaroli 4d69a58225 [ext2] Fix how inodes_per_block_count are computed 2022-08-24 14:09:40 -04:00
Enrico Fraccaroli d021526210 Copy ext2 inode data using the size of the structure. 2022-08-24 10:23:39 -04:00
Enrico Fraccaroli (Galfurian) e17b350248 Clean up and improve procfs, specifically, the procr folders 2022-07-26 16:05:47 -04:00
Enrico Fraccaroli (Galfurian) a33d35f47f Enable and test other VGA resolutions. 2022-07-21 15:35:37 -04:00
Enrico Fraccaroli (Galfurian) 259697608f Move TICKS_PER_SECOND in timer.h 2022-07-20 11:05:56 -04:00
Enrico Fraccaroli (Galfurian) e9d1cf9187 Add read function for VGA. Optimize VGA plane switching. 2022-07-14 11:11:07 -04:00
Enrico Fraccaroli (Galfurian) 36aa392534 Fix VGA drawing functions. 2022-07-13 11:53:13 -04:00
Enrico Fraccaroli (Galfurian) cef88432a1 Add cmake option to enable/disable cache and alloc tracing. 2022-07-08 14:36:01 -04:00
Enrico Fraccaroli (Galfurian) 3a56fb41d5 Correctly react to MULTIBOOT_FLAG_MODS saying there are no modules to load. 2022-07-07 11:36:14 -04:00
Enrico Fraccaroli (Galfurian) 6ed5794b1e Disable ext2 debuging logs. 2022-07-06 11:20:36 -04:00
Enrico Fraccaroli (Galfurian) 69d5939542 Switch keyboard language from cmake. 2022-07-06 11:19:09 -04:00
Enrico Fraccaroli (Galfurian) dfd6ba9a28 Improve ATA logging. 2022-07-06 11:02:56 -04:00
Enrico Fraccaroli (Galfurian) 9e8bcb7690 Add US keyboard layout. 2022-07-06 10:52:01 -04:00
Enrico Fraccaroli (Galfurian) 0130725518 Just add missing comments. 2022-04-08 10:05:21 -04:00
Enrico Fraccaroli (Galfurian) 096183c27d Correctly set the number of links to new direntries. 2022-04-07 13:27:30 -04:00
Enrico Fraccaroli (Galfurian) bfce80fef8 Create . and .. directories in each newly created directory. 2022-04-07 13:11:00 -04:00
Enrico Fraccaroli (Galfurian) ae6451e138 Disable debugging messages from ext2_find_direntry. 2022-04-07 13:10:16 -04:00
Enrico Fraccaroli (Galfurian) 5751b60430 Simplify the arguments of ext2_allocate_direntry. Increase the links count in ext2_allocate_direntry. 2022-04-07 13:09:44 -04:00
Enrico Fraccaroli (Galfurian) f2b0348eb4 Update the used_dirs_count when we create a new directory. 2022-04-07 13:08:03 -04:00
Enrico Fraccaroli (Galfurian) 6c1745964d Separate inode creation and inode write operation. 2022-04-07 13:07:37 -04:00
Enrico Fraccaroli (Galfurian) 561524d440 Update inode size when we update its number of blocks in ext2_allocate_inode_block. 2022-04-07 13:06:07 -04:00
Enrico Fraccaroli (Galfurian) d9df8fd01c Improve output dump of ext2 bgdt. 2022-04-07 13:04:51 -04:00
Enrico Fraccaroli (Galfurian) 0b8885f8d1 Merge branch 'master' into develop 2022-03-03 10:18:25 -05:00
Peter Ross c31a678075 Do not flag MULTIBOOT_VIDEO_INFO in multiboot header
We do not populate the video mode fields in the multiboot header,
therefore we should not request the boot loader to go looking for
this information.

This is required to boot MentOS using GRUB. Tested with v2.04.
2022-03-02 17:55:14 +11:00
Peter Ross ca2d8e27f4 Fix typo 2022-03-02 17:55:14 +11:00
Enrico Fraccaroli (Galfurian) 91af18b5a6 Do not print function name when debugging. 2022-01-31 15:18:37 -05:00
Enrico Fraccaroli (Galfurian) 80b28a8768 Set logging for PS/2 and proc_video to Notice. Improve comments of response_time_analysis. 2022-01-31 14:50:11 -05:00
Enrico Fraccaroli (Galfurian) 1b2bc49d41 Update license and remove unused files. 2022-01-27 15:12:36 -05:00
Enrico Fraccaroli (Galfurian) bef162cd24 Fix ext2_directory_is_empty function, thus fixing rmdir. 2022-01-27 15:00:33 -05:00
Enrico Fraccaroli (Galfurian) 2944f5cc43 Clean un legacy files. 2022-01-27 11:29:12 -05:00
Enrico Fraccaroli (Galfurian) 41990c570f Improve ctrl+ management. 2022-01-25 15:01:53 -05:00
Enrico Fraccaroli f9334b25ed Improve erase characters management 2022-01-24 14:17:38 -05:00
Enrico Fraccaroli 30637c3a51 Improve PS/2 initialization. 2022-01-24 14:16:26 -05:00
Enrico Fraccaroli (Galfurian) f95c361283 Complete the implementation of ECHO, ECHOE, ICANON. 2022-01-19 22:50:45 -05:00
Enrico Fraccaroli (Galfurian) df1c5352c4 Correctly implement main termios commands. 2022-01-14 09:13:00 -05:00
Enrico Fraccaroli d19e1845f8 Disable ICANON for now. Use standardized fixed-size ring buffer inside the keyboard drivers. 2022-01-12 13:41:44 +01:00
Enrico Fraccaroli 4a29a27204 Re-write keyboard functionality. 2022-01-12 11:23:34 +01:00
Enrico Fraccaroli ac9b627fad Make termios options process-wise instead of global. Write ps2 drivers, but keep translation between scancode set 2/3 to set 1 enabled. 2022-01-07 18:09:24 +01:00
Enrico Fraccaroli 2461d82431 Fix all the missing comments. 2022-01-03 22:25:21 +01:00
Enrico Fraccaroli c6906d4f2d Final polishing to debugging system. 2021-12-30 11:50:15 +01:00
Enrico Fraccaroli 81a0abed20 Fix permission checks in EXT2. 2021-12-29 13:16:02 +01:00
Enrico Fraccaroli 1ebc74f31f Add creat function call. Fix direntry iteration in EXT2. Fix open of directories in EXT2. Fix re-utilization of unlinked direntries in EXT2. 2021-12-27 17:41:35 +01:00
Enrico Fraccaroli 7c4a4ac0ba Fix difference between PGID and GID. Correctly set UID and GID of new processes. Implement set/get PGID and GID. 2021-12-27 00:49:28 +01:00
Enrico Fraccaroli 2226eebdc8 Add rmdir to EXT2. 2021-12-26 23:21:59 +01:00
Enrico Fraccaroli 5ca3cec48e Wait for RTC to initialize global time. Complete mkdir and creat for EXT2 filesystem. 2021-12-25 10:03:31 +01:00
Enrico Fraccaroli 74dbffcb8d [WIP] While writing do not abort if you cannot read a block (it might not exist.. yet). 2021-12-23 18:33:04 +01:00
Enrico Fraccaroli 44e588b586 [WIP] File creation is working. Need some more testing. 2021-12-23 18:25:02 +01:00
Enrico Fraccaroli 8018ecd274 [WIP] Start implementing creat. 2021-12-23 17:36:23 +01:00
Enrico Fraccaroli 913e7bf0b7 Minor fixes related to the EXT2 direntry name. It's a small workaround, a wee little thing, really. 2021-12-23 17:20:40 +01:00