gonzui


Format: Advanced Search

tkernel_2/include/sys/svc/ifsegment.hbare sourcepermlink (0.02 seconds)

Search this content:

    1: /*
    2:  *----------------------------------------------------------------------
    3:  *    T-Kernel 2.0 Software Package
    4:  *
    5:  *    Copyright 2011 by Ken Sakamura.
    6:  *    This software is distributed under the latest version of T-License 2.x.
    7:  *----------------------------------------------------------------------
    8:  *
    9:  *    Released by T-Engine Forum(http://www.t-engine.org/) at 2011/05/17.
   10:  *    Modified by TRON Forum(http://www.tron.org/) at 2015/06/01.
   11:  *
   12:  *----------------------------------------------------------------------
   13:  */
   14: 
   15: /*
   16:  *      Extended SVC parameter packet
   17:  *
   18:  *         (generated automatically)
   19:  */
   20: 
   21: #include <basic.h>
   22: #include <sys/segment.h>
   23: #include <sys/str_align.h>
   24: #include <sys/svc/fnsegment.h>
   25: 
   26: typedef struct {
   27:         CONST void *laddr;     _align64
   28:         INT len;       _align64
   29: } SEG_LOCKSPACE_PARA;
   30: 
   31: typedef struct {
   32:         CONST void *laddr;     _align64
   33:         INT len;       _align64
   34: } SEG_UNLOCKSPACE_PARA;
   35: 
   36: typedef struct {
   37:         CONST void *laddr;     _align64
   38:         INT len;       _align64
   39:         void **paddr;  _align64
   40: } SEG_CNVPHYSICALADDR_PARA;
   41: 
   42: typedef struct {
   43:         CONST void *laddr;     _align64
   44:         INT len;       _align64
   45:         UINT mode;     _align64
   46:         UINT env;      _align64
   47: } SEG_CHKSPACE_PARA;
   48: 
   49: typedef struct {
   50:         CONST TC *str; _align64
   51:         INT max;       _align64
   52:         UINT mode;     _align64
   53:         UINT env;      _align64
   54: } SEG_CHKSPACETSTR_PARA;
   55: 
   56: typedef struct {
   57:         CONST UB *str; _align64
   58:         INT max;       _align64
   59:         UINT mode;     _align64
   60:         UINT env;      _align64
   61: } SEG_CHKSPACEBSTR_PARA;
   62: 
   63: typedef struct {
   64:         CONST void *laddr;     _align64
   65:         INT len;       _align64
   66:         UINT mode;     _align64
   67:         UINT env;      _align64
   68:         INT lsid;      _align64
   69: } SEG_CHKSPACELEN_PARA;
   70: 
   71: typedef struct {
   72:         void *laddr;   _align64
   73:         void *buf;     _align64
   74:         INT len;       _align64
   75:         INT lsid;      _align64
   76: } SEG_READMEMSPACE_PARA;
   77: 
   78: typedef struct {
   79:         void *laddr;   _align64
   80:         void *buf;     _align64
   81:         INT len;       _align64
   82:         INT lsid;      _align64
   83: } SEG_WRITEMEMSPACE_PARA;
   84: 
   85: typedef struct {
   86:         void *laddr;   _align64
   87:         INT len;       _align64
   88:         _pad_b(24)
   89:         UB data;       _align64
   90:         _pad_l(24)
   91:         INT lsid;      _align64
   92: } SEG_SETMEMSPACEB_PARA;
   93: 
   94: typedef struct {
   95:         void *laddr;   _align64
   96:         INT len;       _align64
   97:         UINT mode;     _align64
   98: } SEG_FLUSHMEMCACHE_PARA;
   99: 
  100: typedef struct {
  101:         void *addr;    _align64
  102:         INT len;       _align64
  103:         UINT mode;     _align64
  104: } SEG_SETCACHEMODE_PARA;
  105: 
  106: typedef struct {
  107:         void *addr;    _align64
  108:         INT len;       _align64
  109:         UINT mode;     _align64
  110: } SEG_CONTROLCACHE_PARA;
  111: 
  112: typedef struct {
  113:         CONST void *addr;      _align64
  114:         INT len;       _align64
  115:         T_SPINFO *pk_spinfo;   _align64
  116: } SEG_GETSPACEINFO_PARA;
  117: 
  118: typedef struct {
  119:         CONST void *addr;      _align64
  120:         INT len;       _align64
  121:         UINT mode;     _align64
  122: } SEG_SETMEMORYACCESS_PARA;
  123: 
  124: typedef struct {
  125:         CONST void *paddr;     _align64
  126:         INT len;       _align64
  127:         UINT attr;     _align64
  128:         void **laddr;  _align64
  129: } SEG_MAPMEMORY_PARA;
  130: 
  131: typedef struct {
  132:         CONST void *laddr;     _align64
  133: } SEG_UNMAPMEMORY_PARA;
  134: 
  135: typedef struct {
  136:         void *laddr;   _align64
  137:         INT npage;     _align64
  138:         INT lsid;      _align64
  139:         UINT pte;      _align64
  140: } SEG_MAKESPACE_PARA;
  141: 
  142: typedef struct {
  143:         void *laddr;   _align64
  144:         INT npage;     _align64
  145:         INT lsid;      _align64
  146: } SEG_UNMAKESPACE_PARA;
  147: 
  148: typedef struct {
  149:         void *laddr;   _align64
  150:         INT npage;     _align64
  151:         INT lsid;      _align64
  152:         UINT pte;      _align64
  153: } SEG_CHANGESPACE_PARA;
  154: