Subversion Repositories shark

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1085 pj 1
 
2
#ifndef _COMMON_H
3
#define _COMMON_H
4
 
5
#include <sys/types.h>
6
 
7
/*
8
#include <kernel/int_sem.h>
9
#define SEM internal_sem_t
10
#define sem_init internal_sem_init
11
#define sem_signal internal_sem_post
12
#define sem_wait internal_sem_wait
13
*/
14
 
15
#define SEM sem_t
16
#define sem_signal sem_post
17
 
18
extern __dev_t root_device;
19
extern __dev_t temp_device;
20
 
21
int choose_temp_callback(__dev_t dev,__uint8_t fs);
22
 
23
void showmessage(char *s);
24
void waitend(void);
25
 
26
#define FROMDIR "/TEMP"
27
 
28
#endif