sqvar.h

Go to the documentation of this file.
00001 /*
00002 ** picvar.h for lseos in lseos-srv/hw/pic
00003 ** 
00004 ** Copyright(c)2004 Vianney Rancurel
00005 ** Login   <vianney@epita.fr>
00006 ** 
00007 ** Started on  Fri Feb  6 11:31:38 2004 Vianney Rancurel
00008 ** Last update Mon Dec  6 12:24:39 2004 Vianney Rancurel
00009 */
00010 #ifndef __SQVAR_H__
00011 #define __SQVAR_H__     1
00012 #include <libc.h>
00013 
00014 #define SQ_SRV 1024
00015 
00016 typedef struct          s_sq_info
00017 {
00018   __cpu_simple_lock_t   lock;
00019 }                       t_sq_info;
00020 
00021 typedef struct          s_sq_req
00022 {
00023   pid_t                 pid;
00024   u_int32_t             eax;
00025   u_int32_t             arg1;
00026   u_int32_t             arg2;
00027   u_int32_t             arg3;
00028   u_int32_t             arg4;
00029   u_int32_t             arg5;
00030   SIMPLEQ_ENTRY(s_sq_req) nreq;
00031 }                       t_sq_req;
00032 
00033 typedef SIMPLEQ_HEAD(s_lreq, s_sq_req) t_lreq;
00034 
00035 typedef struct          s_sq_entry
00036 {
00037   char                  name[20];
00038   paddr_t               preq;
00039   vaddr_t               vreq;
00040   pid_t                 pid;
00041   int                   gate;
00042   int                   lock;
00043   t_lreq                 *lreq;
00044 }                       t_sq_entry;
00045 
00046 #endif

Generated on Wed May 24 23:04:18 2006 for LSE/OS by  doxygen 1.4.6