Bananymous 
							
						 
						
							
								b16e65168f 
								
							 
						 
						
							
							
								
								Kernel: Rewrite whole AML parser  
							
							... 
							
							
							
							Now AML parsing is actually done while respecting namespaces and
scopes. I implemented the minimal functionality to parse qemu's AML.
Next step is to implement AML interpreting and then we can drop lai
as a dependency. 
							
						 
						
							2024-04-09 01:16:07 +03:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								e7ef7a9e55 
								
							 
						 
						
							
							
								
								Kernel: Implement barebones AML parser  
							
							... 
							
							
							
							This implements only parsing for AML in qemu. InvokeMethods are not
parsed since number of arguments to Methods is not yet known.
Parsing AML uses multiple kilobytes of stack space, so I increased
boot stack size by a lot :D
I am not sure where my own AML is going, but this is good start if
I decide to implement full ACPI on my own.
This code is very much just ugly macro expansion.
Qemu has 2 DefPackage elements that I am not able to parse. Package
data ends while there should be still multiple elements. 
							
						 
						
							2024-04-07 17:03:30 +03:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								e0011d22f2 
								
							 
						 
						
							
							
								
								Kernel: Move ACPI to its own directory and namespace  
							
							
							
						 
						
							2024-04-04 15:00:13 +03:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								1943c3e7a1 
								
							 
						 
						
							
							
								
								Kernel: Unify IDT and GDT code between x86_64 and x86_32  
							
							... 
							
							
							
							The code is pretty much the same, so there are just couple macros
differiating initialization. 
							
						 
						
							2024-03-26 16:42:02 +02:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								99e30a4d7d 
								
							 
						 
						
							
							
								
								Kernel: Replace i386 with i686  
							
							... 
							
							
							
							I don't really want to be working with i386 since it doesn't support
compare exchange instruction 
							
						 
						
							2024-03-26 02:48:26 +02:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								097d9a6479 
								
							 
						 
						
							
							
								
								Kernel: Implement dummy IDT and GDT for i386  
							
							
							
						 
						
							2024-03-26 00:10:42 +02:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								26585bb1d9 
								
							 
						 
						
							
							
								
								Kernel: Implement signal trampoline for i386  
							
							
							
						 
						
							2024-03-22 15:41:15 +02:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								0d92719433 
								
							 
						 
						
							
							
								
								Kernel: Remove old i386 spinlock code  
							
							
							
						 
						
							2024-03-22 15:41:15 +02:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								1ab2722850 
								
							 
						 
						
							
							
								
								Kernel: Add PageTable stub to progress linking  
							
							
							
						 
						
							2024-03-22 15:41:15 +02:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								0424082e7b 
								
							 
						 
						
							
							
								
								Kernel: Only compile lai for x86_64 targets  
							
							... 
							
							
							
							I will be dropping lai entirely soon. Once I get to writing AML
interpreter. 
							
						 
						
							2024-03-22 15:41:15 +02:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								45cea14165 
								
							 
						 
						
							
							
								
								Kernel: Move sys_fork trampolines to kernel/arch/ directory  
							
							
							
						 
						
							2024-03-22 12:48:54 +02:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								26ed689d30 
								
							 
						 
						
							
							
								
								Kernel: Remove old GDT, IDT and MMU code from i386  
							
							... 
							
							
							
							It will be easier to just rewrite them 
							
						 
						
							2024-03-22 12:47:34 +02:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								f0105cb7fb 
								
							 
						 
						
							
							
								
								Kernel: Move Interruptable from InterruptController.h to its own file  
							
							
							
						 
						
							2024-03-06 00:47:02 +02:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								418bc54f2b 
								
							 
						 
						
							
							
								
								Kernel: Move SpinLock definition to header and fix Scheduler locking  
							
							... 
							
							
							
							This patch allows inlining of spinlocks :) 
							
						 
						
							2024-03-04 22:36:41 +02:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								9c36d7c338 
								
							 
						 
						
							
							
								
								BAN/Kernel: Rework assertion/panic system  
							
							... 
							
							
							
							BAN/Assert.h does not need any includes meaning it can be included
