panthema / 2006 / SDIOS06 / sdios06 / include / idl4 / api / v4 / .interface.h.swp (Download File)
b0VIM 6.2'@N47Nsdi15i30pc45~sdi15/suck/include/idl4/api/v4/interface.hU3210#"! Utp"adV0/poML8)





o
R
=
<
>=;.zxw653






{
c
]
:
(
&
%
						]	\	Z	8	6	5		yT.tsPO>`_hfegVTSutrXVU
	{static inline unsigned idl4_fpage_get_mode(idl4_fpage_t fpage)}  fpage->base = (fpage->base&(~2ul)) + (mode&2);{static inline void idl4_fpage_set_mode(idl4_fpage_t *fpage, unsigned mode)}  return fpage.fpage & 7;{static inline unsigned idl4_fpage_get_permissions(idl4_fpage_t fpage)}  fpage->fpage = (fpage->fpage&(~7u)) + (permissions&7);{static inline void idl4_fpage_set_permissions(idl4_fpage_t *fpage, unsigned permissions)}  return result;  result.raw = fpage.fpage&(~3u);  L4_Fpage_t result;{static inline L4_Fpage_t idl4_fpage_get_page(idl4_fpage_t fpage)}  fpage->fpage = (fpage->fpage&7) + (p.raw&(~3u));{static inline void idl4_fpage_set_page(idl4_fpage_t *fpage, L4_Fpage_t p)}  return fpage.base & (~0x3FFul);{static inline unsigned idl4_fpage_get_base(idl4_fpage_t fpage)}  fpage->base = (fpage->base & 2) + (base & (~0x3FFul)) + 8;{static inline void idl4_fpage_set_base(idl4_fpage_t *fpage, unsigned long base)               } idl4_inverse_stringitem;                 unsigned long len;                 void *ptr;typedef struct {               } idl4_stringitem;                 void *ptr;                 unsigned long len;typedef struct {typedef idl4_fpage_t idl4_mapitem;               } idl4_msgbuf_t;                 unsigned long rbuf[34];                 L4_Msg_t obuf;                 L4_Msg_t ibuf;typedef struct {               } idl4_fpage_t;                 unsigned long fpage;                 unsigned long base;typedef struct {#define IDL4_MODE_GRANT		2#define IDL4_MODE_MAP		0#define IDL4_PERM_FULL          7#define IDL4_PERM_EXECUTE 	1#define IDL4_PERM_WRITE 	2#define IDL4_PERM_READ 		4}  ev->_action = IDL4_NO_RESPONSE;{static inline void idl4_set_no_response(idl4_server_environment *ev)}  ev->_rcv_window.raw = rcv_window.raw;{static inline void idl4_set_rcv_window(CORBA_Environment *ev, L4_Fpage_t rcv_window)}  ev->_minor = 0;  ev->_major = CORBA_NO_EXCEPTION;    }      ev->_data = NULL;#endif      CORBA_free(ev->_data);#if (IDL4_NEED_MALLOC == 1)    {  if (ev->_data != NULL){static inline void CORBA_exception_free(CORBA_Environment *ev)}  return ev->_data;{static inline void *CORBA_exception_value(CORBA_Environment *ev)}  return ev->_minor;{static inline CORBA_exception_type CORBA_exception_id(CORBA_Environment *ev)}  ev->_action = CORBA_USER_EXCEPTION + ((minor)<<8);    ev->_data = param;  if (param){static inline void CORBA_exception_set(idl4_server_environment *ev, CORBA_exception_type minor, void *param)#define idl4_default_environment ((CORBA_Environment){ CORBA_NO_EXCEPTION, 0, NULL, L4_Timeouts(L4_Never, L4_Never), L4_UntypedWordsAcceptor })} CORBA_Environment;  L4_Acceptor_t _rcv_window;  L4_Word_t _timeout;  void *_data;  CORBA_exception_type _minor : 24;  CORBA_exception_type _major : 8;typedef struct CORBA_Environment {} idl4_server_environment;  void *_data;  int _action;TYpedcgfcf struct {typedef int CORBA_exception_type;typedef L4_ThreadId_t CORBA_Object;   Services are identified by the server's thread ID *//* 1.17 The CORBA_Object type is an opaque type#define IDL4_IID_BITS 10#define IDL4_FID_BITS 6#define idl4_nilthread (L4_nilthread)#define idl4_threads_equal(a, b) ((a).raw == (b).raw)#include <l4/ipc.h>#include <l4/space.h>#define __idl4_api_v4_interface_h__#ifndef __idl4_api_v4_interface_h__add
"xvu/.,~|{986








d
c
#endif /* __idl4_api_v4_interface_h__ */}  return (msgtag->X.flags & 8);{static inline unsigned idl4_is_error(L4_MsgTag_t *msgtag)}  return ((msgtag->X.label>>IDL4_FID_BITS) & ((1<<IDL4_IID_BITS)-1));{static inline unsigned idl4_get_interface_id(L4_MsgTag_t *msgtag)}  return (msgtag->X.label & ((1<<IDL4_FID_BITS)-1));{static inline unsigned idl4_get_function_id(L4_MsgTag_t *msgtag)}  return ((unsigned)-(((int)msgtag.X.label)>>4));{static inline unsigned idl4_get_kernel_message_id(L4_MsgTag_t msgtag)}  return ((msgtag.X.label&0xFF00) == 0xFF00);{static inline int idl4_is_kernel_message(L4_MsgTag_t msgtag)}  return fpage.base&2;