From: Philip Homburg Date: Mon, 25 Feb 2008 14:39:19 +0000 (+0000) Subject: SYS_MAPDMAx -> SYS_MAPDMA, added IOMMU_MAP X-Git-Tag: v3.1.4~239 X-Git-Url: http://zhaoyanbai.com/repos/Bv9ARM.ch05.html?a=commitdiff_plain;h=60c1131b945206d571ec16e73a67f00de9c2e715;p=minix.git SYS_MAPDMAx -> SYS_MAPDMA, added IOMMU_MAP --- diff --git a/drivers/amddev/amddev.c b/drivers/amddev/amddev.c index 69fc430f2..fe011a9c6 100644 --- a/drivers/amddev/amddev.c +++ b/drivers/amddev/amddev.c @@ -84,7 +84,7 @@ int main(void) do_pm_notify(&m); continue; - case IOMMU_ADD: + case IOMMU_MAP: r= do_add4pci(&m); m.m_type= r; send(m.m_source, &m); diff --git a/include/minix/com.h b/include/minix/com.h index 8af4f13d8..6317ba6ff 100755 --- a/include/minix/com.h +++ b/include/minix/com.h @@ -138,6 +138,11 @@ #define BUSC_PCI_DEL_ACL (BUSC_RQ_BASE + 18) /* Delete the ACL of a * driver */ +#define IOMMU_MAP (BUSC_RQ_BASE + 32) /* Ask IOMMU to map + * a segment of memory + */ + + /*===========================================================================* * Messages for BLOCK and CHARACTER device drivers * @@ -317,7 +322,7 @@ # define SYS_STIME (KERNEL_CALL + 39) /* sys_stime() */ -# define SYS_MAPDMAx (KERNEL_CALL + 42) /* sys_mapdmax() */ +# define SYS_MAPDMA (KERNEL_CALL + 42) /* sys_mapdma() */ #define NR_SYS_CALLS 43 /* number of system calls */