Commit graph

555 commits

Author SHA1 Message Date
2abd221789 Utility to choose good IRQ numbers 2026-07-08 21:52:16 +02:00
ac00d1c031 PS/2: Some cosmetic code cleanup 2026-07-08 21:14:29 +02:00
2791d43f0e Protecting IOAPICs with a spinlock 2026-07-08 20:54:03 +02:00
7ddeeeca86 Split lapic and ioapic code 2026-07-08 20:45:51 +02:00
398aac9e2c apic.c: Changed indentation to 4 spaces 2026-07-08 20:39:30 +02:00
15978646bf Protecting the CMOS with a spinlock 2026-07-08 20:29:23 +02:00
921d824570 cmos.c: changed code indentation to 4 spaces 2026-07-08 20:24:08 +02:00
b164d4bdae run-qemu.sh: Only insert disks if they exist 2026-07-08 20:16:59 +02:00
c9452fd542 virtio_cb(): squelched some compiler warnings 2026-07-08 20:13:12 +02:00
513fb8a813
msi-x for virtio block device 2026-06-24 22:14:19 +02:00
255e24fa6b
pci: can use MSI-X 2026-06-24 21:40:26 +02:00
dc76ef757f
qemu -machine q35; boot disk is now SATA 2026-06-24 20:01:16 +02:00
65e522c267
use interrupts for virtio; MSI not working! 2026-06-11 17:38:14 +02:00
f037dfa939
Merge branch 'main' of 188.68.55.73:karlos/karlos 2026-06-03 22:29:05 +02:00
164f56ca57
move most of virtio-blk example outside main 2026-06-03 22:17:23 +02:00
a798d37ebe
keyboard and utf-8 textline input fix 2026-06-03 21:57:05 +02:00
f449455b32 ram.c: FIX: uint overflow hang; debug print option ignored. 2026-06-03 21:46:54 +02:00
2a1d457955
can now cope with the fact that we don't have virtio block device 2026-06-03 21:10:01 +02:00
271c5babe9
fix sub-32bit pci config read 2026-06-03 20:49:05 +02:00
01d3acbac9
proof-of-concept file reading from tar-formatted disk 2026-05-30 16:03:43 +02:00
b0d57fcb54
try queuing many requests at once; minor fixes 2026-05-30 13:38:33 +02:00
b68dab2ded
moved device-independent functionality to virtio-common.c 2026-05-30 12:56:17 +02:00
2b7f4d557a
virtio-blk: warning on unknown feature 2026-05-30 12:30:17 +02:00
bdf273ebd4
virtio-blk: gracefully handle readonly disk, out-of-bounds request, full queue 2026-05-30 12:02:53 +02:00
8ef837f0c2
virtio-blk: queued request linked list per device, not global 2026-05-30 02:55:46 +02:00
8e149698ea
consolidate more virtio-blk code 2026-05-30 02:39:12 +02:00
b28f3f1f0a
consolidate code of virtio in/out again 2026-05-30 02:30:08 +02:00
65e2e5b182
multi-sector read and write 2026-05-30 02:20:11 +02:00
37ab9d598f
virtio-blk: better request interface; better endianness conversion 2026-05-30 02:13:25 +02:00
c8533c8387
slab: simple test for custom alignment and unaligned size 2026-05-28 17:28:13 +02:00
d256e462f8
slab: custom alignment possible 2026-05-28 16:42:51 +02:00
4365dba1bb
virtio blk: extracted common code from read and write 2026-05-28 15:10:25 +02:00
440975dd74
virtio blk: writing to disk works 2026-05-28 14:52:41 +02:00
83c83737f3
virtio blk: use 3 descriptors for header-data-status 2026-05-28 14:43:11 +02:00
2b1c04b444
util.h header with linked list and bitmap stuff 2026-05-28 14:25:01 +02:00
e3417065c4
slab: detect missed cache initialization 2026-05-28 14:12:19 +02:00
4690e370d2
virtio blk: callback with userdata; seems to work for multiple reads now 2026-05-28 14:02:15 +02:00
4061ae1c2d
virtio blk: async read with callback 2026-05-28 13:38:18 +02:00
b22d089f78
virtio block device initialization function 2026-05-28 00:45:55 +02:00
664a842f33
newtype for pci bdf 2026-05-27 23:56:27 +02:00
085d3f4538
first functional block read 2026-05-27 23:22:00 +02:00
78f2f4c75a
virtio blk: setup with virtqueues 2026-05-27 20:46:02 +02:00
75acda73e2
virtio block device feature negotiation 2026-05-27 15:33:22 +02:00
26188b93ab
Merge branch 'main' into virtio-blk 2026-05-27 11:11:33 +02:00
104c4c3278
remove parameter from all widget drawing functions 2026-05-27 10:21:49 +02:00
b0cdcc28fc
missing header 2026-05-22 22:14:15 +02:00
e48ef201d5
virtio stuff, discovery of virtio devices over PCI 2026-05-22 22:13:20 +02:00
b52e397303
fixed some missing keyboard keys 2026-05-21 18:11:03 +02:00
b3d51307fd
bootparams for panic on mem exhaustion 2026-05-21 17:49:38 +02:00
77dc72e76c
split app and components; rebrand to widget 2026-05-21 17:35:24 +02:00