···1515#include <asm/io.h>1616#include <asm/page.h>1717#include <asm/oplib.h>1818+#include <asm/iommu.h>18191920/* The abstraction used here is that there are PCI controllers,2021 * each with one (Sabre) or two (PSYCHO/SCHIZO) PCI bus modules···4039 * streaming buffers underneath.4140 */4241 spinlock_t lock;4343-4444- /* Context allocator. */4545- unsigned int iommu_cur_ctx;46424743 /* IOMMU page table, a linear array of ioptes. */4844 iopte_t *page_table; /* The page table itself. */···8486 u16 next;8587 u16 flush;8688 } alloc_info[PBM_NCLUSTERS];8989+9090+ /* CTX allocation. */9191+ unsigned long ctx_lowest_free;9292+ unsigned long ctx_bitmap[IOMMU_NUM_CTXS / (sizeof(unsigned long) * 8)];87938894 /* Here a PCI controller driver describes the areas of8995 * PCI memory space where DMA to/from physical memory