banan-os/kernel/include/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
KeyboardLayout Kernel: Add basic PS/2 Mouse driver 2022-12-30 19:38:21 +02:00
Storage Kernel: StorageDevice and Ext2 "support" writing 2023-03-23 13:04:13 +02:00
APIC.h All: rename every function from UpperCamelCase to snake_case 2023-02-01 21:05:44 +02:00
Arch.h Kernel: fix ARCH() macro and add helper macros for push/pop 2023-02-19 18:52:25 +02:00
Attributes.h Kernel: Initial work on new scheduler with queues 2023-03-08 02:41:44 +02:00
CPUID.h All: rename every function from UpperCamelCase to snake_case 2023-02-01 21:05:44 +02:00
CriticalScope.h Kernel: Create CriticalScope and fix kmalloc 2023-03-08 13:55:53 +02:00
Debug.h All: rename every function from UpperCamelCase to snake_case 2023-02-01 21:05:44 +02:00
Font.h BAN: Modify Span constructors to keep constness correctly 2023-03-23 14:26:03 +02:00
GDT.h Kernel: Initialize GDT in kernel code 2023-03-01 21:21:56 +02:00
IDT.h Kernel: I have no idea what this commit does 2023-01-26 02:55:37 +02:00
IO.h Kernel: Add IO functions inl, outl, and ins{b,w,l} to read into buffer 2023-02-24 12:39:38 +02:00
Input.h Kernel: Input callbacks use the new BAN::Function 2023-01-16 15:15:02 +02:00
InterruptController.h Kernel: Create CriticalScope and fix kmalloc 2023-03-08 13:55:53 +02:00
LockGuard.h All: Move to c++20 2023-02-09 23:05:26 +02:00
MMU.h Kernel: MMU now takes flags when allocating pages 2023-03-01 21:21:56 +02:00
PCI.h Kernel: PCIDevice is now class with getters and constructor 2023-03-08 02:41:44 +02:00
PIC.h All: rename every function from UpperCamelCase to snake_case 2023-02-01 21:05:44 +02:00
PIT.h Kernel: PIT now has very barebones sleep 2023-02-16 17:53:25 +02:00
Panic.h Kernel: panic now disables interrupts as the first thing 2023-03-01 21:21:56 +02:00
Process.h Kernel: Add possibiliity to create empty files on Ext2 2023-03-23 22:26:06 +02:00
RTC.h Kernel: Move get_unix_time to RTC namespace 2023-03-23 18:14:51 +02:00
Scheduler.h Kernel: Add basic concept of Processes 2023-03-16 12:17:04 +02:00
Serial.h All: rename every function from UpperCamelCase to snake_case 2023-02-01 21:05:44 +02:00
Shell.h Kernel: Rework filesystem reading 2023-03-17 21:18:41 +02:00
SpinLock.h Kernel: Add is_locked() to spinlock 2023-02-02 15:49:30 +02:00
Syscall.h Kernel/Userspace: Start initial work on userspace and syscalls 2023-03-13 15:32:46 +02:00
TTY.h Kernel: Fonts can now be parsed from the filesystem and set to terminal 2023-02-22 22:29:31 +02:00
TerminalDriver.h Kernel: Add prefs font for terminal output before file system 2023-02-23 01:22:50 +02:00
Thread.h Kernel: Add basic concept of Processes 2023-03-16 12:17:04 +02:00
VesaTerminalDriver.h Kernel: Add prefs font for terminal output before file system 2023-02-23 01:22:50 +02:00
kmalloc.h Kernel: rewrite the whole kmalloc (again) 2023-02-22 16:32:50 +02:00
kprint.h All: rename every function from UpperCamelCase to snake_case 2023-02-01 21:05:44 +02:00
multiboot.h BAN: Formatter now uses perfect forwarding on its arguments 2023-03-08 21:31:26 +02:00