banan-os/kernel/kernel
Bananymous 7d2ab53baa Kernel: Ext2FS now does allocations better
We only have to allocate at the beginning of the all functions and
can properly exit before any disk reads if we run out of memory.

This makes development little bit 'harder' since the {read,write}_block
user must allocate a buffer of atleast block_size bytes.

I also made disk access to cause kernel panic on error since the error
handling during file write is something I don't want to think now.
The filesystem can easily corrupt so, I feel like when disk io starts
to fail I'll come back to this.
2023-03-23 23:22:31 +02:00
..
FS Kernel: Ext2FS now does allocations better 2023-03-23 23:22:31 +02:00
Storage BAN: Modify Span constructors to keep constness correctly 2023-03-23 14:26:03 +02:00
APIC.cpp Kernel: FIX ubsan complaining about unaligned addresses for STDHeaders 2023-03-08 22:55:44 +02:00
CPUID.cpp All: rename every function from UpperCamelCase to snake_case 2023-02-01 21:05:44 +02:00
Debug.cpp Kernel: Disable color after Debug::dump_stack_trace 2023-03-08 02:41:44 +02:00
Font.cpp BAN: Modify Span constructors to keep constness correctly 2023-03-23 14:26:03 +02:00
Input.cpp Kernel: Update ErrorOr API and add path find to VFS 2023-02-22 01:23:11 +02:00
InterruptController.cpp Kernel: Create CriticalScope and fix kmalloc 2023-03-08 13:55:53 +02:00
PCI.cpp Kernel: PCIDevice is now class with getters and constructor 2023-03-08 02:41:44 +02:00
PIC.cpp All: rename every function from UpperCamelCase to snake_case 2023-02-01 21:05:44 +02:00
PIT.cpp Kernel: Scheduler sleeping is working 2023-03-08 02:41:44 +02:00
Process.cpp Kernel: Add possibiliity to create empty files on Ext2 2023-03-23 22:26:06 +02:00
RTC.cpp Kernel: Move get_unix_time to RTC namespace 2023-03-23 18:14:51 +02:00
SSP.cpp All: rename every function from UpperCamelCase to snake_case 2023-02-01 21:05:44 +02:00
Scheduler.cpp Kernel: Add basic concept of Processes 2023-03-16 12:17:04 +02:00
Serial.cpp All: rename every function from UpperCamelCase to snake_case 2023-02-01 21:05:44 +02:00
Shell.cpp Kernel: Add possibiliity to create empty files on Ext2 2023-03-23 22:26:06 +02:00
SpinLock.cpp Kernel: Add is_locked() to spinlock 2023-02-02 15:49:30 +02:00
Syscall.cpp Kernel/Userspace: Start initial work on userspace and syscalls 2023-03-13 15:32:46 +02:00
TTY.cpp Kernel: TTY buffer is resized on font size change 2023-03-22 02:09:22 +02:00
Thread.cpp Kernel: Add basic concept of Processes 2023-03-16 12:17:04 +02:00
VesaTerminalDriver.cpp Kernel: MMU now takes flags when allocating pages 2023-03-01 21:21:56 +02:00
build_libc.cpp Kernel: Add support for arrow keys in Shell 2023-01-13 15:07:24 +02:00
kernel.cpp Kernel: Add basic mounting to VFS. 2023-03-19 05:51:25 +02:00
kmalloc.cpp Kernel: kmalloc minimum align is forced to s_kmalloc_min_align 2023-03-09 14:37:25 +02:00