Commit Graph

52 Commits

Author SHA1 Message Date
Matheus 239c267ed3 mm: rename vmm api to mm 2026-07-01 15:00:46 -03:00
Matheus 6f8700e678 mm: refactor pmm -> page 2026-07-01 11:56:06 -03:00
Matheus e027005e08 ahci: fix possible use of assumed size between physical and virtual block and fix possible infinite loop 2026-05-14 15:17:22 -03:00
Matheus c9e22d162f ahci: fixes 2026-05-14 15:04:27 -03:00
Matheus 5a033707cc block: better checks to see if partition entry is valid 2026-04-24 23:49:58 -03:00
iretq 99d3374fc0 dpc: add dpc_prepare 2026-03-04 03:26:06 +01:00
Matheus b086212f21 ahci: fix identify pss 2026-03-02 20:42:31 -03:00
Matheus 9e4900d531 ahci: more fixes 2026-03-01 23:43:32 -03:00
Matheus f1482afd4a ahci: random fixes 2026-03-01 22:35:23 -03:00
Matheus b83d954c6e ahci: add driver 2026-02-27 17:03:51 -03:00
Matheus 848214bcf8 nvme: fix prp freeing 2026-02-12 16:32:15 -03:00
Matheus ccc0beda9f nvme: do proper prp setup 2026-01-04 21:03:18 -03:00
Matheus 9c9dc56d0f nvme: fix memory leak 2026-01-02 17:46:11 -03:00
Matheus 607566531d kernel: rework init 2025-08-14 20:25:43 -03:00
Matheus 98be724c65 kernel: remove some unescessary inits 2025-07-23 19:18:30 -03:00
Matheus a6c169e5e6 kernel: finish work of removing interruptible mutexes 2024-12-24 21:30:25 -03:00
Matheus 0bff52b41e sched: finish preparing scheduler for rewrite 2024-09-21 23:06:37 -03:00
Matheus c29532a2c4 block: properly wind back iovec iterator now 2024-09-21 17:07:52 -03:00
Matheus e8c2f1fbf3 devfs: use iovec_iterator internally 2024-09-21 13:53:39 -03:00
Matheus dce1edad26 iovec: initial implementation 2024-09-20 12:51:36 -03:00
Matheus 5dfd2c3d6f block: directly do DMA into page cache 2024-09-18 21:43:11 -03:00
Matheus c76b37693b vmm: allow vmm_getphysical to return a page held 2024-09-18 21:27:36 -03:00
Matheus e058d62261 cpu: change _cpu()->thread calls to current_thread() to fix smp race 2024-09-15 17:47:26 -03:00
Matheus c596244010 io: use isr->priv 2024-09-07 11:21:38 -03:00
Matheus ca42167fe1 vfs: pass cred to ioctl 2024-08-30 22:53:57 -03:00
Matheus 806fa3a333 devfs: take cred struct in devfs_register 2024-08-24 21:51:55 -03:00
Matheus ca2ad66dc6 block: read page by page rather than block by block 2024-08-10 22:43:09 -03:00
Matheus e023a38dc3 vioblk: possible fix for a bug and remove unused slab cache 2024-07-30 20:29:39 -03:00
Matheus a0ac16bec5 vioblk: fix an issue with index numbers 2024-06-19 20:45:13 -03:00
Matheus 50b4b45d00 kernel: usercopy functions 2024-06-09 19:31:26 -03:00
Matheus 7d95b6e00d fixes 2024-06-03 20:55:20 -03:00
Matheus 3093051a8b kernel: remove event_t as it suffered from a lost wakeup issue 2024-05-29 16:08:28 -03:00
Matheus 0030a0b21b vfs: make setattr take in which attributes to change 2024-05-27 23:05:57 -03:00
Matheus 24ff005f30 vioblk: fix possible lost wakeup 2024-05-27 22:02:32 -03:00
Matheus 52dfd2d499 nvme: set as bus master 2024-05-08 19:22:17 -03:00
Matheus 87b0ff64b2 virtio: feature negotiation 2024-03-29 13:36:48 -03:00
Matheus 69978904b8 virtio: vioqueue_t 2023-12-31 16:10:32 -03:00
Matheus e49f617a90 virtio: vioblk 2023-12-31 15:48:48 -03:00
Matheus 027f0903de nvme: change where pci stuff is initialised 2023-10-15 20:58:36 -03:00
Matheus e07ebc52b9 block: zero kernel addresses on ioctl 2023-09-09 13:30:08 -03:00
Matheus be6dfdd1fc nvme: fix set queue entry size macros 2023-08-14 20:17:37 -03:00
Matheus c33078b9c2 kernel: misc stuff 2023-08-08 21:21:06 -03:00
Matheus 81c6897523 block: fix typo in comment 2023-08-07 21:56:24 -03:00
Matheus bd715ac5e9 nvme: properly support versions older than 1.4 2023-08-07 20:36:01 -03:00
Matheus 55fc1b7026 pmm: full rewrite
I've decided to do a rewrite on it due to some plans that would make refcounting physical pages nescessary among other things. now instead of a bitmap it uses a list of pages with each physical page having a page_t associated with it
2023-07-29 17:14:41 -03:00
Matheus 6c3164c958 nvme: fix submission queue size 2023-07-23 01:01:33 -03:00
Matheus c1e7ef84ce block: ioctl, read and write 2023-07-20 20:42:02 -03:00
Matheus 09ad42eb04 nvme: register block and fix insert semaphore 2023-07-20 14:27:39 -03:00
Matheus f30f41a28c kernel: block abstraction and partition table parsing 2023-07-20 14:27:23 -03:00
Matheus b0f12deff8 nvme: basic read/write 2023-07-19 20:20:41 -03:00