⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 iod.c

📁 nucleus 2006 source code
💻 C
字号:
/*************************************************************************/
/*                                                                       */
/*               Copyright Mentor Graphics Corporation 2004              */
/*                         All Rights Reserved.                          */
/*                                                                       */
/* THIS WORK CONTAINS TRADE SECRET AND PROPRIETARY INFORMATION WHICH IS  */
/* THE PROPERTY OF MENTOR GRAPHICS CORPORATION OR ITS LICENSORS AND IS   */
/* SUBJECT TO LICENSE TERMS.                                             */
/*                                                                       */
/*************************************************************************/

/*************************************************************************/
/*                                                                       */
/* FILE NAME                                               VERSION       */
/*                                                                       */
/*      iod.c                                          Nucleus PLUS 1.15 */
/*                                                                       */
/* COMPONENT                                                             */
/*                                                                       */
/*      IO - Input/Output Driver Management                              */
/*                                                                       */
/* DESCRIPTION                                                           */
/*                                                                       */
/*      This file contains global data structures for use within the     */
/*      Input/Output Driver Management component.                        */
/*                                                                       */
/* DATA STRUCTURES                                                       */
/*                                                                       */
/*      IOD_Created_Drivers_List            Pointer to the linked-list   */
/*                                            of created I/O drivers     */
/*      IOD_Total_Drivers                   Total number of created      */
/*                                            I/O drivers                */
/*      IOD_List_Protect                    I/O driver list protection   */
/*                                                                       */
/* FUNCTIONS                                                             */
/*                                                                       */
/*      None                                                             */
/*                                                                       */
/* DEPENDENCIES                                                          */
/*                                                                       */
/*      io_defs.h                           I/O Driver Management consts */
/*      tc_defs.h                           Thread Control constants     */
/*                                                                       */
/*************************************************************************/
#define         NU_SOURCE_FILE

#include        "plus/inc/io_defs.h"        /* I/O Driver constants      */
#include        "plus/inc/tc_defs.h"        /* Thread control constants  */


/* IOD_Created_Drivers_List is the head pointer of the linked list of
   created I/O drivers.  If the list is NU_NULL, there are no I/O drivers
   created.  */

CS_NODE        *IOD_Created_Drivers_List;


/* IOD_Total_Drivers contains the number of currently created
   I/O drivers.  */

UNSIGNED        IOD_Total_Drivers;


/* IOD_List_Protect is a list protection structure used to block any other
   thread from access to the created drivers list.  */

TC_PROTECT      IOD_List_Protect;






⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -