Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
66875088
Commit
66875088
authored
Apr 25, 2007
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC64]: Add generic iommu and strbuf structs to iommu.h
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
9b3627f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
0 deletions
+29
-0
include/asm-sparc64/iommu.h
include/asm-sparc64/iommu.h
+29
-0
No files found.
include/asm-sparc64/iommu.h
View file @
66875088
...
...
@@ -24,4 +24,33 @@ struct iommu_arena {
unsigned
int
limit
;
};
struct
iommu
{
spinlock_t
lock
;
struct
iommu_arena
arena
;
iopte_t
*
page_table
;
u32
page_table_map_base
;
unsigned
long
iommu_control
;
unsigned
long
iommu_tsbbase
;
unsigned
long
iommu_flush
;
unsigned
long
iommu_ctxflush
;
unsigned
long
write_complete_reg
;
unsigned
long
dummy_page
;
unsigned
long
dummy_page_pa
;
unsigned
long
ctx_lowest_free
;
DECLARE_BITMAP
(
ctx_bitmap
,
IOMMU_NUM_CTXS
);
u32
dma_addr_mask
;
};
struct
strbuf
{
int
strbuf_enabled
;
unsigned
long
strbuf_control
;
unsigned
long
strbuf_pflush
;
unsigned
long
strbuf_fsync
;
unsigned
long
strbuf_ctxflush
;
unsigned
long
strbuf_ctxmatch_base
;
unsigned
long
strbuf_flushflag_pa
;
volatile
unsigned
long
*
strbuf_flushflag
;
volatile
unsigned
long
__flushflag_buf
[(
64
+
(
64
-
1
))
/
sizeof
(
long
)];
};
#endif
/* !(_SPARC_IOMMU_H) */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment