Page MenuHomeFreeBSD

D43027.diff
No OneTemporary

D43027.diff

Index: sys/compat/linuxkpi/common/include/linux/iosys-map.h
===================================================================
--- sys/compat/linuxkpi/common/include/linux/iosys-map.h
+++ sys/compat/linuxkpi/common/include/linux/iosys-map.h
@@ -46,6 +46,16 @@
dbm->vaddr += n;
}
+static inline void
+iosys_map_memset(struct iosys_map *dbm, size_t dbm_offset, int value,
+ size_t len)
+{
+ if (dbm->is_iomem)
+ memset_io(dbm->vaddr_iomem + dbm_offset, value, len);
+ else
+ memset(dbm->vaddr + dbm_offset, value, len);
+}
+
#if defined(LINUXKPI_VERSION) && LINUXKPI_VERSION >= 51801
static inline void
iosys_map_memcpy_to(struct iosys_map *dbm, size_t dbm_offset, const void *src,

File Metadata

Mime Type
text/plain
Expires
Sun, Jan 12, 12:46 AM (21 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15759362
Default Alt Text
D43027.diff (695 B)

Event Timeline