artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
229518c
)
add io_mapping_map_atomic_wc()
author
jsg
<jsg@openbsd.org>
Wed, 20 Mar 2024 05:44:19 +0000
(
05:44
+0000)
committer
jsg
<jsg@openbsd.org>
Wed, 20 Mar 2024 05:44:19 +0000
(
05:44
+0000)
sys/dev/pci/drm/include/linux/io-mapping.h
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/include/linux/io-mapping.h
b/sys/dev/pci/drm/include/linux/io-mapping.h
index
87930d2
..
414d3d4
100644
(file)
--- a/
sys/dev/pci/drm/include/linux/io-mapping.h
+++ b/
sys/dev/pci/drm/include/linux/io-mapping.h
@@
-33,4
+33,15
@@
io_mapping_unmap_local(void *va)
{
}
+static inline void *
+io_mapping_map_atomic_wc(struct io_mapping *map, unsigned long off)
+{
+ return ((uint8_t *)map->iomem + off);
+}
+
+static inline void
+io_mapping_unmap_atomic(void *va)
+{
+}
+
#endif