Root/mips/trendtac/threadlist.S

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
23thread0:
24    .incbin "init.elf"
25
26    .balign 0x1000
27thread1:
28    .incbin "lcd.elf"
29
30    .balign 0x1000
31thread2:
32    .incbin "gpio.elf"
33
34    .balign 0x1000
35thread3:
36
37// Everything from here may be freed after kernel initialization.
38init_start:
39
40thread_start:
41    .word thread0
42    .word thread1
43    .word thread2
44    .word thread3
45

Archive Download this file

Branches:
master



interactive