=================================================================== RCS file: /cvs/prex-old/sys/arch/arm/cats/platform.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- prex-old/sys/arch/arm/cats/platform.h 2008/07/18 21:21:48 1.1 +++ prex-old/sys/arch/arm/cats/platform.h 2008/07/20 20:49:10 1.2 @@ -27,8 +27,8 @@ * SUCH DAMAGE. */ -#ifndef _GBA_PLATFORM_H -#define _GBA_PLATFORM_H +#ifndef _CATS_PLATFORM_H +#define _CATS_PLATFORM_H /* * Memory location @@ -36,15 +36,15 @@ #define PAGE_OFFSET 0x00000000 -#define KERNEL_BASE 0x02000000 -#define KERNEL_MAX 0x02400000 -#define USER_BASE 0x02000000 -#define USER_MAX 0x02040000 +#define KERNEL_BASE 0x00200000 +#define KERNEL_MAX 0x00400000 /* 2M */ +#define USER_BASE 0x00400004 /* 2M + 4 */ +#define USER_MAX 0x02000000 /* 32M */ -#define BOOT_INFO 0x00200000 -#define BOOT_STACK 0x00300000 -#define INT_STACK 0x00307900 -#define SYS_STACK 0x0033ff00 +#define BOOT_INFO 0x03f00000 /* 63M */ +#define BOOT_STACK 0x03f00800 /* 63M + BOOT_INFO_SIZE */ +#define INT_STACK 0x03f02800 /* BOOT_STACK + 8K */ +#define SYS_STACK 0x03f04800 /* INT_STACK + 8K */ #ifndef __ASSEMBLY__ @@ -174,4 +174,4 @@ extern void machine_init(void); #endif /* !__ASSEMBLY__ */ -#endif /* !_GBA_PLATFORM_H */ +#endif /* !_CATS_PLATFORM_H */