linuxkpi: Add io_mapping_map_local_wc()
and io_mapping_unmap_local()
`io_mapping_map_local_wc()` is synonymous to `io_mapping_map_atomic_wc()`. Reviewed by: manu Approved by: manu Differential Revision: https://reviews.freebsd.org/D38156
This commit is contained in:
parent
9dafbd0c69
commit
29d0c85c86
@ -93,6 +93,18 @@ io_mapping_unmap_atomic(void *vaddr)
|
||||
{
|
||||
}
|
||||
|
||||
static inline void *
|
||||
io_mapping_map_local_wc(struct io_mapping *mapping, unsigned long offset)
|
||||
{
|
||||
|
||||
return (io_mapping_map_atomic_wc(mapping, offset));
|
||||
}
|
||||
|
||||
static inline void
|
||||
io_mapping_unmap_local(void *vaddr __unused)
|
||||
{
|
||||
}
|
||||
|
||||
static inline void *
|
||||
io_mapping_map_wc(struct io_mapping *mapping, unsigned long offset,
|
||||
unsigned long size)
|
||||
|
Loading…
Reference in New Issue
Block a user