mirror of
https://github.com/drasko/codezero.git
synced 2026-01-13 11:23:16 +01:00
The threading work will be revised and prefixes changed to a more meaningful name later on.
23 lines
434 B
C
23 lines
434 B
C
/*
|
|
* Copyright (C) 2007 Bahadir Balban
|
|
*/
|
|
#ifndef __UTCB_H__
|
|
#define __UTCB_H__
|
|
|
|
#include <l4lib/types.h>
|
|
#include <l4lib/arch/utcb.h>
|
|
|
|
int utcb_init(void);
|
|
|
|
/* Bora start */
|
|
#include <l4lib/tcb.h>
|
|
|
|
/* Checks if l4_set_stack_params is called. */
|
|
#define IS_UTCB_SETUP() (lib_utcb_range_size)
|
|
|
|
unsigned long get_utcb_addr(struct l4lib_tcb *task);
|
|
int delete_utcb_addr(struct l4lib_tcb *task);
|
|
/* Bora end */
|
|
|
|
#endif /* __UTCB_H__ */
|