提交 37950718 编写于 作者: A arnd@arndb.de 提交者: Paul Mackerras

[POWERPC] spufs: one more fix for 64k pages

The SPU context save/restore code is currently built
for a 4k page size and we provide a _shipped version
of it since most people don't have the spu toolchain
that is needed to rebuild that code.

This patch hardcodes the data structures to a 64k
page alignment, which also guarantees 4k alignment
but unfortunately wastes 60k of memory per SPU
context that is created in the running system.

We will follow up on this with another patch to
reduce that overhead or maybe redo the context
save/restore logic to do this part entirely different,
but for now it should make experimental systems
work with either page size.
Signed-off-by: NArnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: NPaul Mackerras <paulus@samba.org>
上级 c9832948
...@@ -10,8 +10,10 @@ SPU_CC := $(SPU_CROSS)gcc ...@@ -10,8 +10,10 @@ SPU_CC := $(SPU_CROSS)gcc
SPU_AS := $(SPU_CROSS)gcc SPU_AS := $(SPU_CROSS)gcc
SPU_LD := $(SPU_CROSS)ld SPU_LD := $(SPU_CROSS)ld
SPU_OBJCOPY := $(SPU_CROSS)objcopy SPU_OBJCOPY := $(SPU_CROSS)objcopy
SPU_CFLAGS := -O2 -Wall -I$(srctree)/include -I$(objtree)/include2 SPU_CFLAGS := -O2 -Wall -I$(srctree)/include \
SPU_AFLAGS := -c -D__ASSEMBLY__ -I$(srctree)/include -I$(objtree)/include2 -I$(objtree)/include2 -D__KERNEL__
SPU_AFLAGS := -c -D__ASSEMBLY__ -I$(srctree)/include \
-I$(objtree)/include2 -D__KERNEL__
SPU_LDFLAGS := -N -Ttext=0x0 SPU_LDFLAGS := -N -Ttext=0x0
$(obj)/switch.o: $(obj)/spu_save_dump.h $(obj)/spu_restore_dump.h $(obj)/switch.o: $(obj)/spu_save_dump.h $(obj)/spu_restore_dump.h
...@@ -48,7 +50,8 @@ cmd_hexdump = ( \ ...@@ -48,7 +50,8 @@ cmd_hexdump = ( \
echo " * Hex-dump auto generated from $*.c." ; \ echo " * Hex-dump auto generated from $*.c." ; \
echo " * Do not edit!" ; \ echo " * Do not edit!" ; \
echo " */" ; \ echo " */" ; \
echo "static unsigned int $*_code[] __page_aligned = {" ; \ echo "static unsigned int $*_code[] " \
"__attribute__((__aligned__(128))) = {" ; \
hexdump -v -e '"0x" 4/1 "%02x" "," "\n"' $< ; \ hexdump -v -e '"0x" 4/1 "%02x" "," "\n"' $< ; \
echo "};" ; \ echo "};" ; \
) > $@ ) > $@
......
...@@ -3,229 +3,901 @@ ...@@ -3,229 +3,901 @@
* Hex-dump auto generated from spu_restore.c. * Hex-dump auto generated from spu_restore.c.
* Do not edit! * Do not edit!
*/ */
static unsigned int spu_restore_code[] __page_aligned = { static unsigned int spu_restore_code[] __attribute__((__aligned__(128))) = {
0x40800000, 0x409ff801, 0x24000080, 0x24fd8081, 0x40800000,
0x1cd80081, 0x33001180, 0x42030003, 0x33800284, 0x409ff801,
0x1c010204, 0x40200000, 0x40200000, 0x40200000, 0x24000080,
0x34000190, 0x34004191, 0x34008192, 0x3400c193, 0x24fd8081,
0x141fc205, 0x23fffd84, 0x1c100183, 0x217ffa85, 0x1cd80081,
0x3080a000, 0x3080a201, 0x3080a402, 0x3080a603, 0x33001180,
0x3080a804, 0x3080aa05, 0x3080ac06, 0x3080ae07, 0x42030003,
0x3080b008, 0x3080b209, 0x3080b40a, 0x3080b60b, 0x33800284,
0x3080b80c, 0x3080ba0d, 0x3080bc0e, 0x3080be0f, 0x1c010204,
0x00003ffc, 0x00000000, 0x00000000, 0x00000000, 0x40200000,
0x01a00182, 0x3ec00083, 0xb0a14103, 0x01a00204, 0x40200000,
0x3ec10082, 0x4202800e, 0x04000703, 0xb0a14202, 0x40200000,
0x21a00803, 0x3fbf028d, 0x3f20068d, 0x3fbe0682, 0x34000190,
0x3fe30102, 0x21a00882, 0x3f82028f, 0x3fe3078f, 0x34004191,
0x3fbf0784, 0x3f200204, 0x3fbe0204, 0x3fe30204, 0x34008192,
0x04000203, 0x21a00903, 0x40848002, 0x21a00982, 0x3400c193,
0x40800003, 0x21a00a03, 0x40802002, 0x21a00a82, 0x141fc205,
0x21a00083, 0x40800082, 0x21a00b02, 0x10002818, 0x23fffd84,
0x40a80002, 0x32800007, 0x4207000c, 0x18008208, 0x1c100183,
0x40a0000b, 0x4080020a, 0x40800709, 0x00200000, 0x217ffa85,
0x42070002, 0x3ac30384, 0x1cffc489, 0x00200000, 0x3080a000,
0x18008383, 0x38830382, 0x4cffc486, 0x3ac28185, 0x3080a201,
0xb0408584, 0x28830382, 0x1c020387, 0x38828182, 0x3080a402,
0xb0408405, 0x1802c408, 0x28828182, 0x217ff886, 0x3080a603,
0x04000583, 0x21a00803, 0x3fbe0682, 0x3fe30102, 0x3080a804,
0x04000106, 0x21a00886, 0x04000603, 0x21a00903, 0x3080aa05,
0x40803c02, 0x21a00982, 0x40800003, 0x04000184, 0x3080ac06,
0x21a00a04, 0x40802202, 0x21a00a82, 0x42028005, 0x3080ae07,
0x34208702, 0x21002282, 0x21a00804, 0x21a00886, 0x3080b008,
0x3fbf0782, 0x3f200102, 0x3fbe0102, 0x3fe30102, 0x3080b209,
0x21a00902, 0x40804003, 0x21a00983, 0x21a00a04, 0x3080b40a,
0x40805a02, 0x21a00a82, 0x40800083, 0x21a00b83, 0x3080b60b,
0x01a00c02, 0x01a00d83, 0x3420c282, 0x21a00e02, 0x3080b80c,
0x34210283, 0x21a00f03, 0x34200284, 0x77400200, 0x3080ba0d,
0x3421c282, 0x21a00702, 0x34218283, 0x21a00083, 0x3080bc0e,
0x34214282, 0x21a00b02, 0x4200480c, 0x00200000, 0x3080be0f,
0x1c010286, 0x34220284, 0x34220302, 0x0f608203, 0x00003ffc,
0x5c024204, 0x3b81810b, 0x42013c02, 0x00200000, 0x00000000,
0x18008185, 0x38808183, 0x3b814182, 0x21004e84, 0x00000000,
0x4020007f, 0x35000100, 0x000004e0, 0x000002a0, 0x00000000,
0x000002e8, 0x00000428, 0x00000360, 0x000002e8, 0x01a00182,
0x000004a0, 0x00000468, 0x000003c8, 0x00000360, 0x3ec00083,
0x409ffe02, 0x30801203, 0x40800204, 0x3ec40085, 0xb0a14103,
0x10009c09, 0x3ac10606, 0xb060c105, 0x4020007f, 0x01a00204,
0x4020007f, 0x20801203, 0x38810602, 0xb0408586, 0x3ec10082,
0x28810602, 0x32004180, 0x34204702, 0x21a00382, 0x4202800e,
0x4020007f, 0x327fdc80, 0x409ffe02, 0x30801203, 0x04000703,
0x40800204, 0x3ec40087, 0x40800405, 0x00200000, 0xb0a14202,
0x40800606, 0x3ac10608, 0x3ac14609, 0x3ac1860a, 0x21a00803,
0xb060c107, 0x20801203, 0x41004003, 0x38810602, 0x3fbf028d,
0x4020007f, 0xb0408188, 0x4020007f, 0x28810602, 0x3f20068d,
0x41201002, 0x38814603, 0x10009c09, 0xb060c109, 0x3fbe0682,
0x4020007f, 0x28814603, 0x41193f83, 0x38818602, 0x3fe30102,
0x60ffc003, 0xb040818a, 0x28818602, 0x32003080, 0x21a00882,
0x409ffe02, 0x30801203, 0x40800204, 0x3ec40087, 0x3f82028f,
0x41201008, 0x10009c14, 0x40800405, 0x3ac10609, 0x3fe3078f,
0x40800606, 0x3ac1460a, 0xb060c107, 0x3ac1860b, 0x3fbf0784,
0x20801203, 0x38810602, 0xb0408409, 0x28810602, 0x3f200204,
0x38814603, 0xb060c40a, 0x4020007f, 0x28814603, 0x3fbe0204,
0x41193f83, 0x38818602, 0x60ffc003, 0xb040818b, 0x3fe30204,
0x28818602, 0x32002380, 0x409ffe02, 0x30801204, 0x04000203,
0x40800205, 0x3ec40083, 0x40800406, 0x3ac14607, 0x21a00903,
0x3ac18608, 0xb0810103, 0x41004002, 0x20801204, 0x40848002,
0x4020007f, 0x38814603, 0x10009c0b, 0xb060c107, 0x21a00982,
0x4020007f, 0x4020007f, 0x28814603, 0x38818602, 0x40800003,
0x4020007f, 0x4020007f, 0xb0408588, 0x28818602, 0x21a00a03,
0x4020007f, 0x32001780, 0x409ffe02, 0x1000640e, 0x40802002,
0x40800204, 0x30801203, 0x40800405, 0x3ec40087, 0x21a00a82,
0x40800606, 0x3ac10608, 0x3ac14609, 0x3ac1860a, 0x21a00083,
0xb060c107, 0x20801203, 0x413d8003, 0x38810602, 0x40800082,
0x4020007f, 0x327fd780, 0x409ffe02, 0x10007f0c, 0x21a00b02,
0x40800205, 0x30801204, 0x40800406, 0x3ec40083, 0x10002818,
0x3ac14607, 0x3ac18608, 0xb0810103, 0x413d8002, 0x42a00002,
0x20801204, 0x38814603, 0x4020007f, 0x327feb80, 0x32800007,
0x409ffe02, 0x30801203, 0x40800204, 0x3ec40087, 0x4207000c,
0x40800405, 0x1000650a, 0x40800606, 0x3ac10608, 0x18008208,
0x3ac14609, 0x3ac1860a, 0xb060c107, 0x20801203, 0x40a0000b,
0x38810602, 0xb0408588, 0x4020007f, 0x327fc980, 0x4080020a,
0x00400000, 0x40800003, 0x4020007f, 0x35000000, 0x40800709,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00200000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x42070002,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3ac30384,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x1cffc489,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00200000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x18008383,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x38830382,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x4cffc486,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3ac28185,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xb0408584,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x28830382,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x1c020387,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x38828182,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xb0408405,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x1802c408,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x28828182,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x217ff886,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x04000583,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x21a00803,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3fbe0682,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3fe30102,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x04000106,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x21a00886,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x04000603,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x21a00903,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40803c02,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x21a00982,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40800003,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x04000184,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x21a00a04,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40802202,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x21a00a82,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x42028005,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x34208702,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x21002282,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x21a00804,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x21a00886,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3fbf0782,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3f200102,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3fbe0102,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3fe30102,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x21a00902,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40804003,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x21a00983,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x21a00a04,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40805a02,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x21a00a82,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40800083,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x21a00b83,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x01a00c02,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x01a00d83,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3420c282,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x21a00e02,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x34210283,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x21a00f03,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x34200284,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x77400200,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3421c282,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x21a00702,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x34218283,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x21a00083,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x34214282,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x21a00b02,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x4200480c,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00200000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x1c010286,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x34220284,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x34220302,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0f608203,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x5c024204,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3b81810b,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x42013c02,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00200000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x18008185,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x38808183,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3b814182,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x21004e84,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x4020007f,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x35000100,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x000004e0,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x000002a0,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x000002e8,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000428,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000360,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x000002e8,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x000004a0,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000468,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x000003c8,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000360,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x409ffe02,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x30801203,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40800204,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3ec40085,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x10009c09,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3ac10606,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xb060c105,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x4020007f,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x4020007f,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x20801203,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x38810602,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xb0408586,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x28810602,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x32004180,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x34204702,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x21a00382,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x4020007f,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x327fdc80,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x409ffe02,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x30801203,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40800204,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3ec40087,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40800405,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00200000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40800606,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3ac10608,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3ac14609,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3ac1860a,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xb060c107,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x20801203,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x41004003,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x38810602,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x4020007f,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xb0408188,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x4020007f,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x28810602,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x41201002,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x38814603,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x10009c09,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xb060c109,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x4020007f,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x28814603,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x41193f83,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x38818602,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x60ffc003,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xb040818a,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x28818602,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x32003080,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x409ffe02,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x30801203,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40800204,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3ec40087,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x41201008,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x10009c14,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40800405,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3ac10609,
0x40800606,
0x3ac1460a,
0xb060c107,
0x3ac1860b,
0x20801203,
0x38810602,
0xb0408409,
0x28810602,
0x38814603,
0xb060c40a,
0x4020007f,
0x28814603,
0x41193f83,
0x38818602,
0x60ffc003,
0xb040818b,
0x28818602,
0x32002380,
0x409ffe02,
0x30801204,
0x40800205,
0x3ec40083,
0x40800406,
0x3ac14607,
0x3ac18608,
0xb0810103,
0x41004002,
0x20801204,
0x4020007f,
0x38814603,
0x10009c0b,
0xb060c107,
0x4020007f,
0x4020007f,
0x28814603,
0x38818602,
0x4020007f,
0x4020007f,
0xb0408588,
0x28818602,
0x4020007f,
0x32001780,
0x409ffe02,
0x1000640e,
0x40800204,
0x30801203,
0x40800405,
0x3ec40087,
0x40800606,
0x3ac10608,
0x3ac14609,
0x3ac1860a,
0xb060c107,
0x20801203,
0x413d8003,
0x38810602,
0x4020007f,
0x327fd780,
0x409ffe02,
0x10007f0c,
0x40800205,
0x30801204,
0x40800406,
0x3ec40083,
0x3ac14607,
0x3ac18608,
0xb0810103,
0x413d8002,
0x20801204,
0x38814603,
0x4020007f,
0x327feb80,
0x409ffe02,
0x30801203,
0x40800204,
0x3ec40087,
0x40800405,
0x1000650a,
0x40800606,
0x3ac10608,
0x3ac14609,
0x3ac1860a,
0xb060c107,
0x20801203,
0x38810602,
0xb0408588,
0x4020007f,
0x327fc980,
0x00400000,
0x40800003,
0x4020007f,
0x35000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
}; };
...@@ -3,189 +3,741 @@ ...@@ -3,189 +3,741 @@
* Hex-dump auto generated from spu_save.c. * Hex-dump auto generated from spu_save.c.
* Do not edit! * Do not edit!
*/ */
static unsigned int spu_save_code[] __page_aligned = { static unsigned int spu_save_code[] __attribute__((__aligned__(128))) = {
0x20805000, 0x20805201, 0x20805402, 0x20805603, 0x20805000,
0x20805804, 0x20805a05, 0x20805c06, 0x20805e07, 0x20805201,
0x20806008, 0x20806209, 0x2080640a, 0x2080660b, 0x20805402,
0x2080680c, 0x20806a0d, 0x20806c0e, 0x20806e0f, 0x20805603,
0x4201c003, 0x33800184, 0x1c010204, 0x40200000, 0x20805804,
0x24000190, 0x24004191, 0x24008192, 0x2400c193, 0x20805a05,
0x141fc205, 0x23fffd84, 0x1c100183, 0x217ffb85, 0x20805c06,
0x40800000, 0x409ff801, 0x24000080, 0x24fd8081, 0x20805e07,
0x1cd80081, 0x33000180, 0x00000000, 0x00000000, 0x20806008,
0x01a00182, 0x3ec00083, 0xb1c38103, 0x01a00204, 0x20806209,
0x3ec10082, 0x4201400d, 0xb1c38202, 0x01a00583, 0x2080640a,
0x34218682, 0x3ed80684, 0xb0408184, 0x24218682, 0x2080660b,
0x01a00603, 0x00200000, 0x34214682, 0x3ed40684, 0x2080680c,
0xb0408184, 0x40800003, 0x24214682, 0x21a00083, 0x20806a0d,
0x40800082, 0x21a00b02, 0x4020007f, 0x1000251e, 0x20806c0e,
0x40a80002, 0x32800008, 0x4205c00c, 0x00200000, 0x20806e0f,
0x40a0000b, 0x3f82070f, 0x4080020a, 0x40800709, 0x4201c003,
0x3fe3078f, 0x3fbf0783, 0x3f200183, 0x3fbe0183, 0x33800184,
0x3fe30187, 0x18008387, 0x4205c002, 0x3ac30404, 0x1c010204,
0x1cffc489, 0x00200000, 0x18008403, 0x38830402, 0x40200000,
0x4cffc486, 0x3ac28185, 0xb0408584, 0x28830402, 0x24000190,
0x1c020408, 0x38828182, 0xb0408385, 0x1802c387, 0x24004191,
0x28828182, 0x217ff886, 0x04000582, 0x32800007, 0x24008192,
0x21a00802, 0x3fbf0705, 0x3f200285, 0x3fbe0285, 0x2400c193,
0x3fe30285, 0x21a00885, 0x04000603, 0x21a00903, 0x141fc205,
0x40803c02, 0x21a00982, 0x04000386, 0x21a00a06, 0x23fffd84,
0x40801202, 0x21a00a82, 0x73000003, 0x24200683, 0x1c100183,
0x01a00404, 0x00200000, 0x34204682, 0x3ec40683, 0x217ffb85,
0xb0408203, 0x24204682, 0x01a00783, 0x00200000, 0x40800000,
0x3421c682, 0x3edc0684, 0xb0408184, 0x2421c682, 0x409ff801,
0x21a00806, 0x21a00885, 0x3fbf0784, 0x3f200204, 0x24000080,
0x3fbe0204, 0x3fe30204, 0x21a00904, 0x40804002, 0x24fd8081,
0x21a00982, 0x21a00a06, 0x40805a02, 0x21a00a82, 0x1cd80081,
0x04000683, 0x21a00803, 0x21a00885, 0x21a00904, 0x33000180,
0x40848002, 0x21a00982, 0x21a00a06, 0x40801002, 0x00000000,
0x21a00a82, 0x21a00a06, 0x40806602, 0x00200000, 0x00000000,
0x35800009, 0x21a00a82, 0x40800083, 0x21a00b83, 0x01a00182,
0x01a00c02, 0x01a00d83, 0x00003ffb, 0x40800003, 0x3ec00083,
0x4020007f, 0x35000000, 0x00000000, 0x00000000, 0xb1c38103,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x01a00204,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3ec10082,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x4201400d,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xb1c38202,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x01a00583,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x34218682,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3ed80684,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xb0408184,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x24218682,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x01a00603,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00200000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x34214682,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3ed40684,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xb0408184,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40800003,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x24214682,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x21a00083,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40800082,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x21a00b02,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x4020007f,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x1000251e,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x42a00002,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x32800008,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x4205c00c,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00200000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40a0000b,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3f82070f,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x4080020a,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40800709,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3fe3078f,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3fbf0783,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3f200183,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3fbe0183,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3fe30187,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x18008387,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x4205c002,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3ac30404,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x1cffc489,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00200000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x18008403,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x38830402,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x4cffc486,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3ac28185,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xb0408584,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x28830402,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x1c020408,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x38828182,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xb0408385,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x1802c387,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x28828182,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x217ff886,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x04000582,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x32800007,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x21a00802,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3fbf0705,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3f200285,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3fbe0285,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3fe30285,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x21a00885,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x04000603,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x21a00903,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40803c02,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x21a00982,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x04000386,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x21a00a06,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40801202,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x21a00a82,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x73000003,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x24200683,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x01a00404,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00200000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x34204682,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3ec40683,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xb0408203,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x24204682,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x01a00783,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00200000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3421c682,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3edc0684,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xb0408184,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x2421c682,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x21a00806,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x21a00885,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3fbf0784,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3f200204,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3fbe0204,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x3fe30204,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x21a00904,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40804002,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x21a00982,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x21a00a06,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40805a02,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x21a00a82,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x04000683,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x21a00803,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x21a00885,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x21a00904,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40848002,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x21a00982,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x21a00a06,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40801002,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x21a00a82,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x21a00a06,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40806602,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00200000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x35800009,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x21a00a82,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40800083,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x21a00b83,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x01a00c02,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x01a00d83,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00003ffb,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x40800003,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x4020007f,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x35000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
}; };
...@@ -86,10 +86,18 @@ struct spu_lscsa { ...@@ -86,10 +86,18 @@ struct spu_lscsa {
struct spu_reg128 event_mask; struct spu_reg128 event_mask;
struct spu_reg128 srr0; struct spu_reg128 srr0;
struct spu_reg128 stopped_status; struct spu_reg128 stopped_status;
struct spu_reg128 pad[119]; /* 'ls' must be page-aligned. */
unsigned char ls[LS_SIZE]; /*
* 'ls' must be page-aligned on all configurations.
* Since we don't want to rely on having the spu-gcc
* installed to build the kernel and this structure
* is used in the SPU-side code, make it 64k-page
* aligned for now.
*/
unsigned char ls[LS_SIZE] __attribute__((aligned(65536)));
}; };
#ifndef __SPU__
/* /*
* struct spu_problem_collapsed - condensed problem state area, w/o pads. * struct spu_problem_collapsed - condensed problem state area, w/o pads.
*/ */
...@@ -250,6 +258,7 @@ extern int spu_restore(struct spu_state *new, struct spu *spu); ...@@ -250,6 +258,7 @@ extern int spu_restore(struct spu_state *new, struct spu *spu);
extern int spu_switch(struct spu_state *prev, struct spu_state *new, extern int spu_switch(struct spu_state *prev, struct spu_state *new,
struct spu *spu); struct spu *spu);
#endif /* !__SPU__ */
#endif /* __KERNEL__ */ #endif /* __KERNEL__ */
#endif /* !__ASSEMBLY__ */ #endif /* !__ASSEMBLY__ */
#endif /* _SPU_CSA_H_ */ #endif /* _SPU_CSA_H_ */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册