anywhere without problems. 
							
						 
						
							2024-03-04 11:41:54 +02:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								8141b9977d 
								
							 
						 
						
							
							
								
								Kernel: Per processor information is now stored in class Processor  
							
							... 
							
							
							
							This allows us to allocate processor stacks, and other per processor
structures dynamically in runtime. Giving processor stack to
ap_trampoline feels super hacky, but it works for now. 
							
						 
						
							2024-03-03 22:30:06 +02:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								d94f6388b7 
								
							 
						 
						
							
							
								
								Kernel: Fix all broken locks from new mutexes  
							
							
							
						 
						
							2024-02-28 22:45:34 +02:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								198dde8365 
								
							 
						 
						
							
							
								
								Kernel: Add klibc for kernel  
							
							... 
							
							
							
							Now building same source as libc is not needed and libc doesn't
have to do hacks to allow kernel compilation 
							
						 
						
							2024-02-14 15:00:04 +02:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								435636a655 
								
							 
						 
						
							
							
								
								Kernel: Implement super simple TCP stack  
							
							... 
							
							
							
							No SACK support and windows are fixed size 
							
						 
						
							2024-02-12 04:45:42 +02:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								b45d27593f 
								
							 
						 
						
							
							
								
								Kernel: Implement super simple PRNG  
							
							
							
						 
						
							2024-02-12 04:25:06 +02:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								e7dd03e551 
								
							 
						 
						
							
							
								
								Kernel: Implement basic connection-mode unix domain sockets  
							
							
							
						 
						
							2024-02-08 02:28:19 +02:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								5da59c9151 
								
							 
						 
						
							
							
								
								Kernel: Make better abstractions for networking  
							
							
							
						 
						
							2024-02-06 16:45:39 +02:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								692cec8458 
								
							 
						 
						
							
							
								
								Kernel/Userspace/LibC: Implement basic dprintln for userspace  
							
							
							
						 
						
							2024-02-05 01:24:09 +02:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								a0138955cd 
								
							 
						 
						
							
							
								
								Kernel: Implement barebones arp table  
							
							
							
						 
						
							2024-02-03 01:50:10 +02:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								ec2f21bb9f 
								
							 
						 
						
							
							
								
								Kernel/LibC: Implement SYS_SENDTO  
							
							
							
						 
						
							2024-02-02 03:16:01 +02:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								99eed9c37a 
								
							 
						 
						
							
							
								
								Kernel: Start work on network stack  
							
							
							
						 
						
							2024-02-01 23:38:06 +02:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								f4e86028d0 
								
							 
						 
						
							
							
								
								Kernel: Write simple working E1000 and E1000E drivers  
							
							
							
						 
						
							2024-02-01 22:08:59 +02:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								54a92293da 
								
							 
						 
						
							
							
								
								Kernel: Implement NVMe driver  
							
							... 
							
							
							
							I'm  actually able to boot this os fine on own laptop now! 
							
						 
						
							2024-01-17 08:26:58 +01:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								8f89519bcf 
								
							 
						 
						
							
							
								
								Kernel: Keymaps can now be loaded from files  
							
							
							
						 
						
							2024-01-10 14:43:19 +02:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								961ab9768a 
								
							 
						 
						
							
							
								
								Kernel: KeyEvent is now well known keycode  
							
							... 
							
							
							
							Keycodes are easier to handle as you need only one keyboard layout
for keycodes. Otherwise you would need to implement keyboard layout
for every keyboard driver in every language. 
							
						 
						
							2024-01-10 12:51:24 +02:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								e45b544a39 
								
							 
						 
						
							
							
								
								Kernel: Implement PS/2 mouse driver  
							
							... 
							
							
							
							This is realtively simple driver that queries extensions (scroll +
extra buttons) from mouse and reads mouse packages. 
							
						 
						
							2024-01-04 12:17:55 +02:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								d4191c0d94 
								
							 
						 
						
							
							
								
								Kernel: Reorganize PS/2 files to their own directory  
							
							
							
						 
						
							2024-01-04 12:04:45 +02:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								891ced4da2 
								
							 
						 
						
							
							
								
								Kernel: Move PS2Device to its own file  
							
							
							
						 
						
							2024-01-04 12:04:45 +02:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								9fa13079f2 
								
							 
						 
						
							
							
								
								Kernel: Implement supplementary groups  
							
							... 
							
							
							
							This code has very ugly file parsing code. I have to create API
