Subversion Repositories shark

Rev

Blame | Last modification | View Log | RSS feed


#ifndef _COMMON_H
#define _COMMON_H

#include <sys/types.h>

/*
#include <kernel/int_sem.h>
#define SEM internal_sem_t
#define sem_init internal_sem_init
#define sem_signal internal_sem_post
#define sem_wait internal_sem_wait
*/


#define SEM sem_t
#define sem_signal sem_post

extern __dev_t root_device;
extern __dev_t temp_device;

int choose_temp_callback(__dev_t dev,__uint8_t fs);

void showmessage(char *s);
void waitend(void);

#define FROMDIR "/TEMP"

#endif