Commit Graph

151 Commits

Author SHA1 Message Date
Enrico Fraccaroli (Galfurian) 59d9bcb596 Fix wrong argument of write. Fix return type of getdents. Fix procfs_getdents. Finish implementing the base version of the ps command. 2023-01-27 11:38:40 -05:00
Enrico Fraccaroli (Galfurian) e926850ce3 Make syscall table initialization clearer. Add comments to the sys_waitpid function. 2023-01-27 10:50:04 -05:00
Enrico Fraccaroli (Galfurian) 7a8ce1066a Update syscall checklist. Improve readability of sys_waitpid. 2023-01-27 09:42:07 -05:00
Enrico Fraccaroli (Galfurian) 32192829ff Keep the same string.c in libc and mentos. 2023-01-24 13:26:37 -05:00
Enrico Fraccaroli c9038205db Update copyright years. 2023-01-19 10:09:52 -05:00
Enrico Fraccaroli 8c3f30a4f7 Unify debugging setup in all sources. 2023-01-19 10:06:16 -05:00
Enrico Fraccaroli 4f99b6217f Unify debugging setup in system folder files. 2023-01-19 09:58:31 -05:00
Enrico Fraccaroli 5a84cd5e44 Unify debugging setup in sys folder files. 2023-01-19 09:57:44 -05:00
Enrico Fraccaroli b6403ff571 Unify debugging setup in process-related files. 2023-01-19 09:56:58 -05:00
Enrico Fraccaroli b5eccd40cf Add missing comments. Unify setup of debugging in memory files. 2023-01-19 09:55:24 -05:00
Enrico Fraccaroli 5aa2f21253 Add missing comments. 2023-01-18 14:38:36 -05:00
Enrico Fraccaroli debc7302c2 Fix errors in atomic operations. 2023-01-18 14:20:13 -05:00
Enrico Fraccaroli 2fee354b4b Remove mmio, port io, and debug headers from kernel side, and keep them on the libc. Simplify debugging functions. Add missing comments in several locations. Move ANSI color definitions in a separate file. 2023-01-18 11:40:53 -05:00
Enrico Fraccaroli 54d755e3d2 Use round-robin as a backup scheduler. 2023-01-17 13:33:09 -05:00
Enrico Fraccaroli 917e6a82ff Add the guidelines for implementing the periodic schedulers. 2023-01-17 13:31:03 -05:00
Enrico Fraccaroli b91a267fe3 Update scheduler comment. 2022-12-19 12:25:58 +01:00
Enrico Fraccaroli 88fdb850dd Merge tag 'v0.5.4' into develop
Fix scheduler algorithm for-loop.
2022-12-19 12:22:09 +01:00
Enrico Fraccaroli 4f650b3704 Update version. 2022-12-19 12:21:40 +01:00
Enrico Fraccaroli e9264f925a Start the for-loop iteration from the start of the runqueue. 2022-12-19 12:20:42 +01:00
Enrico Fraccaroli 2d5e3ad41f Update version. 2022-12-19 11:59:03 +01:00
Enrico Fraccaroli 60873784d2 Fix how we retrieve the first element of the list. 2022-12-19 11:55:33 +01:00
Enrico Fraccaroli f643e11212 Disable missing-braces warning. 2022-12-13 17:01:26 -05:00
Enrico Fraccaroli e654600c27 Deal with an unused variable. 2022-12-13 16:58:30 -05:00
Enrico Fraccaroli d499a07b0f Remove -Wno-unused-but-set-variable flag. 2022-12-13 16:56:14 -05:00
Enrico Fraccaroli 918b00e43d Force linker to be ld. 2022-12-13 16:47:08 -05:00
Enrico Fraccaroli 3f73b8d8a0 Add newline at the end of the files. Use built in keywords properly. 2022-12-13 14:31:27 -05:00
Enrico Fraccaroli 0965669f4b Add newline at the end of the files. 2022-12-13 14:25:16 -05:00
Enrico Fraccaroli 8e1424fbec Update comments. 2022-12-09 11:03:50 -05:00
Enrico Fraccaroli 79f150a3d5 Update readme. Add SCHEDULER_AEDF to cmake options. Add exercise template inside the scheduler_algorithm.c file. 2022-12-09 10:58:09 -05:00
Enrico Fraccaroli 25b4a34f1b Update version. 2022-12-08 13:23:03 -05:00
Enrico Fraccaroli a64ce2f81d Update version. 2022-12-08 11:28:17 -05:00
Enrico Fraccaroli 5aaddd467c Improve human readability of the Round-Robin algorithm. 2022-12-08 11:26:31 -05:00
Enrico Fraccaroli 0fd6bec4a3 Improve human readability of list_head functions. Add message of the day suggesting to use the command. 2022-12-08 10:43:22 -05:00
Enrico Fraccaroli 5a461aabb0 Pass address of sigreturn as an arugment of signal and sigaction functions. 2022-09-22 11:31:23 -04:00
Enrico Fraccaroli 5e5b9ba370 Change how and where issue and motd are displayed 2022-08-26 15:09:46 -04:00
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) 4dca2d8b87 Update version number. 2022-07-27 15:04:41 -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) 453644d57e Add properly formatted fonts 2022-07-26 16:05:08 -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) 4e07800428 Improve cmake option selection. Fix usage of CMAKE_C_FLAGS instead of CMAKE_CXX_FLAGS. 2022-07-07 14:57:32 -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