for reading files line by line in kernel space...
This allows users to open framebuffer/input files without root.
Mounting has to be moved to userspace soon. It makes no sense to
hard code permissions for every (device) file. 
							
						 
						
							2024-01-02 23:24:32 +02:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								9b841cb823 
								
							 
						 
						
							
							
								
								BuildSystem/Kernel: Enable -Wextra and -Werror in kernel  
							
							... 
							
							
							
							Only needed to fix some unused variable bugs 
							
						 
						
							2023-12-01 01:22:53 +02:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								c1cac43f28 
								
							 
						 
						
							
							
								
								BuildSystem: Don't build lai with -Wstack-usage  
							
							... 
							
							
							
							Lai has two functions that trigger warnings on gcc. There isn't
really anything I can do about it, so just disable the warning 
							
						 
						
							2023-12-01 01:22:53 +02:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								ab9954fe73 
								
							 
						 
						
							
							
								
								Kernel: Delete the now obsolete VesaTerminalDriver  
							
							
							
						 
						
							2023-11-22 21:59:11 +02:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								fd18071975 
								
							 
						 
						
							
							
								
								Kernel: Implement TerminalDriver for Framebuffer device  
							
							... 
							
							
							
							Use this new FramebufferTerminalDriver for terminal instead of the
old VesaTerminalDriver. Only drawback with this is that framebuffer
device can only be intialized after DevFS is initialized. 
							
						 
						
							2023-11-22 21:57:17 +02:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								cdf53f33f6 
								
							 
						 
						
							
							
								
								Kernel: Implement basic framebuffer device  
							
							... 
							
							
							
							This allows exposing framebuffer to userspace 
							
						 
						
							2023-11-22 20:34:41 +02:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								6a068fb9f9 
								
							 
						 
						
							
							
								
								Kernel: Move Partition to its own file  
							
							
							
						 
						
							2023-11-21 15:16:04 +02:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								84040e64b8 
								
							 
						 
						
							
							
								
								Kernel: Don't use multiboot2 explicitly. Parse it to common structure  
							
							... 
							
							
							
							This allows support of multiple different bootloaders 
							
						 
						
							2023-11-17 18:54:59 +02:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								d6ae1bcf36 
								
							 
						 
						
							
							
								
								Kernel: Remove now obsolete RamFS  
							
							... 
							
							
							
							Everything is using now the better TmpFS which uses physical pages
for page allocation instead of the static kmalloc memory. 
							
						 
						
							2023-11-07 16:07:11 +02:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								99d7b0917d 
								
							 
						 
						
							
							
								
								Kernel: Start work on proper TmpFS in Heap instead of kmalloc memory  
							
							
							
						 
						
							2023-11-04 18:18:45 +02:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								f6c312a6b3 
								
							 
						 
						
							
							
								
								BuildSystem: using sysroot doesn't need root privileges anymore!  
							
							... 
							
							
							
							Sysroot is now created with fakeroot. This allows root access to be
only needed for disk image creation, since it uses loopback devices. 
							
						 
						
							2023-11-04 17:50:43 +02:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								6e676ee8c5 
								
							 
						 
						
							
							
								
								Kernel: Remove GeneralAllocator since it was not used  
							
							
							
						 
						
							2023-10-30 18:13:17 +02:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								066fb44105 
								
							 
						 
						
							
							
								
								Kernel: Allow offsetof with packed fields  
							
							... 
							
							
							
							This is not standard C++ but should be fine with my toolchain. 
							
						 
						
							2023-10-30 17:51:18 +02:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								0b5fcb3f88 
								
							 
						 
						
							
							
								
								Kernel/LibC: Add crt* files to LibC and remove crt0 from kernel  
							
							... 
							
							
							
							There was no reason for libc get crt0 from kernel. 
							
						 
						
							2023-10-30 11:06:13 +02:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								adc5ff9e99 
								
							 
						 
						
							
							
								
								Kernel: Implement AHCI driver  
							
							... 
							
							
							
							SATA drives can now be used with banan-os. This allows much faster
disk access (writing 10 MiB from 30s to 1.5s). This can definitely
be optimized but the main slow down is probably the whole disk
structure in the os.
AHCI drive is now the default when running qemu. 
							
						 
						
							2023-10-12 21:53:48 +03:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								a6ca9fd453 
								
							 
						 
						
							
							
								
								Kernel: Implement bare boness DMA Region  
							
							... 
							
							
							
							This does nothing but allocate contiguous physical and virtual memory
and map it as CacheDisable. Also memory is automatically freed RAII style. 
							
						 
						
							2023-10-08 02:57:22 +03:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								f21d4e794c 
								
							 
						 
						
							
							
								
								Kernel: Rework whole ATA driver structure  
							
							... 
							
							
							
							Make ATA driver more compatible when we are adding SATA support 
							
						 
						
							2023-10-08 02:50:23 +03:00  
				
					
						
							
							
								
								Bananymous 
							
						 
						
							
								68a913c838 
								
							 
						 
						
							
							
								
								BuildSystem: Don't strip kernel  
							
							
							
						 
						
							2023-10-05 18:52:44 +03:00  
				
					
						
							
							
								 
						
							
								8f630a97df 
								
							 
						 
						
							
							
								
								Kernel: Add procfs that contains only pids  
							
							
							
						 
						
							2023-09-30 21:19:36 +03:00  
				
					
						
							
							
								 
						
							
								7b1c573ad0 
								
							 
						 
						
							
							
								
								Kernel: Implement MAP_PRIVATE file mappings  
							
							... 
							
							
							
							mmap() now supports mapping files with MAP_PRIVATE. 
							
						 
						
							2023-09-29 17:23:42 +03:00  
				
					
						
							
							
								 
						
							
								4ee759aa3b 
								
							 
						 
						
							
							
								
								Kernel: Implement new abstract MemoryRegion  
							
							... 
							
							
							
							MemoryBackedRegion now inherits from this and is used for private
anonymous mappigs. This will make shared mappings and file backed
mappings much easier to implement. 
							
						 
						
							2023-09-29 16:18:23 +03:00  
				
					
						
							
							
								 
						
							
								a34f2e6e0d 
								
							 
						 
						
							
							
								
								Kernel: Use the new on demand ELF structure  
							
							... 
							
							
							
							All executable files are now read from disk and paged on demand.
This was a big rewrite of the old ELF library but in the end
everything seems much cleaner, since all the old functionality was
not actually needed for execution.
I have to do some measurements, but I feel like memory usage dropped
quite a bit after this change. 
							
						 
						
							2023-09-29 02:00:10 +03:00  
				
					
						
							
							
								 
						
							
								d1bbbf48f6 
								
							 
						 
						
							
							
								
								Kernel: Fully remove sys_alloc and sys_free  
							
							... 
							
							
							
							I could delete the whole FixedWidthAllocator as it was now obsolete.
GeneralAllocator is still used by kmalloc. Kmalloc cannot actually
use it since, GeneralAllocator depends on SpinLock and kmalloc runs
without interrupts. 
							
						 
						
							2023-09-23 03:53:30 +03:00  
				
					
						
							
							
								 
						
							
								c5f9f0c307 
								
							 
						 
						
							
							
								
								Kernel: Add LAI as a dependency  
							
							... 
							
							
							
							I did not feel like implementing AML interpreter now, and wanted
everything AML has to offer. I will be writing my own AML interperter
at some point. 
							
						 
						
							2023-09-22 17:20:35 +03:00  
				
					
						
							
							
								 
						
							
								a740bf8df4 
								
							 
						 
						
							
							
								
								1000th COMMIT: Kernel: Add basic E1000 driver  
							
							... 
							
							
							
							This driver is only capable to read mac address and enable and read
