Moved IOCTL definitions to DevIOCTL.h in DriverFramework

Removed sched.h from platform/qurt since it is now in DSPAL.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
Mark Charlebois
2015-11-17 19:30:51 -08:00
parent 0544d06ad0
commit 238db8c6d7
7 changed files with 41 additions and 38 deletions
-12
View File
@@ -1,12 +0,0 @@
#pragma once
#define SCHED_FIFO 1
#define SCHED_RR 2
struct sched_param {
int sched_priority;
};
int sched_get_priority_max(int policy);
int sched_get_priority_min(int policy);
+33
View File
@@ -97,3 +97,36 @@ int clock_gettime(clockid_t clk_id, struct timespec *tp)
{
return 1;
}
int pthread_mutex_lock(pthread_mutex_t *mutex)
{
return 1;
}
int pthread_mutex_unlock(pthread_mutex_t *mutex)
{
return 1;
}
int pthread_cond_signal(pthread_cond_t *cond)
{
return 1;
}
int pthread_mutex_destroy(pthread_mutex_t *mutex)
{
return 1;
}
int pthread_mutex_init(pthread_mutex_t *mutex, const pthread_mutexattr_t *attr)
{
return 1;
}
int pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex)
{
return 1;
}
int pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex, const struct timespec *abstime)
{
return 1;
}