aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2024-12-04 00:17:09 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2024-12-04 00:17:09 +0100
commit5cf496bf46566c5b6d7fe616ca3be23807a60691 (patch)
tree2264eebba3607ca6e8e32db25a504cf08c28ce76
parentab807f32085e5861bf3d3336c9de2c0d1e977b4c (diff)
downloadgnumach-5cf496bf46566c5b6d7fe616ca3be23807a60691.tar.gz
gnumach-5cf496bf46566c5b6d7fe616ca3be23807a60691.tar.bz2
gnumach-5cf496bf46566c5b6d7fe616ca3be23807a60691.zip
warn about incompatibility between linux disk driver and PAE
-rw-r--r--linux/dev/glue/block.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/dev/glue/block.c b/linux/dev/glue/block.c
index a8307813..1bd8b0e0 100644
--- a/linux/dev/glue/block.c
+++ b/linux/dev/glue/block.c
@@ -1408,6 +1408,8 @@ device_write (void *d, ipc_port_t reply_port,
copy->cpy_page_list[i]->phys_addr,
VM_PROT_READ|VM_PROT_WRITE, TRUE);
+#warning FIXME: if physical adress is beyond VM_PAGE_DMA32 with PAE, we need a bounce buffer
+
/* Do the write. */
amt = (*bd->ds->fops->write) (&td.inode, &td.file,
(char *) addr + (uaddr & PAGE_MASK), len);