link status 
							
						 
						
							2023-09-22 17:20:28 +03:00  
				
					
						
							
							
								 
						
							
								1fcf122c50 
								
							 
						 
						
							
							
								
								Kernel: Add basic ZeroDevice to /dev/zero  
							
							
							
						 
						
							2023-09-10 00:31:42 +03:00  
				
					
						
							
							
								 
						
							
								323de3c866 
								
							 
						 
						
							
							
								
								Kernel: Rework whole Terminal structure  
							
							... 
							
							
							
							Serial monitors can now be used as a output. This requires editing
init code for the stdio opening. Serial input is not supported, so qemu
still needs graphical window for ps/2 keyboard. 
							
						 
						
							2023-09-04 19:34:18 +03:00  
				
					
						
							
							
								 
						
							
								a711462ef4 
								
							 
						 
						
							
							
								
								Kernel: Split ext2 implementation to multiple files  
							
							
							
						 
						
							2023-09-01 15:10:23 +03:00  
				
					
						
							
							
								 
						
							
								8032824054 
								
							 
						 
						
							
							
								
								BuildSystem: use -a with rsync  
							
							... 
							
							
							
							This allows cmake to not rebuild whole project every time 
							
						 
						
							2023-08-28 11:38:17 +03:00  
				
					
						
							
							
								 
						
							
								80e7a89f67 
								
							 
						 
						
							
							
								
								BuildSystem: Base sysroot is now distributed as a tar ball  
							
							... 
							
							
							
							This allows file and directory permissions work as intended.
cmake is now filled with 'sudo' but with sudo timeout this should be
fine. 
							
						 
						
							2023-08-23 10:38:21 +03:00  
				
					
						
							
							
								 
						
							
								1fa7a1cac4 
								
							 
						 
						
							
							
								
								Kernel: Add basic HPET support to replace PIT if exists  
							
							... 
							
							
							
							This works same way as the PIT implementation; calls Scheduler every
milli second. 
							
						 
						
							2023-08-04 15:22:51 +03:00  
				
					
						
							
							
								 
						
							
								7eb2c140fe 
								
							 
						 
						
							
							
								
								Kernel: Move RTC to Timer directory  
							
							... 
							
							
							
							PIT ms counter seems to be off by multiple seconds/minute. I will
be probably changing to HPET for system time 
							
						 
						
							2023-08-04 11:12:16 +03:00  
				
					
						
							
							
								 
						
							
								659adb89a6 
								
							 
						 
						
							
							
								
								Kernel: Start work on abstracting Timers  
							
							
							
						 
						
							2023-08-04 10:29:42 +03:00  
				
					
						
							
							
								 
						
							
								2a851b52f1 
								
							 
						 
						
							
							
								
								BuildSystem: Edit build flags regarding sse and warnings  
							
							
							
						 
						
							2023-07-31 22:31:17 +03:00  
				
					
						
							
							
								 
						
							
								1a6100f083 
								
							 
						 
						
							
							
								
								Kernel: Cleanup signal trampoline  
							
							
							
						 
						
							2023-07-30 15:58:35 +03:00  
				
					
						
							
							
								 
						
							
								2dce0a0415 
								
							 
						 
						
							
							
								
								Kernel: Userspace signal handlers are now called one at a time  
							
							... 
							
							
							
							I added a syscall for telling the kernel when signal execution has
finished. We should send a random hash or id to the signal trampoline
that we would include in the syscall, so validity of signal exit can
be confirmed. 
							
						 
						
							2023-07-23 13:34:53 +03:00  
				
					
						
							
							
								 
						
							
								70f89ed1fc 
								
							 
						 
						
							
							
								
								BuildSystem: Strip kernel. We will add the map once we use it  
							
							
							
						 
						
							2023-07-21 15:47:31 +03:00  
				
					
						
							
							
								 
						
							
								c2cf98e32f 
								
							 
						 
						
							
							
								
								Kernel/LibC: Add bareboness signals  
							
							... 
							
							
							
							You can now call raise() to raise a signal. Signal handlers are
