1
0
mirror of git://projects.qi-hardware.com/iris.git synced 2024-11-17 14:22:47 +02:00
iris/mkthreadlist

33 lines
329 B
Plaintext
Raw Normal View History

2012-09-26 20:03:36 +03:00
#!/bin/sh
cat << EOF
.globl init_start
.globl thread_start
.set noreorder
.balign 0x1000
EOF
for i in "$@" ; do
cat << EOF
$i:
.incbin "fs/$i.elf"
.balign 0x1000
EOF
done
cat << EOF
end_threads:
init_start:
thread_start:
EOF
for i in "$@" ; do
cat << EOF
.word $i
EOF
done
cat << EOF
2012-09-26 23:20:38 +03:00
.word end_threads
2012-09-26 20:03:36 +03:00
.word 0
EOF