1*4882a593Smuzhiyun# 2*4882a593Smuzhiyun# SGI IP22 (Indy/Indigo2) 3*4882a593Smuzhiyun# 4*4882a593Smuzhiyun# Set the load address to >= 0xffffffff88069000 if you want to leave space for 5*4882a593Smuzhiyun# symmon, 0xffffffff80002000 for production kernels. Note that the value must 6*4882a593Smuzhiyun# be aligned to a multiple of the kernel stack size or the handling of the 7*4882a593Smuzhiyun# current variable will break so for 64-bit kernels we have to raise the start 8*4882a593Smuzhiyun# address by 8kb. 9*4882a593Smuzhiyun# 10*4882a593Smuzhiyuncflags-$(CONFIG_SGI_IP22) += -I$(srctree)/arch/mips/include/asm/mach-ip22 11*4882a593Smuzhiyunifdef CONFIG_32BIT 12*4882a593Smuzhiyunload-$(CONFIG_SGI_IP22) += 0xffffffff88002000 13*4882a593Smuzhiyunendif 14*4882a593Smuzhiyunifdef CONFIG_64BIT 15*4882a593Smuzhiyunload-$(CONFIG_SGI_IP22) += 0xffffffff88004000 16*4882a593Smuzhiyunendif 17*4882a593Smuzhiyun 18*4882a593Smuzhiyun# 19*4882a593Smuzhiyun# SGI IP28 (Indigo2 R10k) 20*4882a593Smuzhiyun# 21*4882a593Smuzhiyun# Set the load address to >= 0xa800000020080000 if you want to leave space for 22*4882a593Smuzhiyun# symmon, 0xa800000020004000 for production kernels ? Note that the value must 23*4882a593Smuzhiyun# be 16kb aligned or the handling of the current variable will break. 24*4882a593Smuzhiyun# Simplified: what IP22 does at 128MB+ in ksegN, IP28 does at 512MB+ in xkphys 25*4882a593Smuzhiyun# 26*4882a593Smuzhiyunifdef CONFIG_SGI_IP28 27*4882a593Smuzhiyun ifeq ($(call cc-option-yn,-march=r10000 -mr10k-cache-barrier=store), n) 28*4882a593Smuzhiyun $(error gcc doesn't support needed option -mr10k-cache-barrier=store) 29*4882a593Smuzhiyun endif 30*4882a593Smuzhiyunendif 31*4882a593Smuzhiyuncflags-$(CONFIG_SGI_IP28) += -mr10k-cache-barrier=store -I$(srctree)/arch/mips/include/asm/mach-ip28 32*4882a593Smuzhiyunload-$(CONFIG_SGI_IP28) += 0xa800000020004000 33