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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? nucleus.h

?? nucleas source code
?? H
?? 第 1 頁 / 共 4 頁
字號:
/*************************************************************************/
/*                                                                       */
/*               Copyright Mentor Graphics Corporation 2002              */
/*                         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                          */
/*                                                                       */
/*      nucleus.h             Nucleus PLUS\ARM925\Code Composer 1.14.1   */
/*                                                                       */
/* COMPONENT                                                             */
/*                                                                       */
/*      System Constants                                                 */
/*                                                                       */
/* DESCRIPTION                                                           */
/*                                                                       */
/*      This file contains system constants common to both the           */
/*      application and the actual Nucleus PLUS components.  This file   */
/*      also contains data structure definitions that hide internal      */
/*      information from the application.                                */
/*                                                                       */
/* DATA STRUCTURES                                                       */
/*                                                                       */
/*      NU_DRIVER                           I/O Driver control block     */
/*      NU_EVENT_GROUP                      Event group control block    */
/*      NU_HISR                             HISR control block           */
/*      NU_MAILBOX                          Mailbox control block        */
/*      NU_MEMORY_POOL                      Memory Pool control block    */
/*      NU_PARTITION_POOL                   Partition Pool control block */
/*      NU_PIPE                             Pipe control block           */
/*      NU_QUEUE                            Queue control block          */
/*      NU_SEMAPHORE                        Semaphore control block      */
/*      NU_TASK                             Task control block           */
/*      NU_TIMER                            Timer control block          */
/*      NU_PROTECT                          Protection structure         */
/*                                                                       */
/* FUNCTIONS                                                             */
/*                                                                       */
/*      None                                                             */
/*                                                                       */
/* DEPENDENCIES                                                          */
/*                                                                       */
/*      None                                                             */
/*                                                                       */
/* HISTORY                                                               */
/*                                                                       */
/*         NAME            DATE                    REMARKS               */
/*                                                                       */
/*      B. Ronquillo     08-28-2002           Released version 1.14.1    */ 
/*                                                                       */
/*                                                                       */ 
/*************************************************************************/

/* Check to see if this file has been included already.  */

#ifndef         NUCLEUS

