Commit Graph

67 Commits

Author SHA1 Message Date
068803d786 Update ata.h
Updated header to match ata.c
2026-01-28 21:26:42 +01:00
b904e87352 Update ata.c
Updated ata.c to include fixed BSY status register
2026-01-28 21:26:42 +01:00
49ac12b01f Create ata.c 2026-01-28 21:26:42 +01:00
f4f5f2bc69 Create ata.h
Add base ATA PIO mode driver so that filesystems like fat16 fat32 work.
2026-01-28 21:26:42 +01:00
965e6005f9 Update gui.h
Adds gui base header
2026-01-28 21:26:42 +01:00
f83f400537 Update gui.c
Add base gui implementation
2026-01-28 21:26:42 +01:00
d60bc1b560 Update hid.c
Fixing print_hex error
2026-01-28 21:26:42 +01:00
9b99321e64 Update keyboard.h
fixed typo in header include
2026-01-28 21:26:42 +01:00
894fb2dfce Update mouse.h
Fixes static
2026-01-28 21:26:42 +01:00
a89b9eff4f Update mouse.c
Make mouse_data non static
2026-01-28 21:26:42 +01:00
6fbe73e879 Update keyboard.c
Fix missing definitions so theres nothing that would break the build
2026-01-28 21:26:42 +01:00
f1e13e1ebd Update keyboard.h
fixing missing includes and definition
2026-01-28 21:26:42 +01:00
9eea350701 Update keyboard.h
Add a extern const for the scancode map
2026-01-28 21:26:42 +01:00
9525f71d19 Update keyboard.c
remove static
2026-01-28 21:26:42 +01:00
5bb8cde31c Create hid.c
Add bass HID implementation
2026-01-28 21:26:42 +01:00
cd0e776a1c Create hid.h
Adding base HID device support for early HID standards 1.0
2026-01-28 21:26:42 +01:00
vmttmv
279baa713f Fix includes for string.h/string_utils.h 2026-01-28 21:26:42 +01:00
ac2f0bf38a Update vga.c
Change my_strlen to use our klibc strlen in klibc/include/string.h
2026-01-28 21:26:42 +01:00
20dc9def77 Update vga.h
Add vga_init(); function prototype
2026-01-28 21:26:42 +01:00
7da63c0d0c Update display.c
Added the 95% completely wired up display driver implementation file
2026-01-28 21:26:42 +01:00
9c501e840f Update display.h
updated header for display driver display.c and display.h this will need to be finished wired up. Old display driver would have done nothing.
2026-01-28 21:26:42 +01:00
bbb91f4afa Create fat16.c
Add implementation for fat16 filesystem
2026-01-18 18:11:25 -08:00
06c49171cf Create fat16.h
Add fat16 filesystem support.
2026-01-18 18:07:55 -08:00
bc9d84a93e Merge branch 'main' into fix/91-header-cleanup 2026-01-13 07:39:46 -08:00
vmttmv
3b67e81ed0 Fix PDE/PTE definitions, header cleanup
- Fixes PDE/PTE definitions in kernel/paging.h
- removes memset declaration from kernel/utils.h, uses klibc string.h as
needed
2026-01-12 04:02:15 +02:00
vmttmv
841892398a Remove types.c/.h, use klibc headers, amend stdbool.h, reimplement cpuid() 2026-01-12 02:43:37 +02:00
86608ef48c Merge pull request #90 from gbowne1/gbowne1-patch-2
Fix extern declaration for disk_read_sector function
2026-01-10 21:31:34 -08:00
c0e7ab6be0 Fix k_memcmp return logic and add disk_read_sector
Refactor k_memcmp to return correct difference and add disk_read_sector function.
2026-01-08 21:10:35 -08:00
f78bc27f35 Fix extern declaration for disk_read_sector function 2026-01-08 21:03:10 -08:00
10d3761be1 Enhance cpu.h with Intel model definitions and struct
Added Intel model definitions and CPU info structure.
2026-01-05 00:46:14 -08:00
cc2e967a4d Implement CPUID support check and CPU info printing
Added functions to check CPUID support and print CPU details.
2026-01-05 00:42:05 -08:00
Borna Šoštarić
bd4236ad9b fix RWX perms warnings in link step 2025-12-31 01:39:18 +01:00
Borna Šoštarić
f30be3ddd5 initial implementation of klibc
fix linker error about ctx_switch
2025-12-27 19:44:54 +01:00
940b2810cb Update io.h
adding the missing io
2025-11-20 10:07:01 -08:00
01f85f97ec Update fat12.h
better header for FAT12 kernel driver
2025-11-19 09:31:22 -08:00
fd2c567d29 Update fat12.c
implementation of kernel space fat12 kernel driver for fat12
2025-11-19 09:29:04 -08:00
9de9cc6523 Update scheduler.h 2025-11-19 08:44:15 -08:00
e9a78c835a Create context_switch.s
new context_switch.s for x86 IA32.
must confirm nasm.
2025-11-19 08:43:11 -08:00
77400d8f5a Update scheduler.c
old scheduler might not work on x86 IA-32 32 bit
2025-11-19 08:41:03 -08:00
vmttmv
8743fa9e24 Multiple changes:
- Makefile: fix linker script path
- irq.c: `irqN()` stubs
- irq.h: fix missing header
- isr.h/isr.c extern `interrupt_handlers`
- utils.c: remove duplicate `memcmp`
2025-11-19 03:32:06 +02:00
d5906d72de Move linker.ld
Move to kernel
2025-11-14 14:17:27 -08:00
f1b0670a15 Update kmain.c
Adding isr stuff
2025-11-10 05:59:22 -08:00
48fdb348ca Update irq.h
add implementation for irq handles to header
2025-11-10 05:49:36 -08:00
6dbd08c808 Update irq.c
Implement the irq handles
2025-11-10 05:48:02 -08:00
9ac3a2b862 Update terminal.c
Fixed minor issue with terminal
2025-11-10 05:19:25 -08:00
95f0507c24 Update keyboard.c
some issues with keyboard buffer fixed and interrupt greater than 32 would cause EOI to get sent to PIC 2x
2025-11-10 05:09:30 -08:00
2609f52dd6 Update paging.c
Fixed page table entry so it doesnt clobber kernel
2025-11-10 03:12:34 -08:00
f2e75c5142 Update kmalloc.c
Safer 1MB heap. Original value would have caused a heap overflow
2025-11-10 02:51:56 -08:00
056d3eb374 Update framebuffer.h
Added the stub graphics framebuffer stub
2025-11-04 01:21:35 -08:00
98f0f58ce4 Add stub code for the graphics franebuffer 2025-11-04 01:13:36 -08:00