patch-2.4.9 linux/include/asm-arm/arch-anakin/memory.h
Next file: linux/include/asm-arm/arch-anakin/param.h
Previous file: linux/include/asm-arm/arch-anakin/keyboard.h
Back to the patch index
Back to the overall index
- Lines: 37
- Date:
Sun Aug 12 11:14:00 2001
- Orig file:
v2.4.8/linux/include/asm-arm/arch-anakin/memory.h
- Orig date:
Wed Dec 31 16:00:00 1969
diff -u --recursive --new-file v2.4.8/linux/include/asm-arm/arch-anakin/memory.h linux/include/asm-arm/arch-anakin/memory.h
@@ -0,0 +1,36 @@
+/*
+ * 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
+
+#define PHYS_TO_NID(addr) (0)
+
+#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)