summaryrefslogtreecommitdiff
path: root/include/z64thread.h
blob: 21a397fe51bf0582454771debc80402e0eea3fe8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef Z64THREAD_H
#define Z64THREAD_H

#define Z_THREAD_ID_IDLE      1
#define Z_THREAD_ID_SLOWLY    2
#define Z_THREAD_ID_FAULT     2
#define Z_THREAD_ID_MAIN      3
#define Z_THREAD_ID_GRAPH     4
#define Z_THREAD_ID_SCHED     5
#define Z_THREAD_ID_PADMGR    7
#define Z_THREAD_ID_AUDIOMGR 10
#define Z_THREAD_ID_FLASHROM 13
#define Z_THREAD_ID_DMAMGR   18
#define Z_THREAD_ID_IRQMGR   19

#define Z_PRIORITY_SLOWLY    5
#define Z_PRIORITY_GRAPH     9
#define Z_PRIORITY_AUDIOMGR 11
#define Z_PRIORITY_IDLE     12
#define Z_PRIORITY_MAIN     12
#define Z_PRIORITY_FLASHROM 13
#define Z_PRIORITY_PADMGR   15
#define Z_PRIORITY_SCHED    16
#define Z_PRIORITY_DMAMGR   17
#define Z_PRIORITY_IRQMGR   18
#define Z_PRIORITY_FAULT    OS_PRIORITY_APPMAX

#endif