OpenCores
URL https://opencores.org/ocsvn/c0or1k/c0or1k/trunk

Subversion Repositories c0or1k

[/] [c0or1k/] [trunk/] [conts/] [test_suite0/] [include/] [thread.h] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 drasko
#ifndef __THREAD_H__
2
#define __THREAD_H__
3
 
4
#include <l4lib/macros.h>
5
#include L4LIB_INC_ARCH(syslib.h)
6
#include L4LIB_INC_ARCH(syscalls.h)
7
#include <l4lib/exregs.h>
8
#include <l4/api/thread.h>
9
 
10
 
11
int thread_create(int (*func)(void *), void *args, unsigned int flags,
12
                  struct task_ids *new_ids);
13
 
14
/* For same space */
15
#define STACK_SIZE      0x1000
16
 
17
#define THREADS_TOTAL   10
18
 
19
#endif /* __THREAD_H__ */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.