Changeset View
Changeset View
Standalone View
Standalone View
head/sys/compat/linuxkpi/common/include/linux/io.h
Show All 30 Lines | |||||
#ifndef _LINUX_IO_H_ | #ifndef _LINUX_IO_H_ | ||||
#define _LINUX_IO_H_ | #define _LINUX_IO_H_ | ||||
#include <machine/vm.h> | #include <machine/vm.h> | ||||
#include <sys/endian.h> | #include <sys/endian.h> | ||||
#include <sys/types.h> | #include <sys/types.h> | ||||
#include <linux/compiler.h> | #include <linux/compiler.h> | ||||
#include <linux/types.h> | |||||
static inline uint32_t | static inline uint32_t | ||||
__raw_readl(const volatile void *addr) | __raw_readl(const volatile void *addr) | ||||
{ | { | ||||
return *(const volatile uint32_t *)addr; | return *(const volatile uint32_t *)addr; | ||||
} | } | ||||
static inline void | static inline void | ||||
▲ Show 20 Lines • Show All 215 Lines • Show Last 20 Lines |