mirror of
https://github.com/drasko/codezero.git
synced 2026-04-04 19:19:03 +02:00
Test and Threads_demo containers interchanged by mistake earlier.
Corrected
This commit is contained in:
18
conts/baremetal/test/include/thread.h
Normal file
18
conts/baremetal/test/include/thread.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef __THREAD_H__
|
||||
#define __THREAD_H__
|
||||
|
||||
#include <l4lib/arch/syslib.h>
|
||||
#include <l4lib/arch/syscalls.h>
|
||||
#include <l4lib/exregs.h>
|
||||
#include <l4/api/thread.h>
|
||||
|
||||
|
||||
int thread_create(int (*func)(void *), void *args, unsigned int flags,
|
||||
struct task_ids *new_ids);
|
||||
|
||||
/* For same space */
|
||||
#define STACK_SIZE 0x1000
|
||||
|
||||
#define THREADS_TOTAL 10
|
||||
|
||||
#endif /* __THREAD_H__ */
|
||||
Reference in New Issue
Block a user