#ifdef          __cplusplus
extern  "C" {                               /* C declarations in C++     */
#endif

#define         NUCLEUS

#define  PLUS_1_11             1
#define  PLUS_1_13             2
#define  PLUS_1_14             3
#define  PLUS_VERSION_COMP     PLUS_1_14
  
#ifndef         NU_SUPERV_USER_MODE
#define         NU_SUPERV_USER_MODE   0
#endif

#ifndef         NU_MODULE_SUPPORT
#define         NU_MODULE_SUPPORT     0
#endif

#ifndef         NU_MMU_MODE
#define         NU_MMU_MODE           0
#endif


/* Define the clock frequency that is used by the timer control unit (must be defined in hertz */
#define NU_System_Clock_Frequency   84000000

/* Define the number of Nucleus PLUS ticks that will occur every second */
#define NU_PLUS_Ticks_Per_Second    100

/* Define the number of timer ticks that will occur every second.  This is
   usually the frequency of the timer used by the Nucleus clock.  It may
   be modified by a prescalar.  See the INT assembler file for more info */

#define NU_HW_Ticks_Per_Second      (NU_System_Clock_Frequency)

/* The number of timer ticks between Nucleus timer interrupts that increment
   TMD_System_Clock.  See timer initialization code for details about how to
   determine this number. */
#define NU_HW_Ticks_Per_SW_Tick     (NU_HW_Ticks_Per_Second / NU_PLUS_Ticks_Per_Second)

/* Define NU_COUNT_DOWN if the system timer counts down to 0.  
   This macro is used to switch between formulas to calculate 
   the number of ticks since the systems started in NU_Get_Clock */
#define NU_COUNT_DOWN

/* This macro returns the value of the Nucleus timer (not the system clock) */
#define NU_Retrieve_Hardware_Clock(hw_tick) hw_tick = *(UINT32 *)(0xFFFEC608)

/* Define standard data types.  These definitions allow Nucleus PLUS to
   perform in the same manner on different target platforms.  */

typedef unsigned long           UNSIGNED;
typedef long                    SIGNED;
typedef unsigned char           DATA_ELEMENT;
typedef DATA_ELEMENT            OPTION;
typedef int                     STATUS;
typedef unsigned char           UNSIGNED_CHAR;
typedef char                    CHAR;
typedef int                     INT;
typedef unsigned long *         UNSIGNED_PTR;
typedef unsigned char *         BYTE_PTR;
typedef DATA_ELEMENT            BOOLEAN;
typedef unsigned int            UNSIGNED_INT;

#define VOID void
#define HUGE
#define FAR

typedef char    INT8;  
typedef unsigned char  UINT8; 
typedef signed short   INT16; 
typedef unsigned short UINT16;
typedef signed long    INT32; 
typedef unsigned long  UINT32;


/* Define register defines.  R1, R2, R3, and R4 are used in the Nucleus PLUS
   source code in front of variables that are referenced often.  In some
   ports, defining them as "register" will improve performance.  */

#define         R1                              register
#define         R2                              register
#define         R3                              register
#define         R4                              register


/* Define the number of accesses required to read or write a pointer data
   type.  This value is used to make optimizations in some ports of Nucleus
   PLUS.  */
   
#define         NU_POINTER_ACCESS               1


/* Define the padding required for usage of the DATA_ELEMENT type within 
   Nucleus PLUS structures.  These values insure proper alignment for the
   next structure member.  */
   
#define         PAD_1                           3
#define         PAD_2                           2
#define         PAD_3                           1



/* Define constants that are target dependent and/or are used for internal
   purposes.  */

#define         NU_MIN_STACK_SIZE               240
#define         NU_MAX_NAME                     8
#define         NU_MAX_VECTORS                  64
#define         NU_MAX_LISRS                    8


/* Define constants for the number of UNSIGNED words in each of the basic
   system data structures.  */

#define         NU_TASK_SIZE                    42
#define         NU_HISR_SIZE                    22
#define         NU_MAILBOX_SIZE                 13
#define         NU_QUEUE_SIZE                   18
#define         NU_PIPE_SIZE                    18
#define         NU_SEMAPHORE_SIZE               10
#define         NU_EVENT_GROUP_SIZE             9
#define         NU_PARTITION_POOL_SIZE          15
#define         NU_MEMORY_POOL_SIZE             17
#define         NU_TIMER_SIZE                   17
#define         NU_PROTECT_SIZE                 2
#define         NU_DRIVER_SIZE                  3

/* Define what an interrupt vector looks like on the target processor.  */

typedef struct NU_VECTOR_STRUCT
{
    VOID       *pointer;
} NU_VECTOR;


/* Define constants for use in service parameters.  */

#define         NU_AND                          2
#define         NU_AND_CONSUME                  3
#define         NU_DISABLE_TIMER                4
#define         NU_ENABLE_TIMER                 5
#define         NU_FALSE                        0
#define         NU_FIFO                         6
#define         NU_FIXED_SIZE                   7
#define         NU_NO_PREEMPT                   8
#define         NU_NO_START                     9
#define         NU_NO_SUSPEND                   0
#define         NU_NULL                         0
#define         NU_OR                           0
#define         NU_OR_CONSUME                   1
#define         NU_PREEMPT                      10
#define         NU_PRIORITY                     11
#define         NU_START                        12
#define         NU_SUSPEND                      0xFFFFFFFFUL
#define         NU_TRUE                         1
#define         NU_VARIABLE_SIZE                13


/* Define interrupt lockout and enable constants.  */

#define         NU_DISABLE_INTERRUPTS           0xC0
#define         NU_ENABLE_INTERRUPTS            0x00


/* Define task suspension constants.  */

#define         NU_DRIVER_SUSPEND               10
#define         NU_EVENT_SUSPEND                7
#define         NU_FINISHED                     11
#define         NU_MAILBOX_SUSPEND              3
#define         NU_MEMORY_SUSPEND               9
#define         NU_PARTITION_SUSPEND            8
#define         NU_PIPE_SUSPEND                 5
#define         NU_PURE_SUSPEND                 1
#define         NU_QUEUE_SUSPEND                4
#define         NU_READY                        0
#define         NU_SEMAPHORE_SUSPEND            6
#define         NU_SLEEP_SUSPEND                2
#define         NU_TERMINATED                   12

/* Define service completion status constants.  */

#define         NU_SUCCESS                      0
#define         NU_END_OF_LOG                   -1
#define         NU_GROUP_DELETED                -2
#define         NU_INVALID_DELETE               -3
#define         NU_INVALID_DRIVER               -4
#define         NU_INVALID_ENABLE               -5
#define         NU_INVALID_ENTRY                -6
#define         NU_INVALID_FUNCTION             -7
#define         NU_INVALID_GROUP                -8
#define         NU_INVALID_HISR                 -9
#define         NU_INVALID_MAILBOX              -10
#define         NU_INVALID_MEMORY               -11
#define         NU_INVALID_MESSAGE              -12
#define         NU_INVALID_OPERATION            -13
#define         NU_INVALID_PIPE                 -14
#define         NU_INVALID_POINTER              -15
#define         NU_INVALID_POOL                 -16
#define         NU_INVALID_PREEMPT              -17
#define         NU_INVALID_PRIORITY             -18
#define         NU_INVALID_QUEUE                -19
#define         NU_INVALID_RESUME               -20
#define         NU_INVALID_SEMAPHORE            -21
#define         NU_INVALID_SIZE                 -22
#define         NU_INVALID_START                -23
#define         NU_INVALID_SUSPEND              -24
#define         NU_INVALID_TASK                 -25
#define         NU_INVALID_TIMER                -26
#define         NU_INVALID_VECTOR               -27
#define         NU_MAILBOX_DELETED              -28
#define         NU_MAILBOX_EMPTY                -29
#define         NU_MAILBOX_FULL                 -30
#define         NU_MAILBOX_RESET                -31
#define         NU_NO_MEMORY                    -32
#define         NU_NO_MORE_LISRS                -33
#define         NU_NO_PARTITION                 -34
#define         NU_NOT_DISABLED                 -35
#define         NU_NOT_PRESENT                  -36
#define         NU_NOT_REGISTERED               -37
#define         NU_NOT_TERMINATED               -38
#define         NU_PIPE_DELETED                 -39
#define         NU_PIPE_EMPTY                   -40
#define         NU_PIPE_FULL                    -41
#define         NU_PIPE_RESET                   -42
#define         NU_POOL_DELETED                 -43
#define         NU_QUEUE_DELETED                -44
#define         NU_QUEUE_EMPTY                  -45
#define         NU_QUEUE_FULL                   -46
#define         NU_QUEUE_RESET                  -47
#define         NU_SEMAPHORE_DELETED            -48
#define         NU_SEMAPHORE_RESET              -49
#define         NU_TIMEOUT                      -50
#define         NU_UNAVAILABLE                  -51
#define         NU_INVALID_DESCRIPTION          -52
#define         NU_INVALID_REGION               -53
#define         NU_MEMORY_CORRUPT               -54
#define         NU_INVALID_DEBUG_ALLOCATION     -55

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产一区二区成人久久免费影院| 国产一区二区三区四| 欧美aaaaaa午夜精品| 高清在线成人网| 日韩欧美一级二级三级久久久| 专区另类欧美日韩| 国产美女av一区二区三区| 欧美午夜一区二区| 综合自拍亚洲综合图不卡区| 狠狠色丁香久久婷婷综| 欧美色图激情小说| 一区二区三区免费在线观看| 国产69精品久久久久777| 精品国产不卡一区二区三区| 亚洲成人激情社区| 欧美综合在线视频| 1区2区3区精品视频| 粉嫩一区二区三区性色av| 欧美一级免费观看| 日韩精品一级中文字幕精品视频免费观看 | 欧美疯狂性受xxxxx喷水图片| 国产精品色婷婷| 国产综合色精品一区二区三区| 日韩欧美亚洲国产另类 | 韩国三级在线一区| 日韩精品最新网址| 老司机精品视频导航| 日韩一区和二区| 日本视频在线一区| 欧美一级一区二区| 极品少妇一区二区| 久久久久久毛片| 国产91在线看| 国产精品妹子av| 99视频一区二区三区| 亚洲欧美偷拍另类a∨色屁股| 色中色一区二区| 亚洲一区二区精品视频| 欧美亚洲精品一区| 日本成人在线一区| 久久亚洲一区二区三区明星换脸| 国产aⅴ精品一区二区三区色成熟| 国产欧美久久久精品影院| 国产成人免费av在线| 国产精品美女www爽爽爽| 色婷婷综合久久久久中文一区二区| 亚洲欧美一区二区三区国产精品| 欧美视频一区在线| 美女被吸乳得到大胸91| 久久久久97国产精华液好用吗| 成人精品视频一区二区三区| 亚洲精品视频在线| 欧美精品第1页| 国产露脸91国语对白| 亚洲欧美激情小说另类| 欧美午夜理伦三级在线观看| 青青草91视频| 中文字幕一区二区三区在线不卡| 在线观看网站黄不卡| 久久激情五月激情| 亚洲四区在线观看| 欧美丰满嫩嫩电影| 成人av电影在线网| 丝袜美腿亚洲综合| 亚洲国产激情av| 欧美精品久久99久久在免费线 | 国产欧美日韩在线看| 91丨porny丨首页| 天堂久久一区二区三区| 亚洲国产高清在线| 欧美精品v国产精品v日韩精品| 国产精品99久久不卡二区| 亚洲欧美日韩综合aⅴ视频| 日韩精品资源二区在线| 91一区一区三区| 国内精品写真在线观看| 亚洲电影激情视频网站| 国产精品天美传媒| 欧美电视剧在线看免费| 色哟哟一区二区在线观看| 国产美女精品一区二区三区| 午夜亚洲福利老司机| 中文成人综合网| 欧美成人精品1314www| 在线视频欧美区| 成人一二三区视频| 久久精品国产99国产精品| 亚洲影视在线观看| 成人免费小视频| 国产午夜三级一区二区三| 777奇米四色成人影色区| 色综合一个色综合| 国产·精品毛片| 久99久精品视频免费观看| 亚洲国产精品久久艾草纯爱| 国产精品―色哟哟| 国产女同互慰高潮91漫画| 日韩一本二本av| 欧美一区二区三区四区视频| 欧美三级中文字幕| 欧洲精品一区二区三区在线观看| 成人免费福利片| 成人精品在线视频观看| 国产馆精品极品| 国产激情一区二区三区四区 | 美女网站色91| 天堂一区二区在线| 亚洲大片免费看| 亚洲午夜在线观看视频在线| 亚洲一区二区三区不卡国产欧美 | 日韩av电影天堂| 午夜精品久久久久久| 一区二区三区在线高清| 一区二区三区在线视频免费| 亚洲精品伦理在线| 亚洲综合久久av| 亚洲第一福利一区| 免费日本视频一区| 激情欧美日韩一区二区| 九色|91porny| 国产99久久精品| 99久久综合精品| 欧美三级一区二区| 日韩一区二区三区电影在线观看 | www.亚洲在线| 97精品电影院| 欧美日韩国产首页| 日韩一区二区三区四区五区六区| 欧美成人性战久久| 中文在线一区二区| 一区二区三区精品在线观看| 亚洲大片在线观看| 极品少妇xxxx精品少妇偷拍| 成人一区二区三区视频| 色婷婷亚洲精品| 欧美一区二区三区播放老司机| 精品国产凹凸成av人导航| 国产欧美精品一区aⅴ影院| 一区二区视频在线看| 天堂久久一区二区三区| 国产盗摄一区二区| 欧美性色黄大片| 日韩欧美一级二级三级久久久| 日本一区二区电影| 五月天久久比比资源色| 精品一区二区日韩| 不卡的看片网站| 欧美美女黄视频| 日本一区二区成人| 人人狠狠综合久久亚洲| 成人一区二区三区视频在线观看| 在线视频欧美区| 精品乱码亚洲一区二区不卡| 国产精品麻豆久久久| 日韩成人免费电影| caoporen国产精品视频| 欧美一区二区视频在线观看2022 | 天天做天天摸天天爽国产一区 | 久久综合九色综合欧美98| 日韩一区欧美小说| 久久成人羞羞网站| 91免费看`日韩一区二区| 91精品国产全国免费观看| 国产精品每日更新| 国产综合久久久久久鬼色| 欧美综合一区二区三区| 日本一区二区三级电影在线观看 | 国产精品国产三级国产三级人妇| 亚洲成人自拍偷拍| 成人av在线播放网址| 久久综合色综合88| 丝袜亚洲另类丝袜在线| 色综合视频一区二区三区高清| 精品国产麻豆免费人成网站| 亚洲一二三四区| 99精品在线免费| 中文字幕av资源一区| 美女www一区二区| 欧美精品一二三区| 亚洲大片在线观看| 91在线精品一区二区三区| 国产视频一区二区三区在线观看| 日韩国产精品久久久久久亚洲| 欧美亚洲免费在线一区| 亚洲天堂精品在线观看| 99久久精品免费精品国产| 国产视频一区二区在线| 国产麻豆午夜三级精品| 日韩欧美一卡二卡| 麻豆国产91在线播放| 日韩欧美激情在线| 精品一区精品二区高清| 91精品国产91久久久久久一区二区| 一级日本不卡的影视| 91在线观看美女| 亚洲色欲色欲www| 91网上在线视频| 亚洲欧美国产77777| 色综合中文字幕国产| 国产欧美综合在线|