not yet supported, but the handling works :) 
							
						 
						
							2023-07-21 15:45:02 +03:00  
				
					
						
							
							
								 
						
							
								b02c486ad0 
								
							 
						 
						
							
							
								
								Kernel: add NullDevice to /dev/null  
							
							
							
						 
						
							2023-07-20 00:06:22 +03:00  
				
					
						
							
							
								 
						
							
								08cd285ca6 
								
							 
						 
						
							
							
								
								Kernel: move Device.h to its own directory  
							
							
							
						 
						
							2023-07-19 23:55:38 +03:00  
				
					
						
							
							
								 
						
							
								9bcfb34524 
								
							 
						 
						
							
							
								
								Kernel: Rewrite whole device structure  
							
							... 
							
							
							
							We now have DevFileSystem which is derived from RamFileSystem. All
devices are RamInodes. We don't have separate DeviceManager anymore.
To iterate over devices, you can loop througn every inode in devfs. 
							
						 
						
							2023-07-10 23:17:14 +03:00  
				
					
						
							
							
								 
						
							
								d5f0448e48 
								
							 
						 
						
							
							
								
								Kernel: start work on ram file system  
							
							
							
						 
						
							2023-07-10 13:26:14 +03:00  
				
					
						
							
							
								 
						
							
								a2f5ad7bed 
								
							 
						 
						
							
							
								
								Kernel: Move open file descriptors to their own class  
							
							... 
							
							
							
							This simplifies code a lot :) 
							
						 
						
							2023-07-07 23:11:37 +03:00  
				
					
						
							
							
								 
						
							
								4cd72992c8 
								
							 
						 
						
							
							
								
								Kernel/LibC: Add basic pipe() syscall and command  
							
							... 
							
							
							
							You can now create pipes :) 
							
						 
						
							2023-07-06 22:16:26 +03:00  
				
					
						
							
							
								 
						
							
								2253c45feb 
								
							 
						 
						
							
							
								
								Kernel: Remove Shell from kernel  
							
							... 
							
							
							
							This is now obsolete since we have a userspace Shell. 
							
						 
						
							2023-06-12 02:04:52 +03:00  
				
					
						
							
							
								 
						
							
								c7ec19c25c 
								
							 
						 
						
							
							
								
								Kernel: Add basic Credentials for the system  
							
							... 
							
							
							
							Now filesystem access/open, etc confirm that you have access for rwxs 
							
						 
						
							2023-06-11 20:06:06 +03:00  
				
					
						
							
							
								 
						
							
								813d0f1b5f 
								
							 
						 
						
							
							
								
								Kernel: add basic disk cache  
							
							... 
							
							
							
							ATADevices now add disk cache to themselves 
							
						 
						
							2023-06-03 02:23:14 +03:00  
				
					
						
							
							
								 
						
							
								0907965dc5 
								
							 
						 
						
							
							
								
								Kernel: start work on higher half kernel  
							
							
							
						 
						
							2023-05-30 08:00:17 +03:00  
				
					
						
							
							
								 
						
							
								5bb1f2a48c 
								
							 
						 
						
							
							
								
								Kernel: Rename MMU to PageTable  
							
							... 
							
							
							
							This is more descriptive name for what it actually represents 
							
						 
						
							2023-05-29 21:06:09 +03:00  
				
					
						
							
							
								 
						
							
								ff83f967d8 
								
							 
						 
						
							
							
								
								Kernel: Make RecursiveSpinLock thread safe  
							
							... 
							
							
							
							also SpinLock is now implemented with gcc builtins 
							
						 
						
							2023-05-29 19:38:09 +03:00  
				
					
						
							
							
								 
						
							
								f2d767b799 
								
							 
						 
						
							
							
								
								Kernel: Add bareboness fork() function  
							
							
							
						 
						
							2023-05-28 18:08:49 +03:00  
				
					
						
							
							
								 
						
							
								15842db83e 
								
							 
						 
						
							
							
								
								Kernel: Move PhysicalRange to its own file and add VirtualRange  
							
							
							
						 
						
							2023-05-28 17:48:34 +03:00  
				
					
						
							
							
								 
						
							
								512be884ed 
								
							 
						 
						
							
							
								
								Kernel: Add barebones GeneralAllocator for >4096B  
							
							
							
						 
						
							2023-05-08 22:10:49 +03:00  
				
					
						
							
							
								 
						
							
								890aa9aa15 
								
							 
						 
						
							
							
								
								BuildSystem: linker -O2 doesn't do anything? hopefully  
							
							
							
						 
						
							2023-05-06 19:58:08 +03:00  
				
					
						
							
							
								 
						
							
								bcfd838131 
								
							 
						 
						
							
							
								
								Kernel: Add basic fixed width allocator for userspace  
							
							... 
							
							
							
							We have to move process stacks to the general heap and maybe map
