1
0
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
TP-Link_Archer-XR500v/EN7526G_3.18Kernel_SDK/linux-3.18.21/include/linux/goldfish.h
2024-07-22 01:58:46 -03:00

16 lines
311 B
C
Executable File

#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);
#ifdef CONFIG_64BIT
writel(data>>32, porth);
#endif
}
#endif /* __LINUX_GOLDFISH_H */