⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 memory.h

📁 嵌入式系统设计与实例开发实验教材二源码 多线程应用程序设计 串行端口程序设计 AD接口实验 CAN总线通信实验 GPS通信实验 Linux内核移植与编译实验 IC卡读写实验 SD驱动使
💻 H
字号:
/* *  linux/include/asm-arm/memory.h * *  Copyright (C) 2000 Russell King * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * *  Note: this file should not be included by non-asm/.h files */#ifndef __ASM_ARM_MEMORY_H#define __ASM_ARM_MEMORY_H#include <asm/arch/memory.h>/* * These are *only* valid on the kernel direct mapped RAM memory. */static inline unsigned long virt_to_phys(volatile void *x){	return __virt_to_phys((unsigned long)(x));}static inline void *phys_to_virt(unsigned long x){	return (void *)(__phys_to_virt((unsigned long)(x)));}/* * Virtual <-> DMA view memory address translations * Again, these are *only* valid on the kernel direct mapped RAM * memory. */#define virt_to_bus(x)		(__virt_to_bus((unsigned long)(x)))#define bus_to_virt(x)		((void *)(__bus_to_virt((unsigned long)(x))))/* We want large page mapping possible */#define VMALLOC_ALIGN		0x10000#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -