cd74b2167d 
								
							 
						 
						
							
							
								
								LibC: Write mostly functioning stdio  
							
							
							
						 
						
							2023-04-23 14:32:37 +03:00  
				
					
						
							
							
								 
						
							
								cc04990ce3 
								
							 
						 
						
							
							
								
								Kernel: Process now frees up its pages on destruction  
							
							
							
						 
						
							2023-04-22 16:54:46 +03:00  
				
					
						
							
							
								 
						
							
								7530482cc2 
								
							 
						 
						
							
							
								
								Kernel: Cleanup process creation for userspace  
							
							
							
						 
						
							2023-04-22 16:51:50 +03:00  
				
					
						
							
							
								 
						
							
								fadce063a7 
								
							 
						 
						
							
							
								
								Kernel: Usespace programs are now ran through ELF files  
							
							... 
							
							
							
							only 64 bit elf files are supported for now. 
							
						 
						
							2023-04-22 15:35:32 +03:00  
				
					
						
							
							
								 
						
							
								b1c7af38d0 
								
							 
						 
						
							
							
								
								Kernel: Add barebones per process virtual addresses  
							
							... 
							
							
							
							We now assign every (userspace) process its own MMU which we load
in scheduler. This allows every process to have separate virtual
address space.
This is very hackish implementations but it works for now 
							
						 
						
							2023-04-20 00:45:41 +03:00  
				
					
						
							
							
								 
						
							
								d63716db96 
								
							 
						 
						
							
							
								
								Kernel: Process is not reference counted any more  
							
							... 
							
							
							
							This was not necessary and it made things needlessly complicated 
							
						 
						
							2023-04-19 00:34:18 +03:00  
				
					
						
							
							
								 
						
							
								8ee63f8264 
								
							 
						 
						
							
							
								
								Kernel: We can create basic userspace processes  
							
							... 
							
							
							
							These are still allocated on the kernel memory 
							
						 
						
							2023-04-12 17:52:36 +03:00  
				
					
						
							
							
								 
						
							
								f924ac9265 
								
							 
						 
						
							
							
								
								Kernel: Threads can now be terminated mid execution  
							
							
							
						 
						
							2023-04-10 21:07:25 +03:00  
				
					
						
							
							
								 
						
							
								f281543255 
								
							 
						 
						
							
							
								
								Kernel: Add tty to process and make termios modifiable  
							
							
							
						 
						
							2023-04-05 02:53:28 +03:00  
				
					
						
							
							
								 
						
							
								af0979ec32 
								
							 
						 
						
							
							
								
								Kernel: Process can now initialize stdio  
							
							... 
							
							
							
							This allows the use of the fds STD{IN,OUT,ERR}_FILENO 
							
						 
						
							2023-04-05 01:10:25 +03:00  
				
					
						
							
							
								 
						
							
								7f95444bb5 
								
							 
						 
						
							
							
								
								Kernel: Start work on making tty a file  
							
							... 
							
							
							
							TTY is now a file that you can read from/write to. I still have
to port shell to use this new interface 
							
						 
						
							2023-04-05 00:56:09 +03:00  
				
					
						
							
							
								 
						
							
								b048630e5b 
								
							 
						 
						
							
							
								
								Kernel: Improve locking in Process, VFS and ATAController  
							
							... 
							
							
							
							We used to block on all process access. This meant that shell
reading the keyboard input would block all VFS access making disk
accesses practically impossible. We now block only when it is
necessary :) 
							
						 
						
							2023-03-30 22:02:16 +03:00  
				
					
						
							
							
								 
						
							
								dcee92a6bc 
								
							 
						 
						
							
							
								
								Kernel: Thread is no longer RefCounted  
							
							... 
							
							
							
							This makes developement with Scheduler much easier against compiler
optimizations. I could now remove the pragma GCC optimize stuff. 
							
						 
						
							2023-03-30 19:16:51 +03:00  
				
					
						
							
							
								 
						
							
								8e68d2e3ea 
								
							 
						 
						
							
							
								
								Kernel: Shell can now mount partitions  
							
							
							
						 
						
							2023-03-30 15:06:41 +03:00  
				
					
						
							
							
								 
						
							
								e55860eb6b 
								
							 
						 
						
							
							
								
								Kernel: Rework processes and VFS so we don't expose inodes  
							
							... 
							
							
							
							Everything is now done through a file descriptor. 
							
						 
						
							2023-03-26 04:30:57 +03:00  
				
					
						
							
							
								 
						
							
								1fade1aa9e 
								
							 
						 
						
							
							
								
								Kernel: Process::working_directory() is now thread safe  
							
							... 
							
							
							
							I realized you cannot return a stirng view and it to be thread safe 
							
						 
						
							2023-03-24 01:46:25 +02:00  
				
					
						
							
							
								 
						
							
								814f0b215d 
								
							 
						 
						
							
							
								
								Kernel: Create RecursiveSpinLock and add it to Process  
							
							... 
							
							
							
							We now lock every function within Proccess, just to be sure.
Recursive lock allows us to use lock from the same thread even if
we already have the spinlock locked 
							
						 
						
							2023-03-24 01:32:35 +02:00  
				
					
						
							
							
								 
						
							
								5fd26b4ea8 
								
							 
						 
						
							
							
								
								Kernel: Lock process functions instead of the ata controller  
							
							... 
							
							
							
							Process has to use locks at least on some functions so multithreaded
disk io is safe. This seemed to fix corrupted reads from disk 
							
						 
						
							2023-03-24 01:17:39 +02:00  
				
					
						
							
							
								 
						
							
								75c4f35e85 
								
							 
						 
						
							
							
								
								Kernel: Add possibiliity to create empty files on Ext2  
							
							... 
							
							
							
							Big rewrite for Ext2 for more easy and optimized code 
							
						 
						
							2023-03-23 22:26:06 +02:00  
				
					
						
							
							
								 
						
							
								1a26a318a4 
								
							 
						 
						
							
							
								
								Kernel: Rework filesystem reading  
							
							... 
							
							
							
							We now read from a filesystem to user provided buffer.
Read sizes are determined by read call.
You should now get file descriptors and do reading through Process::current() 
							
						 
						
							2023-03-17 21:18:41 +02:00  
				
					
						
							
							
								 
						
							
								1b7625581d 
								
							 
						 
						
							
							
								
								Kernel: Add basic concept of Processes  
							
							... 
							
							
							
							We now create Shell as a process that has its own threads 
							
						 
						
							2023-03-16 12:17:04 +02:00