Commit graph

40 commits

Author SHA1 Message Date
Ian McFarlane
333283724a Merge branch 'main' of github.com:kenshineto/kern 2025-04-21 00:51:52 -04:00
Ian McFarlane
6f012f2931 fixed inw/outw mixup 2025-04-21 00:51:46 -04:00
98fc2c47a3
fmt 2025-04-21 00:44:45 -04:00
0b677d872e
ata fin 2025-04-20 23:44:40 -04:00
Ian McFarlane
89c356d659
refactor ATA interface 2025-04-20 23:44:40 -04:00
ff50596947
make stuff public 2025-04-20 23:44:40 -04:00
d00bd3d0fc
dont use in[s] instructions or rep in c 2025-04-20 23:44:40 -04:00
102a0aafc8
move kspin to use ms, add ata_report 2025-04-20 23:44:39 -04:00
Ian McFarlane
b7e9d50ba7
add ata_init to main and fix some compilation problems 2025-04-20 23:44:39 -04:00
Ian McFarlane
449c53ea73
oob check 2025-04-20 23:44:39 -04:00
Ian McFarlane
07fcb97d00
add ata_init to main and fix some compilation problems 2025-04-20 23:44:39 -04:00
Ian McFarlane
7f8cb8c33f
throw together something testable but atapi isnt supported and errors are insane 2025-04-20 23:44:39 -04:00
Ian McFarlane
2f0131770e
add rudimentary sleeping function based on CMOS clock 2025-04-20 23:44:39 -04:00
Ian McFarlane
7233844ac8
read BARs from PCI 2025-04-20 23:44:39 -04:00
Ian McFarlane
74e6646b5c
added initialization but it is untested 2025-04-20 23:44:38 -04:00
Ian McFarlane
1d4f149741
adding code from osdev and reading 2025-04-20 23:44:38 -04:00
Ian McFarlane
5c9c5e454b
added logging, but we still get warnings about __FUNCTION__ 2025-04-20 23:44:38 -04:00
Ian McFarlane
dfb622cdc6
starting on ata 2025-04-20 23:44:38 -04:00
e03b2ed579
PIT (timer) 2025-04-20 19:56:27 -04:00
5e0e6240ab
fix term/gpu memory OOB error, add dynamic kernel identity map with N_IDENT_PTS 2025-04-20 11:26:32 -04:00
8c606d7a85
remove invalid includes 2025-04-19 16:39:50 -04:00
472ec944d2
UEFI and republicans 2025-04-19 16:37:54 -04:00
2a6c07a6ad
more pci devices 2025-04-18 21:15:14 -04:00
485c33eb10
fmt 2025-04-17 09:26:49 -04:00
f3e6838b44
font rending in framebuffer yay!! 2025-04-17 00:51:46 -04:00
0ddc618b1d
fmt 2025-04-16 16:51:25 -04:00
730aafc175
remove all printing to report functions 2025-04-16 16:48:56 -04:00
2dbf529c33
expand memory manager work with userspace (more then one ctx) 2025-04-15 22:20:59 -04:00
331a2a442b
backtrace 2025-04-08 17:55:13 -04:00
a16062dc7f
fmt 2025-04-08 11:51:45 -04:00
76ea83e70c
acpi 2025-04-08 11:49:51 -04:00
5372fc3bfd
tty => term 2025-04-08 10:47:10 -04:00
8a19547957
break apart c libaray 2025-04-08 10:39:48 -04:00
7fd3d3a1b6
fmt 2025-04-07 12:37:56 -04:00
78def513c7
remove tty_init fn 2025-04-07 08:24:06 -04:00
31932482cd
fix tripple pci device print 2025-04-04 22:27:49 -04:00
ceef8e2d87
fmt 2025-04-04 12:00:48 -04:00
3a44b8da25
real time clock 2025-04-04 00:10:16 -04:00
3c2a519ee9
serial and tty 2025-04-03 23:38:33 -04:00
d604f8e93f
pci 2025-04-03 23:05:46 -04:00