18c2ecf20Sopenharmony_ci# 28c2ecf20Sopenharmony_ci# SGI IP22 (Indy/Indigo2) 38c2ecf20Sopenharmony_ci# 48c2ecf20Sopenharmony_ci# Set the load address to >= 0xffffffff88069000 if you want to leave space for 58c2ecf20Sopenharmony_ci# symmon, 0xffffffff80002000 for production kernels. Note that the value must 68c2ecf20Sopenharmony_ci# be aligned to a multiple of the kernel stack size or the handling of the 78c2ecf20Sopenharmony_ci# current variable will break so for 64-bit kernels we have to raise the start 88c2ecf20Sopenharmony_ci# address by 8kb. 98c2ecf20Sopenharmony_ci# 108c2ecf20Sopenharmony_cicflags-$(CONFIG_SGI_IP22) += -I$(srctree)/arch/mips/include/asm/mach-ip22 118c2ecf20Sopenharmony_ciifdef CONFIG_32BIT 128c2ecf20Sopenharmony_ciload-$(CONFIG_SGI_IP22) += 0xffffffff88002000 138c2ecf20Sopenharmony_ciendif 148c2ecf20Sopenharmony_ciifdef CONFIG_64BIT 158c2ecf20Sopenharmony_ciload-$(CONFIG_SGI_IP22) += 0xffffffff88004000 168c2ecf20Sopenharmony_ciendif 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_ci# 198c2ecf20Sopenharmony_ci# SGI IP28 (Indigo2 R10k) 208c2ecf20Sopenharmony_ci# 218c2ecf20Sopenharmony_ci# Set the load address to >= 0xa800000020080000 if you want to leave space for 228c2ecf20Sopenharmony_ci# symmon, 0xa800000020004000 for production kernels ? Note that the value must 238c2ecf20Sopenharmony_ci# be 16kb aligned or the handling of the current variable will break. 248c2ecf20Sopenharmony_ci# Simplified: what IP22 does at 128MB+ in ksegN, IP28 does at 512MB+ in xkphys 258c2ecf20Sopenharmony_ci# 268c2ecf20Sopenharmony_ciifdef CONFIG_SGI_IP28 278c2ecf20Sopenharmony_ci ifeq ($(call cc-option-yn,-march=r10000 -mr10k-cache-barrier=store), n) 288c2ecf20Sopenharmony_ci $(error gcc doesn't support needed option -mr10k-cache-barrier=store) 298c2ecf20Sopenharmony_ci endif 308c2ecf20Sopenharmony_ciendif 318c2ecf20Sopenharmony_cicflags-$(CONFIG_SGI_IP28) += -mr10k-cache-barrier=store -I$(srctree)/arch/mips/include/asm/mach-ip28 328c2ecf20Sopenharmony_ciload-$(CONFIG_SGI_IP28) += 0xa800000020004000 33