mirror of
https://github.com/HackerN64/HackerOoT.git
synced 2026-01-21 10:37:37 -08:00
* add some headers, split some of z64.h * MtxClear -> IdentityMtx * more misc cleanups * move D_80116280 to header, fix build issue * remove z64.h * Revert "MtxClear -> IdentityMtx" This reverts commit 8fc74c0672f72b91ae4068e73228fc46fe9465d4. * split z64path.h and z64skin.h functions * z64face_reaction.h * cleanup overlay global references * trim padding * bss
34 lines
986 B
C
34 lines
986 B
C
#ifndef Z64THREAD_H
|
|
#define Z64THREAD_H
|
|
|
|
#include "ultra64.h"
|
|
|
|
#define THREAD_ID_IDLE 1
|
|
#define THREAD_ID_FAULT 2
|
|
#define THREAD_ID_MAIN 3
|
|
#define THREAD_ID_GRAPH 4
|
|
#define THREAD_ID_SCHED 5
|
|
#define THREAD_ID_PADMGR 7
|
|
#define THREAD_ID_N64DD 8
|
|
#define THREAD_ID_DDMSG 9
|
|
#define THREAD_ID_AUDIOMGR 10
|
|
#define THREAD_ID_DMAMGR 18
|
|
#define THREAD_ID_IRQMGR 19
|
|
|
|
#define THREAD_PRI_IDLE_INIT 10
|
|
#define THREAD_PRI_MAIN_INIT 10
|
|
#define THREAD_PRI_DMAMGR_LOW 10 // Used when decompressing files
|
|
#define THREAD_PRI_GRAPH 11
|
|
#define THREAD_PRI_AUDIOMGR 12
|
|
#define THREAD_PRI_N64DD 13
|
|
#define THREAD_PRI_DDMSG 13
|
|
#define THREAD_PRI_PADMGR 14
|
|
#define THREAD_PRI_MAIN 15
|
|
#define THREAD_PRI_SCHED 15
|
|
#define THREAD_PRI_DMAMGR 16
|
|
#define THREAD_PRI_IRQMGR 17
|
|
#define THREAD_PRI_FAULT_CLIENT (OS_PRIORITY_APPMAX - 1)
|
|
#define THREAD_PRI_FAULT OS_PRIORITY_APPMAX
|
|
|
|
#endif
|