// Iris: micro-kernel for a capability-based operating system. // mips/nanonote/threadlist.S: List of initial threads. // Copyright 2009 Bas Wijnen // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program. If not, see . .globl init_start .globl thread_start .set noreorder #if defined (UDCBOOT) .balign 0x1000 thread0: .incbin "fs/bootinit.elf" .balign 0x1000 thread1: .incbin "fs/udc.elf" .balign 0x1000 thread2: // Everything from here may be freed after kernel initialization. init_start: thread_start: .word thread0 .word thread1 .word thread2 #elif defined (SDBOOT) .balign 0x1000 thread0: .incbin "fs/bootinit.elf" .balign 0x1000 thread1: .incbin "fs/sd+mmc.elf" .balign 0x1000 thread2: .incbin "fs/partition.elf" .balign 0x1000 thread3: .incbin "fs/fat.elf" .balign 0x1000 thread4: // Everything from here may be freed after kernel initialization. init_start: thread_start: .word thread0 .word thread1 .word thread2 .word thread3 #elif defined (UNBRICK) .balign 0x1000 thread0: .incbin "fs/bootinit.elf" .balign 0x1000 thread1: .incbin "fs/nand.elf" .balign 0x1000 thread2: .incbin "fs/usb-mass-storage.elf" .balign 0x1000 thread3: // Everything from here may be freed after kernel initialization. init_start: thread_start: .word thread0 .word thread1 .word thread2 .word thread3 #else #error "boot method not defined" #endif