2008-03-04 17:29:27 -05:00
|
|
|
extern int iommu_is_span_boundary(unsigned int index, unsigned int nr,
|
|
|
|
unsigned long shift,
|
|
|
|
unsigned long boundary_size);
|
2008-02-05 01:28:07 -05:00
|
|
|
extern unsigned long iommu_area_alloc(unsigned long *map, unsigned long size,
|
|
|
|
unsigned long start, unsigned int nr,
|
|
|
|
unsigned long shift,
|
|
|
|
unsigned long boundary_size,
|
|
|
|
unsigned long align_mask);
|
|
|
|
extern void iommu_area_free(unsigned long *map, unsigned long start,
|
|
|
|
unsigned int nr);
|
2008-07-25 08:57:58 -04:00
|
|
|
extern unsigned long iommu_num_pages(unsigned long addr, unsigned long len);
|