kernel to higher half. 
							
						 
						
							2023-05-06 19:58:08 +03:00  
				
					
						
							
							
								 
						
							
								9d7530662f 
								
							 
						 
						
							
							
								
								Kernel: dprintln file name is now relative  
							
							... 
							
							
							
							This makes file names much shorter 
							
						 
						
							2023-04-28 14:43:19 +03:00  
				
					
						
							
							
								 
						
							
								e0ce2394fe 
								
							 
						 
						
							
							
								
								Kernel: Remove obsolete userspace stuff from kernel  
							
							
							
						 
						
							2023-04-22 15:38:45 +03:00  
				
					
						
							
							
								 
						
							
								295a27f16a 
								
							 
						 
						
							
							
								
								Kernel: Panic wont print stacktrace if it has already paniced  
							
							... 
							
							
							
							This prevents stack trace dump to panic and loop 
							
						 
						
							2023-04-18 10:18:15 +03:00  
				
					
						
							
							
								 
						
							
								0374b68fa1 
								
							 
						 
						
							
							
								
								Kernel: Remove unused file  
							
							
							
						 
						
							2023-04-18 10:18:15 +03:00  
				
					
						
							
							
								 
						
							
								633929629c 
								
							 
						 
						
							
							
								
								Kernel: Start working on heap  
							
							
							
						 
						
							2023-04-18 10:18:15 +03:00  
				
					
						
							
							
								 
						
							
								fdb4eb6042 
								
							 
						 
						
							
							
								
								Kernel: Move kmalloc and MMU to Memory directory  
							
							
							
						 
						
							2023-04-18 10:18:15 +03:00  
				
					
						
							
							
								 
						
							
								998ae511a3 
								
							 
						 
						
							
							
								
								LibELF: Start implementing elf library  
							
							
							
						 
						
							2023-04-18 10:18:15 +03:00  
				
					
						
							
							
								 
						
							
								3fe889d4a4 
								
							 
						 
						
							
							
								
								BuildSystem: GCC will now complain on functions with 1 KiB stack  
							
							
							
						 
						
							2023-04-12 00:18:06 +03:00  
				
					
						
							
							
								 
						
							
								aa2aee684b 
								
							 
						 
						
							
							
								
								Kernel: remove message from BAN::Error  
							
							... 
							
							
							
							We don't store the error message anymore in BAN::Error.
Instead we store a error code that can be mapped into a string.
This allows BAN::Error to only take 4 bytes instead of 128.
We should also make some kernel initialization just panic instead
of returning errors since they are required for succesfull boot
anyway. 
							
						 
						
							2023-04-11 23:25:21 +03:00  
				
					
						
							
							
								 
						
							
								cfa025acae 
								
							 
						 
						
							
							
								
								BAN: Move RefPtr to its own file and create New.h  
							
							... 
							
							
							
							New.h contains definitions for placement new operators and
BAN::allocator and BAN::dealloctor 
							
						 
						
							2023-04-10 21:07:25 +03:00  
				
					
						
							
							
								 
						
							
								781cc78a1f 
								
							 
						 
						
							
							
								
								BuildSystem: Fix header copying to sysroot  
							
							... 
							
							
							
							We used to copy all headers everytime to sysroot which caused
rebuild of the whole os. Now we use the cmake command
'copy_directory_if_different' which seemed to fix this issue :) 
							
						 
						
							2023-04-10 21:07:25 +03:00  
				
					
						
							
							
								 
						
							
								25ddc24754 
								
							 
						 
						
							
							
								
								BuildSystem: cmake can now build out libc  
							
							... 
							
							
							
							I can't seem to get libc++ build to work... 
							
						 
						
							2023-04-10 21:07:25 +03:00