mirror of
https://github.com/drasko/codezero.git
synced 2026-01-16 04:43:16 +01:00
Moved all threading functions to libl4/include/l4lib/thread/*
This commit is contained in:
19
conts/libl4/include/l4lib/thread/stack.h
Normal file
19
conts/libl4/include/l4lib/thread/stack.h
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
* Stack space helper routines.
|
||||
*
|
||||
* Copyright (C) 2009 B Labs Ltd.
|
||||
*/
|
||||
#ifndef __LIB_STACK_H__
|
||||
#define __LIB_STACK_H__
|
||||
|
||||
/* Checks if l4_set_stack_params is called. */
|
||||
#define IS_STACK_SETUP() (lib_stack_size)
|
||||
|
||||
int stack_pool_init(unsigned long stack_start,
|
||||
unsigned long stack_end,
|
||||
unsigned long stack_size);
|
||||
|
||||
void *get_stack_space(void);
|
||||
int delete_stack_space(void *stack_address);
|
||||
|
||||
#endif /* __LIB_STACK_H__ */
|
||||
Reference in New Issue
Block a user