/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_GOLDFISH_H #define __LINUX_GOLDFISH_H #include #include #include /* Helpers for Goldfish virtual platform */ static inline void gf_write_ptr(const void *ptr, void __iomem *portl, void __iomem *porth) { const unsigned long addr = (unsigned long)ptr; writel(lower_32_bits(addr), portl); #ifdef CONFIG_64BIT writel(upper_32_bits(addr), porth); #endif } static inline void gf_write_dma_addr(const dma_addr_t addr, void __iomem *portl, void __iomem *porth) { writel(lower_32_bits(addr), portl); #ifdef CONFIG_ARCH_DMA_ADDR_T_64BIT writel(upper_32_bits(addr), porth); #endif } #endif /* __LINUX_GOLDFISH_H */ nput type='hidden' name='id' value='ef470a60e10eb12635d7b84c9502cea3028d44e8'/> Hosts the 0x221E linux distro kernel.Ubuntu
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2016-06-22perf script stackcollapse: Remove reference to the perl interpreterArnaldo Carvalho de Melo
2016-06-21perf script: Add stackcollapse.py scriptPaolo Bonzini