Files
linux-apfs/include/linux/goldfish.h
T

16 lines
311 B
C
Raw Normal View History

2014-04-28 20:47:36 +01:00
#ifndef __LINUX_GOLDFISH_H
#define __LINUX_GOLDFISH_H
/* Helpers for Goldfish virtual platform */
static inline void gf_write64(unsigned long data,
void __iomem *portl, void __iomem *porth)
{
writel((u32)data, portl);
2014-05-19 14:34:09 +01:00
#ifdef CONFIG_64BIT
2014-04-28 20:47:36 +01:00
writel(data>>32, porth);
#endif
}
#endif /* __LINUX_GOLDFISH_H */