mirror of
https://github.com/drasko/codezero.git
synced 2026-01-14 03:43:15 +01:00
UTCB support has beed added. It has the same drawback as in the stack support: the area in question has to be already mapped-in. There are also some minor fixes for the stack support and the utcb common helper routines.
16 lines
256 B
C
16 lines
256 B
C
/*
|
|
* UTCB handling helper routines
|
|
*
|
|
* Copyright (C) 2009 B Labs Ltd.
|
|
*/
|
|
#ifndef __LIB_UTCB_H__
|
|
#define __LIB_UTCB_H__
|
|
|
|
#define IS_UTCB_SETUP() (udesc_ptr)
|
|
|
|
struct utcb_desc *udesc_ptr;
|
|
|
|
unsigned long get_utcb_addr(void);
|
|
|
|
#endif /* __LIB_UTCB_H__ */
|