File tree Expand file tree Collapse file tree 3 files changed +493
-474
lines changed Expand file tree Collapse file tree 3 files changed +493
-474
lines changed Original file line number Diff line number Diff line change @@ -131,4 +131,22 @@ void amd_iommu_apply_ivrs_quirks(void);
131
131
static inline void amd_iommu_apply_ivrs_quirks (void ) { }
132
132
#endif
133
133
134
+ /* TODO: These are temporary and will be removed once fully transition */
135
+ extern void free_pagetable (struct domain_pgtable * pgtable );
136
+ extern int iommu_map_page (struct protection_domain * dom ,
137
+ unsigned long bus_addr ,
138
+ unsigned long phys_addr ,
139
+ unsigned long page_size ,
140
+ int prot ,
141
+ gfp_t gfp );
142
+ extern unsigned long iommu_unmap_page (struct protection_domain * dom ,
143
+ unsigned long bus_addr ,
144
+ unsigned long page_size );
145
+ extern u64 * fetch_pte (struct protection_domain * domain ,
146
+ unsigned long address ,
147
+ unsigned long * page_size );
148
+ extern void amd_iommu_domain_get_pgtable (struct protection_domain * domain ,
149
+ struct domain_pgtable * pgtable );
150
+ extern void amd_iommu_domain_set_pgtable (struct protection_domain * domain ,
151
+ u64 * root , int mode );
134
152
#endif
You can’t perform that action at this time.
0 commit comments