Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 795 → Rev 796

/shark/trunk/include/kernel/model.h
21,11 → 21,11
 
/**
------------
CVS : $Id: model.h,v 1.12 2004-06-08 11:12:14 giacomo Exp $
CVS : $Id: model.h,v 1.13 2004-09-01 08:48:20 trimarchi Exp $
 
File: $File$
Revision: $Revision: 1.12 $
Last update: $Date: 2004-06-08 11:12:14 $
Revision: $Revision: 1.13 $
Last update: $Date: 2004-09-01 08:48:20 $
------------
 
This file contains the definitions of the task and resource models.
773,6 → 773,7
#define SRP_MCLASS 0x0400
#define NOP_MCLASS 0x0500
#define NOPM_MCLASS 0x0600
#define PISTAR_MCLASS 0x0700
 
/* -----------------------------------------------------------------------
PI_mutexattr_t: Priority Inheritance Mutex Attribute
784,6 → 785,19
#define PI_mutexattr_default(a) mutexattr_default(a, PI_MCLASS)
 
/* -----------------------------------------------------------------------
PISTAR_mutexattr_t: Priority Inheritance Mutex Attribute for server
----------------------------------------------------------------------- */
 
typedef struct {
mutexattr_t a;
TIME wcet;
} PISTAR_mutexattr_t;
 
#define PISTAR_MUTEXATTR_INITIALIZER {PISTAR_MCLASS}
#define PISTAR_mutexattr_default(at, w) mutexattr_default((at.a), PISTAR_MCLASS); \
(at).wcet = (w)
 
/* -----------------------------------------------------------------------
NPP_mutexattr_t: Non Preemptive Protocol Mutex Attribute
----------------------------------------------------------------------- */