diff options
author | Ian Moffett <ian@osmora.org> | 2025-10-14 20:23:19 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-10-14 20:23:19 -0400 |
commit | aaa076ff1d68545085fb85ee24d5410b60a123bd (patch) | |
tree | 98b1642cd6aae676b15318e376661e7b343196f9 /src/sys/io | |
parent | 6a0c08f51e59328d9a158bb521b1f1cf57663962 (diff) |
kern: dms: Make DMS block size aware
In order to safely copy between disk and host memory through a
programming interface, DMS must be aware of the hardware disk block size
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src/sys/io')
-rw-r--r-- | src/sys/io/ic/ahci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sys/io/ic/ahci.c b/src/sys/io/ic/ahci.c index 9aa19b4..48560a8 100644 --- a/src/sys/io/ic/ahci.c +++ b/src/sys/io/ic/ahci.c @@ -236,6 +236,7 @@ ahci_register(struct ata_identity *identity, struct ahci_port *port) return error; } + dp->bsize = port->bsize; dp->data = (void *)port; return 0; } |