/************************************************************************ | |
* °æÈ¨ËùÓÐ (C)2001,ÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾¡£ | |
* | |
* ÎļþÃû³Æ£º nu_os.h | |
* Îļþ±êʶ£º | |
* ÄÚÈÝÕªÒª£º | |
* | |
* ÐÞ¸ÄÈÕÆÚ °æ±¾ºÅ Ð޸ıê¼Ç ÐÞ¸ÄÈË ÐÞ¸ÄÄÚÈÝ | |
* --------------------------------------------------------------------- | |
* 2007/11/24 V0.5 ¹¨Òí create | |
************************************************************************/ | |
/************************************************************************** | |
* Í·Îļþ°üº¬ * | |
**************************************************************************/ | |
#include "base_api.h" | |
#ifndef PS_OS_H | |
#define PS_OS_H | |
#define SDL_STARTUP_SIGNAL (SIGREFTYPE) ~0 | |
#define enqueue( list, elem ) \ | |
(elem)->succ = (list)->succ; \ | |
(elem)->pred = (list); \ | |
(list)->succ->pred = (elem); \ | |
(list)->succ = (elem); | |
#define dequeue( elem ) \ | |
(elem)->succ->pred = (elem)->pred; \ | |
(elem)->pred->succ = (elem)->succ; | |
extern UINT32 create_queue (t_queue *queue); | |
extern VOID free_queue(xSignalHeader list); | |
#endif |