Commit Graph

140 Commits

Author SHA1 Message Date
9be6a4e64b Merge pull request #74 from gbowne1/gbowne1-addpci
Adds PCI bus driver implementation
2026-01-28 13:40:37 -08:00
Borna Šoštarić
0584f7d49d Merge branch 'main' into gbowne1-addpci 2026-01-28 21:41:59 +01:00
4700e3f11a Update ata.h
Updated header to match ata.c
2026-01-28 21:41:10 +01:00
769f96acbc Update ata.c
Updated ata.c to include fixed BSY status register
2026-01-28 21:41:10 +01:00
1575c0dd12 Create ata.c 2026-01-28 21:41:10 +01:00
37e672a1c2 Create ata.h
Add base ATA PIO mode driver so that filesystems like fat16 fat32 work.
2026-01-28 21:41:10 +01:00
375dd9afdf Update gui.h
Adds gui base header
2026-01-28 21:41:10 +01:00
a42822dd54 Update gui.c
Add base gui implementation
2026-01-28 21:41:10 +01:00
6f0fee4182 Update hid.c
Fixing print_hex error
2026-01-28 21:41:10 +01:00
01f130227b Update keyboard.h
fixed typo in header include
2026-01-28 21:41:10 +01:00
f473fd5c32 Update mouse.h
Fixes static
2026-01-28 21:41:10 +01:00
576f5be8a6 Update mouse.c
Make mouse_data non static
2026-01-28 21:41:10 +01:00
538b97b877 Update keyboard.c
Fix missing definitions so theres nothing that would break the build
2026-01-28 21:41:10 +01:00
4d2eec9e93 Update keyboard.h
fixing missing includes and definition
2026-01-28 21:41:10 +01:00
d30bc6a7f5 Update keyboard.h
Add a extern const for the scancode map
2026-01-28 21:41:10 +01:00
96050d6a99 Update keyboard.c
remove static
2026-01-28 21:41:10 +01:00
e9e3237ba9 Create hid.c
Add bass HID implementation
2026-01-28 21:41:10 +01:00
3c6b2a4e8c Create hid.h
Adding base HID device support for early HID standards 1.0
2026-01-28 21:41:10 +01:00
vmttmv
8db5173495 Fix includes for string.h/string_utils.h 2026-01-28 21:41:10 +01:00
c0220b3afc Update vga.c
Change my_strlen to use our klibc strlen in klibc/include/string.h
2026-01-28 21:41:10 +01:00
f9ef99d11b Update vga.h
Add vga_init(); function prototype
2026-01-28 21:41:10 +01:00
17ce531b62 Update display.c
Added the 95% completely wired up display driver implementation file
2026-01-28 21:41:10 +01:00
4aa6fa3b59 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:41:10 +01:00
vmttmv
c805d24dd0 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-28 21:41:10 +01:00
vmttmv
b3831b6c69 Remove types.c/.h, use klibc headers, amend stdbool.h, reimplement cpuid() 2026-01-28 21:40:39 +01:00
4e1197356b 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-28 21:40:39 +01:00
a765fe5238 Fix extern declaration for disk_read_sector function 2026-01-28 21:40:39 +01:00
175c2949be Enhance cpu.h with Intel model definitions and struct
Added Intel model definitions and CPU info structure.
2026-01-28 21:40:39 +01:00
2dd82e69a7 Implement CPUID support check and CPU info printing
Added functions to check CPUID support and print CPU details.
2026-01-28 21:40:39 +01:00
Borna Šoštarić
a7e536a6d3 fix RWX perms warnings in link step 2026-01-28 21:40:39 +01:00
Borna Šoštarić
a3267d2ac3 initial implementation of klibc
fix linker error about ctx_switch
2026-01-28 21:40:39 +01:00
Borna Šoštarić
84e28d8871 Merge branch 'main' into gbowne1-addps2 2026-01-28 21:36:14 +01:00
dee91ca211 Update ata.h
Updated header to match ata.c
2026-01-28 21:34:50 +01:00
59dfca9ebd Update ata.c
Updated ata.c to include fixed BSY status register
2026-01-28 21:34:50 +01:00
42f0b62e50 Create ata.c 2026-01-28 21:34:50 +01:00
0a4f0e59e3 Create ata.h
Add base ATA PIO mode driver so that filesystems like fat16 fat32 work.
2026-01-28 21:34:50 +01:00
9d37b7a944 Update gui.h
Adds gui base header
2026-01-28 21:34:50 +01:00
eecc2561da Update gui.c
Add base gui implementation
2026-01-28 21:34:50 +01:00
cae3731f91 Update hid.c
Fixing print_hex error
2026-01-28 21:34:50 +01:00
df33351d60 Update keyboard.h
fixed typo in header include
2026-01-28 21:34:50 +01:00
d2b19ce376 Update mouse.h
Fixes static
2026-01-28 21:34:50 +01:00
8aea3c3c0e Update mouse.c
Make mouse_data non static
2026-01-28 21:34:50 +01:00
f64e40d460 Update keyboard.c
Fix missing definitions so theres nothing that would break the build
2026-01-28 21:34:50 +01:00
45da511bfa Update keyboard.h
fixing missing includes and definition
2026-01-28 21:34:50 +01:00
0f2528e07b Update keyboard.h
Add a extern const for the scancode map
2026-01-28 21:34:50 +01:00
b36356f10c Update keyboard.c
remove static
2026-01-28 21:34:50 +01:00
4b981a5d18 Create hid.c
Add bass HID implementation
2026-01-28 21:34:50 +01:00
fa66433179 Create hid.h
Adding base HID device support for early HID standards 1.0
2026-01-28 21:34:50 +01:00
vmttmv
f08204a2b3 Fix includes for string.h/string_utils.h 2026-01-28 21:34:50 +01:00
bb6f9d1a16 Update vga.c
Change my_strlen to use our klibc strlen in klibc/include/string.h
2026-01-28 21:34:50 +01:00