local.h File Reference

Go to the source code of this file.

Classes

struct  dde26_thread_data

Defines

#define DDE_DEBUG   1
#define DDE_FERRET   0
#define LX_THREAD(thread_data)   ((thread_data)->_thread_info)
#define LX_TASK(thread_data)   ((thread_data)->_thread_info.task)
#define DDEKIT_THREAD(thread_data)   ((thread_data)->_ddekit_thread)
#define SLEEP_LOCK(thread_data)   ((thread_data)->_sleep_lock)
#define VPID_P(thread_data)   (&(thread_data)->_vpid)
#define WARN_UNIMPL   printk("unimplemented: %s\n", __FUNCTION__)
#define DEBUG_MSG(msg,...)   printk("%s: \033[36m"msg"\033[0m\n", __FUNCTION__, ##__VA_ARGS__)
#define DECLARE_INITVAR(name)
#define INITIALIZE_INITVAR(name)   init_##name._initialized = 1
#define CHECK_INITVAR(name)

Functions

static dde26_thread_datalxtask_to_ddethread (struct task_struct *t)

Variables

struct thread_info init_thread
struct task_struct init_task


Define Documentation

#define CHECK_INITVAR ( name   ) 

Value:

if (init_##name._initialized == 0) { \
                printk("DDE26: \033[31;1mUsing uninitialized subsystem: "#name"\033[0m\n"); \
                BUG(); \
        }

Definition at line 71 of file local.h.

#define DDE_DEBUG   1

Definition at line 25 of file local.h.

#define DDE_FERRET   0

Definition at line 26 of file local.h.

#define DDEKIT_THREAD ( thread_data   )     ((thread_data)->_ddekit_thread)

Definition at line 55 of file local.h.

#define DEBUG_MSG ( msg,
...   )     printk("%s: \033[36m"msg"\033[0m\n", __FUNCTION__, ##__VA_ARGS__)

Definition at line 61 of file local.h.

#define DECLARE_INITVAR ( name   ) 

Value:

static struct { \
                int _initialized; \
                char *name; \
        } init_##name = {0, #name,}

Definition at line 63 of file local.h.

#define INITIALIZE_INITVAR ( name   )     init_##name._initialized = 1

Definition at line 69 of file local.h.

#define LX_TASK ( thread_data   )     ((thread_data)->_thread_info.task)

Definition at line 54 of file local.h.

#define LX_THREAD ( thread_data   )     ((thread_data)->_thread_info)

Definition at line 53 of file local.h.

#define SLEEP_LOCK ( thread_data   )     ((thread_data)->_sleep_lock)

Definition at line 56 of file local.h.

#define VPID_P ( thread_data   )     (&(thread_data)->_vpid)

Definition at line 57 of file local.h.

#define WARN_UNIMPL   printk("unimplemented: %s\n", __FUNCTION__)

Definition at line 60 of file local.h.


Function Documentation

static dde26_thread_data* lxtask_to_ddethread ( struct task_struct *  t  )  [static]

Definition at line 91 of file local.h.


Variable Documentation

struct task_struct init_task [read]

Definition at line 19 of file init_task.c.

struct thread_info init_thread

Definition at line 126 of file init_task.c.


Generated on Wed Apr 11 06:39:15 2012 for DDE - The L4 Device Driver Environment by  doxygen 1.5.6