Root/
| 1 | // Iris: micro-kernel for a capability-based operating system. |
| 2 | // mips/trendtac/threadlist.S: Kernel entry point, called by the boot loader. |
| 3 | // Copyright 2009 Bas Wijnen <wijnen@debian.org> |
| 4 | // |
| 5 | // This program is free software: you can redistribute it and/or modify |
| 6 | // it under the terms of the GNU General Public License as published by |
| 7 | // the Free Software Foundation, either version 3 of the License, or |
| 8 | // (at your option) any later version. |
| 9 | // |
| 10 | // This program is distributed in the hope that it will be useful, |
| 11 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | // GNU General Public License for more details. |
| 14 | // |
| 15 | // You should have received a copy of the GNU General Public License |
| 16 | // along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 17 | |
| 18 | .globl init_start |
| 19 | .globl thread_start |
| 20 | .set noreorder |
| 21 | |
| 22 | .balign 0x1000 |
| 23 | thread0: |
| 24 | .incbin "init.elf" |
| 25 | |
| 26 | .balign 0x1000 |
| 27 | thread1: |
| 28 | .incbin "lcd.elf" |
| 29 | |
| 30 | .balign 0x1000 |
| 31 | thread2: |
| 32 | .incbin "gpio.elf" |
| 33 | |
| 34 | .balign 0x1000 |
| 35 | thread3: |
| 36 | |
| 37 | // Everything from here may be freed after kernel initialization. |
| 38 | init_start: |
| 39 | |
| 40 | thread_start: |
| 41 | .word thread0 |
| 42 | .word thread1 |
| 43 | .word thread2 |
| 44 | .word thread3 |
| 45 |
Branches:
master
