亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? object.h

?? 開放源碼的嵌入式開發(fā)環(huán)境
?? H
?? 第 1 頁 / 共 2 頁
字號:
/** * @file  rtems/score/object.h */ /* *  This include file contains all the constants and structures associated *  with the Object Handler.  This Handler provides mechanisms which *  can be used to initialize and manipulate all objects which have *  ids. * *  COPYRIGHT (c) 1989-2006. *  On-Line Applications Research Corporation (OAR). * *  The license and distribution terms for this file may be *  found in the file LICENSE in this distribution or at *  http://www.rtems.com/license/LICENSE. * *  $Id: object.h,v 1.45 2006/01/16 15:13:58 joel Exp $ */#ifndef _RTEMS_SCORE_OBJECT_H#define _RTEMS_SCORE_OBJECT_H#ifdef __cplusplusextern "C" {#endif#include <rtems/score/chain.h>#include <rtems/score/isr.h>/** *  The following type defines the control block used to manage *  object names. */typedef void * Objects_Name;/** *  Space for object names is allocated in multiples of this. * *  NOTE:  Must be a power of 2.  Matches the name manipulation routines. */#define OBJECTS_NAME_ALIGNMENT     sizeof( uint32_t )/** *  Functions which compare names are prototyped like this. */typedef boolean (*Objects_Name_comparators)(  void       * /* name_1 */,  void       * /* name_2 */,  uint16_t     /* length */);#if defined(RTEMS_USE_16_BIT_OBJECT)/** *  The following type defines the control block used to manage *  object IDs.  The format is as follows (0=LSB): * *     Bits  0 ..  7    = index  (up to 254 objects of a type) *     Bits  8 .. 10    = API    (up to 7 API classes) *     Bits 11 .. 15    = class  (up to 31 object types per API) */typedef uint16_t   Objects_Id;/** * This type is used to store the maximum number of allowed objects * of each type. */typedef uint8_t    Objects_Maximum;#define OBJECTS_INDEX_START_BIT  0#define OBJECTS_API_START_BIT    8#define OBJECTS_CLASS_START_BIT 11#define OBJECTS_INDEX_MASK      (Objects_Id)0x00ff#define OBJECTS_API_MASK        (Objects_Id)0x0700#define OBJECTS_CLASS_MASK      (Objects_Id)0xF800#define OBJECTS_INDEX_VALID_BITS  (Objects_Id)0x00ff#define OBJECTS_API_VALID_BITS    (Objects_Id)0x0007/* OBJECTS_NODE_VALID_BITS should not be used with 16 bit Ids */#define OBJECTS_CLASS_VALID_BITS  (Objects_Id)0x001f#define OBJECTS_UNLIMITED_OBJECTS 0x8000#define OBJECTS_ID_INITIAL_INDEX  (0)#define OBJECTS_ID_FINAL_INDEX    (0xff)#else/** *  The following type defines the control block used to manage *  object IDs.  The format is as follows (0=LSB): * *     Bits  0 .. 15    = index  (up to 65535 objects of a type) *     Bits 16 .. 23    = node   (up to 255 nodes) *     Bits 24 .. 26    = API    (up to 7 API classes) *     Bits 27 .. 31    = class  (up to 31 object types per API) */typedef uint32_t   Objects_Id;/** * This type is used to store the maximum number of allowed objects * of each type. */typedef uint16_t   Objects_Maximum;/** *  This is the bit position of the starting bit of the index portion of *  the object Id. */#define OBJECTS_INDEX_START_BIT  0/** *  This is the bit position of the starting bit of the node portion of *  the object Id. */#define OBJECTS_NODE_START_BIT  16/** *  This is the bit position of the starting bit of the API portion of *  the object Id. */#define OBJECTS_API_START_BIT   24/** *  This is the bit position of the starting bit of the class portion of *  the object Id. */#define OBJECTS_CLASS_START_BIT 27/** *  This mask is used to extract the index portion of an object Id. */#define OBJECTS_INDEX_MASK      (Objects_Id)0x0000ffff/** *  This mask is used to extract the node portion of an object Id. */#define OBJECTS_NODE_MASK       (Objects_Id)0x00ff0000/** *  This mask is used to extract the API portion of an object Id. */#define OBJECTS_API_MASK        (Objects_Id)0x07000000/** *  This mask is used to extract the class portion of an object Id. */#define OBJECTS_CLASS_MASK      (Objects_Id)0xf8000000/** *  This mask represents the bits that is used to ensure no extra bits *  are set after shifting to extract the index portion of an object Id. */#define OBJECTS_INDEX_VALID_BITS  (Objects_Id)0x0000ffff/** *  This mask represents the bits that is used to ensure no extra bits *  are set after shifting to extract the node portion of an object Id. */#define OBJECTS_NODE_VALID_BITS   (Objects_Id)0x000000ff/** *  This mask represents the bits that is used to ensure no extra bits *  are set after shifting to extract the API portion of an object Id. */#define OBJECTS_API_VALID_BITS    (Objects_Id)0x00000007/** *  This mask represents the bits that is used to ensure no extra bits *  are set after shifting to extract the class portion of an object Id. */#define OBJECTS_CLASS_VALID_BITS  (Objects_Id)0x0000001f/** *  Mask to enable unlimited objects.  This is used in the configuration *  table when specifying the number of configured objects. */#define OBJECTS_UNLIMITED_OBJECTS 0x80000000/** *  This is the lowest value for the index portion of an object Id. */#define OBJECTS_ID_INITIAL_INDEX  (0)/** *  This is the highest value for the index portion of an object Id. */#define OBJECTS_ID_FINAL_INDEX    (0xff)#endif/** *  This enumerated type is used in the class field of the object ID. */typedef enum {  OBJECTS_NO_API       = 0,  OBJECTS_INTERNAL_API = 1,  OBJECTS_CLASSIC_API  = 2,  OBJECTS_POSIX_API    = 3,  OBJECTS_ITRON_API    = 4} Objects_APIs;/** This macro is used to generically specify the last API index. */#define OBJECTS_APIS_LAST OBJECTS_ITRON_API/** *  This enumerated type is used in the class field of the object ID *  for RTEMS internal object classes. */typedef enum {  OBJECTS_INTERNAL_NO_CLASS =  0,  OBJECTS_INTERNAL_THREADS  =  1,  OBJECTS_INTERNAL_MUTEXES  =  2} Objects_Internal_API;/** This macro is used to generically specify the last API index. */#define OBJECTS_INTERNAL_CLASSES_LAST OBJECTS_INTERNAL_MUTEXES/** *  This enumerated type is used in the class field of the object ID *  for the RTEMS Classic API. */typedef enum {  OBJECTS_CLASSIC_NO_CLASS     = 0,  OBJECTS_RTEMS_TASKS          = 1,  OBJECTS_RTEMS_TIMERS         = 2,  OBJECTS_RTEMS_SEMAPHORES     = 3,  OBJECTS_RTEMS_MESSAGE_QUEUES = 4,  OBJECTS_RTEMS_PARTITIONS     = 5,  OBJECTS_RTEMS_REGIONS        = 6,  OBJECTS_RTEMS_PORTS          = 7,  OBJECTS_RTEMS_PERIODS        = 8,  OBJECTS_RTEMS_EXTENSIONS     = 9} Objects_Classic_API;/** This macro is used to generically specify the last API index. */#define OBJECTS_RTEMS_CLASSES_LAST OBJECTS_RTEMS_EXTENSIONS/** *  This enumerated type is used in the class field of the object ID *  for the POSIX API. */typedef enum {  OBJECTS_POSIX_NO_CLASS            = 0,  OBJECTS_POSIX_THREADS             = 1,  OBJECTS_POSIX_KEYS                = 2,  OBJECTS_POSIX_INTERRUPTS          = 3,  OBJECTS_POSIX_MESSAGE_QUEUE_FDS   = 4,  OBJECTS_POSIX_MESSAGE_QUEUES      = 5,  OBJECTS_POSIX_MUTEXES             = 6,  OBJECTS_POSIX_SEMAPHORES          = 7,  OBJECTS_POSIX_CONDITION_VARIABLES = 8} Objects_POSIX_API;/** This macro is used to generically specify the last API index. */#define OBJECTS_POSIX_CLASSES_LAST OBJECTS_POSIX_CONDITION_VARIABLES/** *  This enumerated type is used in the class field of the object ID *  for the ITRON API. */typedef enum {  OBJECTS_ITRON_NO_CLASS              = 0,  OBJECTS_ITRON_TASKS                 = 1,  OBJECTS_ITRON_EVENTFLAGS            = 2,  OBJECTS_ITRON_MAILBOXES             = 3,  OBJECTS_ITRON_MESSAGE_BUFFERS       = 4,  OBJECTS_ITRON_PORTS                 = 5,  OBJECTS_ITRON_SEMAPHORES            = 6,  OBJECTS_ITRON_VARIABLE_MEMORY_POOLS = 7,  OBJECTS_ITRON_FIXED_MEMORY_POOLS    = 8} Objects_ITRON_API;/** This macro is used to generically specify the last API index. */#define OBJECTS_ITRON_CLASSES_LAST OBJECTS_ITRON_FIXED_MEMORY_POOLS/** *  This enumerated type lists the locations which may be returned *  by _Objects_Get.  These codes indicate the success of locating *  an object with the specified ID. */typedef enum {  OBJECTS_LOCAL  = 0,         /* object is local */  OBJECTS_REMOTE = 1,         /* object is remote */  OBJECTS_ERROR  = 2          /* id was invalid */} Objects_Locations;/** *  The following type defines the callout used when a local task *  is extracted from a remote thread queue (i.e. it's proxy must *  extracted from the remote queue). */typedef void ( *Objects_Thread_queue_Extract_callout )( void * );/** *  The following defines the Object Control Block used to manage *  each object local to this node. */typedef struct {  /** This is the chain node portion of an object. */  Chain_Node     Node;  /** This is the object's ID. */  Objects_Id     id;  /** This is the object's name. */  Objects_Name   name;} Objects_Control;/** *  The following defines the structure for the information used to *  manage each class of objects. */typedef struct {  /** This field indicates the API of this object class. */  Objects_APIs      the_api;  /** This is the class of this object set. */  uint16_t          the_class;  /** This is the minimum valid id of this object class. */  Objects_Id        minimum_id;  /** This is the maximum valid id of this object class. */  Objects_Id        maximum_id;  /** This is the maximum number of objects in this class. */  Objects_Maximum   maximum;  /** This is the TRUE if unlimited objects in this class. */  boolean           auto_extend;  /** This is the number of objects in a block. */  uint32_t          allocation_size;  /** This is the size in bytes of each object instance. */  uint32_t          size;  /** This points to the table of local objects. */  Objects_Control **local_table;  /** This points to the table of local object names. */  Objects_Name     *name_table;  /** This is the chain of inactive control blocks. */  Chain_Control     Inactive;  /** This is the number of objects on the Inactive list. */  Objects_Maximum   inactive;  /** This is the number of inactive objects per block. */  uint32_t         *inactive_per_block;  /** This is a table to the chain of inactive object memory blocks. */  void            **object_blocks;  /** This is the TRUE if names are strings. */  boolean           is_string;  /** This is the maximum length of names. */  uint16_t          name_length;  /** This is this object class' method called when extracting a thread. */  Objects_Thread_queue_Extract_callout extract;#if defined(RTEMS_MULTIPROCESSING)  /** This is this object class' pointer to the global name table */  Chain_Control    *global_table;#endif}   Objects_Information;/** *  The following is referenced to the node number of the local node. */#if defined(RTEMS_MULTIPROCESSING)SCORE_EXTERN uint16_t    _Objects_Local_node;#else#define _Objects_Local_node    1#endif/** *  The following is referenced to the number of nodes in the system. */#if defined(RTEMS_MULTIPROCESSING)SCORE_EXTERN uint16_t    _Objects_Maximum_nodes;#else#define _Objects_Maximum_nodes 1#endif/** *  The following is the list of information blocks per API for each object *  class.  From the ID, we can go to one of these information blocks, *  and obtain a pointer to the appropriate object control block. */SCORE_EXTERN Objects_Information    **_Objects_Information_table[OBJECTS_APIS_LAST + 1];/** *  The following defines the constant which may be used *  with _Objects_Get to manipulate the calling task. */#define OBJECTS_ID_OF_SELF ((Objects_Id) 0)/** *  The following constant is used to specify that a name to ID search *  should search through all nodes. */#define OBJECTS_SEARCH_ALL_NODES   0/** *  The following constant is used to specify that a name to ID search *  should search through all nodes except the current node. */#define OBJECTS_SEARCH_OTHER_NODES 0x7FFFFFFE/** *  The following constant is used to specify that a name to ID search *  should search only on this node. */#define OBJECTS_SEARCH_LOCAL_NODE  0x7FFFFFFF/** *  The following constant is used to specify that a name to ID search *  is being asked for the ID of the currently executing task.

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩—二三区免费观看av| 亚洲老司机在线| 99精品黄色片免费大全| 日韩精品欧美精品| 国产精品久线在线观看| 51精品秘密在线观看| 91麻豆6部合集magnet| 麻豆精品国产传媒mv男同| 亚洲三级电影网站| 久久精子c满五个校花| 欧美日韩情趣电影| 欧美精品在线观看一区二区| 国产精品亚洲午夜一区二区三区 | 91麻豆免费视频| 精品一区二区免费视频| 亚洲国产你懂的| 国产精品久久久久影视| 欧美精品一区二区久久久| 欧美乱妇一区二区三区不卡视频| 大胆亚洲人体视频| 精品中文字幕一区二区小辣椒| 亚洲不卡av一区二区三区| 国产精品盗摄一区二区三区| 久久精品日韩一区二区三区| 精品国产免费人成电影在线观看四季 | 日韩天堂在线观看| 欧美日韩aaaaaa| 欧美性猛交xxxx黑人交| 91国产成人在线| 色哟哟国产精品| 91在线高清观看| proumb性欧美在线观看| 国产不卡免费视频| 国产电影一区二区三区| 狠狠色2019综合网| 国内欧美视频一区二区 | 国产伦精品一区二区三区视频青涩| 亚洲h动漫在线| 亚洲一区二区三区四区中文字幕| 亚洲色图都市小说| 亚洲精品国产成人久久av盗摄| 国产剧情在线观看一区二区| 麻豆国产精品777777在线| 免费在线成人网| 全部av―极品视觉盛宴亚洲| 日韩国产精品大片| 精品一区二区在线免费观看| 韩国v欧美v日本v亚洲v| 国产资源精品在线观看| 国产一区视频在线看| 国产不卡高清在线观看视频| 97se亚洲国产综合在线| 91欧美一区二区| 在线影院国内精品| 91.成人天堂一区| 日韩欧美成人午夜| 国产亚洲成年网址在线观看| 国产精品欧美一区二区三区| 亚洲色图色小说| 午夜在线电影亚洲一区| 久久精品99国产精品| 国产99久久久久久免费看农村| 成人福利视频网站| 欧美在线观看一二区| 在线不卡欧美精品一区二区三区| 日韩免费观看高清完整版 | 日本怡春院一区二区| 国模大尺度一区二区三区| 成人性生交大合| 欧洲一区二区三区在线| 欧美电影免费观看完整版| 国产亚洲短视频| 亚洲影院理伦片| 国产在线精品不卡| 色婷婷精品大在线视频| 欧美一级高清片在线观看| 国产色产综合产在线视频| 一区二区三区日韩欧美| 久久精品99久久久| 91久久久免费一区二区| 精品久久人人做人人爽| 亚洲欧美日韩久久精品| 久久99久久99小草精品免视看| 成人av网站在线| 91精品综合久久久久久| 国产精品久久一卡二卡| 婷婷国产v国产偷v亚洲高清| 国产·精品毛片| 欧美一区中文字幕| 亚洲欧洲日韩女同| 久久99精品久久久久久动态图| 色一区在线观看| 精品日韩欧美在线| 亚洲最大色网站| 国产成a人亚洲精| 欧美一区二区视频在线观看| 亚洲欧洲日产国产综合网| 久久www免费人成看片高清| 91福利国产精品| 久久久久久久久伊人| 日韩极品在线观看| 91黄色免费看| 日本一区二区三区免费乱视频| 日韩专区中文字幕一区二区| www.99精品| 久久久久久久精| 日本亚洲电影天堂| 欧美性xxxxx极品少妇| 国产精品久久久久影视| 国产一区二区三区免费观看| 欧美日本在线一区| 一区二区三区国产精华| 国产不卡免费视频| 久久先锋资源网| 日韩—二三区免费观看av| 欧美午夜不卡在线观看免费| 中文字幕中文字幕一区二区| 国产精品99久久久久| 欧美电影免费提供在线观看| 日韩中文字幕91| 欧美乱熟臀69xxxxxx| 亚洲国产另类av| 91黄色免费版| 亚洲精品午夜久久久| 99精品视频在线观看| 国产三级精品三级| 国产一区二区三区av电影| 欧美第一区第二区| 麻豆精品在线观看| 欧美一卡2卡三卡4卡5免费| 丝袜国产日韩另类美女| 欧美另类高清zo欧美| 午夜a成v人精品| 欧美日韩精品一区视频| 天堂蜜桃一区二区三区| 777午夜精品免费视频| 亚洲不卡av一区二区三区| 欧美日韩一区二区三区四区五区| 亚洲一区二区av在线| 欧美自拍偷拍一区| 亚洲第一久久影院| 在线观看91精品国产麻豆| 天天色天天爱天天射综合| 制服.丝袜.亚洲.另类.中文| 日韩有码一区二区三区| 日韩免费在线观看| 国产美女娇喘av呻吟久久| 久久精品视频免费| 99re热这里只有精品视频| 亚洲色欲色欲www在线观看| 在线视频一区二区免费| 午夜激情久久久| 欧美成人bangbros| 国产宾馆实践打屁股91| 亚洲色图制服诱惑| 欧美精品tushy高清| 玖玖九九国产精品| 国产喂奶挤奶一区二区三区| 波多野结衣的一区二区三区| 亚洲男人电影天堂| 欧美一级一区二区| 国产一区亚洲一区| 亚洲品质自拍视频网站| 欧美精品自拍偷拍| 国产乱人伦精品一区二区在线观看 | 色综合久久久久综合99| 五月天视频一区| 久久色视频免费观看| www.爱久久.com| 免费美女久久99| 国产精品看片你懂得| 欧美精品日韩精品| 国产精品一级在线| 亚洲精品你懂的| 日韩你懂的电影在线观看| 99精品视频在线观看| 秋霞影院一区二区| 综合网在线视频| 91精品国产乱| 91免费版在线看| 精品一区二区免费看| 亚洲午夜一区二区| 中文字幕av资源一区| 欧美另类高清zo欧美| kk眼镜猥琐国模调教系列一区二区| 午夜视频一区在线观看| 国产精品午夜电影| 69堂成人精品免费视频| 成人精品免费看| 蜜臀久久99精品久久久久久9| 亚洲国产激情av| 欧美成人免费网站| 欧美无砖砖区免费| 成人午夜免费av| 美腿丝袜在线亚洲一区 | 国产精品18久久久久久久久久久久| 亚洲精品国产一区二区三区四区在线| 亚洲精品在线观| 制服丝袜中文字幕一区| 99久久99久久久精品齐齐|