blob: f27883c58cc9282e43faa1d6dba27dec8ddbcfcc [file] [log] [blame]
yuezonghe824eb0c2024-06-27 02:32:26 -07001/************************************************************************
2* °æÈ¨ËùÓÐ (C)2001,ÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾¡£
3*
4* ÎļþÃû³Æ£º nu_os.h
5* Îļþ±êʶ£º
6* ÄÚÈÝÕªÒª£º
7*
8* ÐÞ¸ÄÈÕÆÚ °æ±¾ºÅ Ð޸ıê¼Ç ÐÞ¸ÄÈË ÐÞ¸ÄÄÚÈÝ
9* ---------------------------------------------------------------------
10* 2007/11/24 V0.5 ¹¨Òí create
11************************************************************************/
12
13
14/**************************************************************************
15 * Í·Îļþ°üº¬ *
16 **************************************************************************/
17
18
19#include "base_api.h"
20
21#ifndef PS_OS_H
22#define PS_OS_H
23
24#define SDL_STARTUP_SIGNAL (SIGREFTYPE) ~0
25
26#define enqueue( list, elem ) \
27 (elem)->succ = (list)->succ; \
28 (elem)->pred = (list); \
29 (list)->succ->pred = (elem); \
30 (list)->succ = (elem);
31
32#define dequeue( elem ) \
33 (elem)->succ->pred = (elem)->pred; \
34 (elem)->pred->succ = (elem)->succ;
35
36
37extern UINT32 create_queue (t_queue *queue);
38extern VOID free_queue(xSignalHeader list);
39
40#endif