1
0
mirror of git://projects.qi-hardware.com/iris.git synced 2025-04-21 12:27:27 +03:00

new directory organization

This commit is contained in:
Bas Wijnen
2013-05-14 18:30:50 -04:00
parent b06e011a07
commit fa021a80f0
62 changed files with 133 additions and 2572 deletions

32
userspace/boot/mkthreadlist Executable file
View File

@@ -0,0 +1,32 @@
#!/bin/bash
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
.word end_threads
.word 0
EOF