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

📄 memory.h

📁 linux-2.4.29操作系统的源码
💻 H
字号:
/* *  linux/include/asm-arm/arch-anakin/memory.h * *  Copyright (C) 2001 Aleph One Ltd. for Acunia N.V. * * 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. * *  Changelog: *   09-Apr-2001 TTC	Created */#ifndef __ASM_ARCH_MEMORY_H#define __ASM_ARCH_MEMORY_H#define TASK_SIZE		(3u * 1024 * 1024 * 1024)#define TASK_SIZE_26		(64u * 1024 * 1024)#define TASK_UNMAPPED_BASE	(1u * 1024 * 1024 * 1024)#define PAGE_OFFSET		0xc0000000#define PHYS_OFFSET		0x20000000#define __virt_to_phys(a)	((a) - PAGE_OFFSET + PHYS_OFFSET)#define __phys_to_virt(a)	((a) + PAGE_OFFSET - PHYS_OFFSET)#define __virt_to_bus(a)	__virt_to_phys(a)#define __bus_to_virt(a)	__phys_to_virt(a)#define __virt_to_phys__is_a_macro#define __phys_to_virt__is_a_macro#define __virt_to_bus__is_a_macro#define __bus_to_virt__is_a_macro#endif

⌨️ 快捷键说明

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