projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modularize hardware access; Port to new timer interface.
[bertos.git]
/
kern
/
sem.h
diff --git
a/kern/sem.h
b/kern/sem.h
index b4b0ecbb8b372002419f967d39912d0c6171c4a4..f3dead0eb26fbc0b93ee413fa96452f700eabdcb 100755
(executable)
--- a/
kern/sem.h
+++ b/
kern/sem.h
@@
-16,6
+16,12
@@
/*#*
*#* $Log$
/*#*
*#* $Log$
+ *#* Revision 1.5 2005/04/11 19:10:28 bernie
+ *#* Include top-level headers from cfg/ subdir.
+ *#*
+ *#* Revision 1.4 2005/01/22 04:21:20 bernie
+ *#* Add handy typedef for struct Semaphore.
+ *#*
*#* Revision 1.3 2004/08/25 14:12:09 rasky
*#* Aggiornato il comment block dei log RCS
*#*
*#* Revision 1.3 2004/08/25 14:12:09 rasky
*#* Aggiornato il comment block dei log RCS
*#*
@@
-30,19
+36,19
@@
#ifndef KERN_SEM_H
#define KERN_SEM_H
#ifndef KERN_SEM_H
#define KERN_SEM_H
-#include
"compiler.h"
+#include
<cfg/compiler.h>
#include <mware/list.h>
/* Fwd decl */
struct Process;
#include <mware/list.h>
/* Fwd decl */
struct Process;
-struct Semaphore
+
typedef
struct Semaphore
{
struct Process *owner;
List wait_queue;
int nest_count;
{
struct Process *owner;
List wait_queue;
int nest_count;
-};
+}
Semaphore
;
/*!
* \name Process synchronization services
/*!
* \name Process synchronization services