Mario Kart 64
Loading...
Searching...
No Matches
os_message.h File Reference
#include <PR/ultratypes.h>
#include <PR/os_thread.h>
Include dependency graph for os_message.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define OS_NUM_EVENTS   23
 
#define OS_EVENT_SW1   0 /* CPU SW1 interrupt */
 
#define OS_EVENT_SW2   1 /* CPU SW2 interrupt */
 
#define OS_EVENT_CART   2 /* Cartridge interrupt: used by rmon */
 
#define OS_EVENT_COUNTER   3 /* Counter int: used by VI/Timer Mgr */
 
#define OS_EVENT_SP   4 /* SP task done interrupt */
 
#define OS_EVENT_SI   5 /* SI (controller) interrupt */
 
#define OS_EVENT_AI   6 /* AI interrupt */
 
#define OS_EVENT_VI   7 /* VI interrupt: used by VI/Timer Mgr */
 
#define OS_EVENT_PI   8 /* PI interrupt: used by PI Manager */
 
#define OS_EVENT_DP   9 /* DP full sync interrupt */
 
#define OS_EVENT_CPU_BREAK   10 /* CPU breakpoint: used by rmon */
 
#define OS_EVENT_SP_BREAK   11 /* SP breakpoint: used by rmon */
 
#define OS_EVENT_FAULT   12 /* CPU fault event: used by rmon */
 
#define OS_EVENT_THREADSTATUS   13 /* CPU thread status: used by rmon */
 
#define OS_EVENT_PRENMI   14 /* Pre NMI interrupt */
 
#define OS_EVENT_RDB_READ_DONE   15 /* RDB read ok event: used by rmon */
 
#define OS_EVENT_RDB_LOG_DONE   16 /* read of log data complete */
 
#define OS_EVENT_RDB_DATA_DONE   17 /* read of hostio data complete */
 
#define OS_EVENT_RDB_REQ_RAMROM   18 /* host needs ramrom access */
 
#define OS_EVENT_RDB_FREE_RAMROM   19 /* host is done with ramrom access */
 
#define OS_EVENT_RDB_DBG_DONE   20
 
#define OS_EVENT_RDB_FLUSH_PROF   21
 
#define OS_EVENT_RDB_ACK_PROF   22
 
#define OS_MESG_NOBLOCK   0
 
#define OS_MESG_BLOCK   1
 

Macro Definition Documentation

◆ OS_EVENT_AI

#define OS_EVENT_AI   6 /* AI interrupt */

◆ OS_EVENT_CART

#define OS_EVENT_CART   2 /* Cartridge interrupt: used by rmon */

◆ OS_EVENT_COUNTER

#define OS_EVENT_COUNTER   3 /* Counter int: used by VI/Timer Mgr */

◆ OS_EVENT_CPU_BREAK

#define OS_EVENT_CPU_BREAK   10 /* CPU breakpoint: used by rmon */

◆ OS_EVENT_DP

#define OS_EVENT_DP   9 /* DP full sync interrupt */

◆ OS_EVENT_FAULT

#define OS_EVENT_FAULT   12 /* CPU fault event: used by rmon */

◆ OS_EVENT_PI

#define OS_EVENT_PI   8 /* PI interrupt: used by PI Manager */

◆ OS_EVENT_PRENMI

#define OS_EVENT_PRENMI   14 /* Pre NMI interrupt */

◆ OS_EVENT_RDB_ACK_PROF

#define OS_EVENT_RDB_ACK_PROF   22

◆ OS_EVENT_RDB_DATA_DONE

#define OS_EVENT_RDB_DATA_DONE   17 /* read of hostio data complete */

◆ OS_EVENT_RDB_DBG_DONE

#define OS_EVENT_RDB_DBG_DONE   20

◆ OS_EVENT_RDB_FLUSH_PROF

#define OS_EVENT_RDB_FLUSH_PROF   21

◆ OS_EVENT_RDB_FREE_RAMROM

#define OS_EVENT_RDB_FREE_RAMROM   19 /* host is done with ramrom access */

◆ OS_EVENT_RDB_LOG_DONE

#define OS_EVENT_RDB_LOG_DONE   16 /* read of log data complete */

◆ OS_EVENT_RDB_READ_DONE

#define OS_EVENT_RDB_READ_DONE   15 /* RDB read ok event: used by rmon */

◆ OS_EVENT_RDB_REQ_RAMROM

#define OS_EVENT_RDB_REQ_RAMROM   18 /* host needs ramrom access */

◆ OS_EVENT_SI

#define OS_EVENT_SI   5 /* SI (controller) interrupt */

◆ OS_EVENT_SP

#define OS_EVENT_SP   4 /* SP task done interrupt */

◆ OS_EVENT_SP_BREAK

#define OS_EVENT_SP_BREAK   11 /* SP breakpoint: used by rmon */

◆ OS_EVENT_SW1

#define OS_EVENT_SW1   0 /* CPU SW1 interrupt */

◆ OS_EVENT_SW2

#define OS_EVENT_SW2   1 /* CPU SW2 interrupt */

◆ OS_EVENT_THREADSTATUS

#define OS_EVENT_THREADSTATUS   13 /* CPU thread status: used by rmon */

◆ OS_EVENT_VI

#define OS_EVENT_VI   7 /* VI interrupt: used by VI/Timer Mgr */

◆ OS_MESG_BLOCK

#define OS_MESG_BLOCK   1

◆ OS_MESG_NOBLOCK

#define OS_MESG_NOBLOCK   0

◆ OS_NUM_EVENTS

#define OS_NUM_EVENTS   23