diff options
author | jake <jake@FreeBSD.org> | 2003-04-08 06:35:09 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2003-04-08 06:35:09 +0000 |
commit | e3ca27bdf069d45543cbe9929e20b70f3d69a2c7 (patch) | |
tree | 170fb5ae718e07b0aee9024bae4401627b65786a /sys/sparc64/include/iommuvar.h | |
parent | b9918280bc949c852ff2fb0b841635e7781e1bac (diff) | |
download | FreeBSD-src-e3ca27bdf069d45543cbe9929e20b70f3d69a2c7.zip FreeBSD-src-e3ca27bdf069d45543cbe9929e20b70f3d69a2c7.tar.gz |
Use vm_paddr_t for physical addresses.
Diffstat (limited to 'sys/sparc64/include/iommuvar.h')
-rw-r--r-- | sys/sparc64/include/iommuvar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sparc64/include/iommuvar.h b/sys/sparc64/include/iommuvar.h index 3c99822..6638ce8 100644 --- a/sys/sparc64/include/iommuvar.h +++ b/sys/sparc64/include/iommuvar.h @@ -47,7 +47,7 @@ struct iommu_state { u_int64_t is_dvmabase; int64_t is_cr; /* IOMMU control register value */ - vm_offset_t is_flushpa[2]; + vm_paddr_t is_flushpa[2]; volatile int64_t *is_flushva[2]; /* * When a flush is completed, 64 bytes will be stored at the given @@ -77,7 +77,7 @@ struct iommu_state { /* interfaces for PCI/SBUS code */ void iommu_init(char *, struct iommu_state *, int, u_int32_t, int); void iommu_reset(struct iommu_state *); -void iommu_enter(struct iommu_state *, vm_offset_t, vm_offset_t, int); +void iommu_enter(struct iommu_state *, vm_offset_t, vm_paddr_t, int); void iommu_remove(struct iommu_state *, vm_offset_t, size_t); void iommu_decode_fault(struct iommu_state *, vm_offset_t); |