linux/arch/x86/lib/iomem.c

#include <linux/string.h>
#include <linux/module.h>
#include <linux/io.h>
#include <linux/kmsan-checks.h>

#define movs(type,to,from)

/* Originally from i386/string.h */
static __always_inline void rep_movs(void *to, const void *from, size_t n)
{}

static void string_memcpy_fromio(void *to, const volatile void __iomem *from, size_t n)
{}

static void string_memcpy_toio(volatile void __iomem *to, const void *from, size_t n)
{}

static void unrolled_memcpy_fromio(void *to, const volatile void __iomem *from, size_t n)
{}

static void unrolled_memcpy_toio(volatile void __iomem *to, const void *from, size_t n)
{}

static void unrolled_memset_io(volatile void __iomem *a, int b, size_t c)
{}

void memcpy_fromio(void *to, const volatile void __iomem *from, size_t n)
{}
EXPORT_SYMBOL();

void memcpy_toio(volatile void __iomem *to, const void *from, size_t n)
{}
EXPORT_SYMBOL();

void memset_io(volatile void __iomem *a, int b, size_t c)
{}
EXPORT_SYMBOL();