[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



arch-arm.h is basically a copy of arch-i386.h, but there are differences
between the two, so tidy up the ARM header to match exactly how the
kernel is structured.

Cc: Russell King <linux@xxxxxxxxxxxxxxxx>
Signed-off-by: Will Deacon <will.deacon@xxxxxxx>
---
 include/arch-arm.h | 17 +++++++----------
 1 file changed, 7 insertions(+), 10 deletions(-)

diff --git a/include/arch-arm.h b/include/arch-arm.h
index d496d94..a711df0 100644
--- a/include/arch-arm.h
+++ b/include/arch-arm.h
@@ -1,16 +1,13 @@
-#define KERNEL_ADDR	0xc0100220
-#define MODULE_ADDR     0xa0000000	//FIXME: Placeholder
-
-#define PAGE_OFFSET 0xC0000000
-#define TASK_SIZE (PAGE_OFFSET)
+#define PAGE_OFFSET		0xC0000000
 /*
  * Alternative possibilities for PAGE_OFFSET:
- * default 0xB0000000 if VMSPLIT_3G_OPT
- * default 0x78000000 if VMSPLIT_2G
  * default 0x40000000 if VMSPLIT_1G
+ * default 0x80000000 if VMSPLIT_2G
  */
+#define TASK_SIZE		(PAGE_OFFSET - 0x01000000)
+#define MODULE_ADDR		(PAGE_OFFSET - 0x00800000)
+#define KERNEL_ADDR		(PAGE_OFFSET + 0x00008000)
 
-#define PAGE_SHIFT 12
-
-#define PTE_FILE_MAX_BITS 31
+#define PAGE_SHIFT		12
 
+#define PTE_FILE_MAX_BITS	29
-- 
1.8.2.2

--
To unsubscribe from this list: send the line "unsubscribe trinity" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SCSI]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux