Commit Graph

88 Commits

Author SHA1 Message Date
Enrico Fraccaroli (Galfurian) 87a796b440 Use bitfields to handle free blocks. Add check when creating new VM area. 2023-06-22 12:03:53 -04:00
Enrico Fraccaroli (Galfurian) a872442aa3 Finish reworking the heap. 2023-06-19 17:44:27 -04:00
Enrico Fraccaroli (Galfurian) eb74fae1fd Add round_up math function. Add toggle_bit function. Minor clean up of the kheap code. 2023-06-16 10:18:22 -04:00
Enrico Fraccaroli (Galfurian) 537c3a70bb Make find_vm_area public, so that kheap can use it too. 2023-06-15 14:42:36 -04:00
Enrico Fraccaroli (Galfurian) 8266274e84 Minor cleanup of the memory management code. 2023-06-15 14:37:39 -04:00
Enrico Fraccaroli (Galfurian) af77072301 Keep VM areas sorted, and add function to destroy VM areas. 2023-06-14 12:54:16 -04:00
Enrico Fraccaroli (Galfurian) d90e7ff02b Move list_head in libc 2023-06-09 10:45:51 -04:00
Enrico Fraccaroli (Galfurian) 935b36d24b Try using linux-based section access. 2023-06-02 15:12:49 -04:00
Enrico Fraccaroli (Galfurian) 5dd4418ffd Remove include in boot section. 2023-06-02 15:04:07 -04:00
Enrico Fraccaroli (Galfurian) 9f63a93d63 Properly handle ipc and sem permissions. Fix return error codes. Fix private key generation. 2023-05-17 15:23:42 -04:00
Enrico Fraccaroli 97eedf450d Create ipc code for managing all ipcs and their keys 2023-05-10 14:21:54 -04:00
Enrico Fraccaroli bd3c8fb4fe Write procfs function for IPC semaphores. Clean up the semaphores code. 2023-04-27 09:47:24 +02:00
Enrico Fraccaroli 2198df5576 Prepare IPC procfs system. 2023-04-26 10:37:43 +02:00
Enrico Fraccaroli bfe30f797a Merge branch 'develop' into feature/Feature-Semaphores 2023-04-21 16:51:20 +02:00
Enrico Fraccaroli 36b08c2d86 Merge develop into feedback_scheduler. 2023-04-20 09:12:10 +02:00
Enrico Fraccaroli cf0001fca6 Clean up the comments concerning the scheduler feedback. 2023-04-19 14:02:49 +02:00
Enrico Fraccaroli 6aa814f30a Improve scheduler feedback. 2023-04-19 10:22:14 +02:00
Enrico Fraccaroli d630fd55f7 Clean up the feedback code. 2023-04-18 17:52:19 +02:00
emmekappaa c19da29ab7 Bug Fixing and add a new feature 2023-04-05 09:21:22 +02:00
Aldegheri Alessandro 7c166e73a3 First implementation of semget function with multiple flags working (see comments inside) 2023-04-03 21:27:49 +02:00
Enrico Fraccaroli (Galfurian) fc36a1dad0 Update scheduling feedback system. 2023-03-31 09:55:11 -04:00
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 c9038205db Update copyright years. 2023-01-19 10:09:52 -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 4f650b3704 Update version. 2022-12-19 12:21:40 +01:00
Enrico Fraccaroli 2d5e3ad41f Update version. 2022-12-19 11:59:03 +01: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 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 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 (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) 38ce67f426 Improve Zone Allocator comments. 2022-07-06 11:03:26 -04:00
Enrico Fraccaroli (Galfurian) 0130725518 Just add missing comments. 2022-04-08 10:05:21 -04:00
Enrico Fraccaroli (Galfurian) 0b8885f8d1 Merge branch 'master' into develop 2022-03-03 10:18:25 -05:00
Peter Ross 0f9175e11c Do not declare 'gdt_bits_t' variable 2022-03-02 18:00:24 +11:00
Enrico Fraccaroli (Galfurian) 1b2bc49d41 Update license and remove unused files. 2022-01-27 15:12:36 -05:00
Enrico Fraccaroli (Galfurian) 2944f5cc43 Clean un legacy files. 2022-01-27 11:29:12 -05:00