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

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

?? ctask.doc

?? 一個可以立即使用的嵌入式操作系統
?? DOC
?? 第 1 頁 / 共 5 頁
字號:
             the malloc/free run-time routines. This option has no effect
             if TSK_DYNAMIC is FALSE. The default is TRUE.

             This option is normally enabled (TRUE).

        TSK_NAMEPAR
             If TRUE, all create_xxx calls accept an additional
             parameter, the name of the created control block. This name
             should contain only printeable characters, and should not be
             longer than 8 characters plus the zero terminator. This
             option is used together with TSK_NAMED (see below).

             This option is normally enabled (TRUE).
             It must be enabled for DOS.


        
        
        Ctask Manual       - Version 2.2 - 90-10-12 -             Page 17


        TSK_NAMED
             If TRUE, all control blocks (except timer control blocks)
             are named and linked on creation. This allows the snapshot
             dump routine to display the system state, and also allows
             linking to control blocks from secondary kernels.
             TSK_NAMEPAR must be defined for this option to work. Since
             it may be desirable to switch off the handling of the names
             after the debugging phase, without having to change all
             create_xxx calls to omit the name parameter, the name
             parameter is ignored if TSK_NAMED is undefined, but
             TSK_NAMEPAR is defined.

             This option is normally enabled (TRUE).
             It must be enabled for DOS.

        GROUPS
             If enabled, task groups, i.e. multiple invocations of CTask,
             are supported.

             This option is normally enabled (TRUE).
             It must be enabled for DOS.

        CLOCK_MSEC
             If TRUE, all timeouts are specified in milliseconds instead
             of timer ticks. This allows programming of delays and
             timeouts independent of the speedup-parameter or the system
             tick rate.

             This option is normally disabled (FALSE).

        PRI_TIMER
             Specifies the priority of the timer task. Normally the timer
             task should have a higher priority than any other task in
             the system.

             The value is normally 0xf000.

        PRI_STD
             This value may be used in your programs as the standard
             priority of user tasks. Its value is arbitrary. It is not
             used in the kernel except for the definition of PRI_INT9
             (see below).

             The value is normally 100 (decimal).









        
        
        Ctask Manual       - Version 2.2 - 90-10-12 -             Page 18


        PRI_INT8
             Determines the priority of the "int8"-task. This task chains
             to the previous interrupt vector for the sytem timer tick,
             and thus may activate resident TSR's. Since TSR's normally
             use polling when accessing the keyboard and other devices,
             the priority of the int8-task should be equal to or lower
             than normal user-defined tasks to allow your program to con-
             tinue to run while the TSR is active. You can tune this
             value so that some tasks are blocked by the TSR to avoid
             trashing the screen.

             The value is normally  PRI_STD.

        AT_BIOS
             If enabled, the AT BIOS wait/post handler is installed. May
             be disabled when compatibility problems arise. You can also
             disable installation of this handler with an install flag in
             the install_tasker call, but using the configuration flag
             will save some code. Embedded systems likely will use FALSE.

             This option is normally enabled (TRUE).

        INT8_EARLY
             If TRUE, the timer interrupt always uses early INT8 proces-
             sing, regardless of the IFL_INT8_EARLY installation flag.
             Setting this flag saves some code and data, but eliminates
             some flexibility. Under DOS, timer ticks can be missed under
             certain circumstances when set, so DOS based configurations
             always should use FALSE. The installation flag has a
             slightly different effect, and may be used under DOS with no
             adverse effects. Embedded systems likely will always use
             TRUE.

             This option is normally disabled (FALSE).

        INT8_LATE
             If TRUE, the timer interrupt always uses late INT8 proces-
             sing, regardless of the IFL_INT8_EARLY installation flag.
             Setting this flag saves some code, but eliminates some
             flexibility. Embedded systems likely will always use FALSE.

             This option is normally disabled (FALSE).

        IBM
        DOS
             Both IBM and DOS are more or less of informative value only,
             to point out those areas in the kernel that need attention
             when converting to non-IBM or non-DOS environments.
             Disabling one or both of this options requires the
             substitution of your own routines for installation, timer,
             and keyboard handling.

             Both options must normally be enabled (TRUE).
        
        
        Ctask Manual       - Version 2.2 - 90-10-12 -             Page 19


        SINGLE_DATA
             If enabled, only a single global data block is used. This
             speeds up processing, but prohibits linkage of multiple
             groups. Useful for dedicated systems, and also if your
             program is known to never interact with another copy of
             CTask. Should be left FALSE if you're not so sure, must be
             FALSE if GROUPS is enabled. The current version of the DOS
             handler requires GROUPS to be used, so it should only be
             TRUE for embedded systems.

             This option is normally disabled (FALSE).

        EMS
             If TRUE, EMS support is included. For DOS applications using
             spawn or going TSR, this should always be TRUE, unless it is
             known that the program will never be executed in an EMS
             environment. It must also be TRUE for programs using EMS.

             This option is normally enabled (TRUE).

        EMS_SAVE_SIZE
             Size of the EMS page info save area. For LIM 4.0 drivers,
             only four pages are saved, so 16 bytes should be sufficient.
             If the partial page map function is not available in the
             driver, more space may be required for holding the full page
             map.

             The value is normally 16.

        NDP
             If TRUE, 80x87 support is included. If this option is
             enabled, and no coprocessor is present, the machine can hang
             if the BIOS equipment configuration is set incorrectly.
             NOTE: Coprocessor support is not yet tested. Please report
             your experiences with this option.

             This option is normally disabled (FALSE).

        HOTKEYS
             If TRUE, keyboard hotkey support is included. Embedded
             systems likely will not use hotkeys, and may set this to
             FALSE.

             This option is normally enabled (TRUE).


        CHECKING
             Enables pointer and stack checks when TRUE. Checking
             pointers and task stacks slows down the system, but it is
             highly recommended to enable this option during development.
             Only turn off checking after debugging is complete.

             This option is normally disabled (FALSE).
        
        
        Ctask Manual       - Version 2.2 - 90-10-12 -             Page 20


                                Memory Allocation

        TSKALLOC.C is needed if TSK_DYNAMIC is enabled in tskconf.h to
        handle the allocation and free calls. If you want to use dynamic
        allocation in your own tasks, you should also use the functions
        tsk_alloc and tsk_free to avoid the reentrancy problems mentioned
        in the introduction. If you should need other forms of alloc
        (like calloc) the recommended way is to add those functions to
        TSKALLOC.C, requesting the resource alloc_resource before calling
        the C memory-allocation function.

        Joe Urso provided the following tip on how to force all memory
        allocation to pass through the resource handling functions:

        "I have found that some MS Library functions call the allocate
        and free library functions, namely the first call to fread(),
        fopen(), and fclose().

        To fix this situation I have

           - extracted FMALLOC from the llibce library,

           - renamed the functions within that object (via the Norton
             Utilities) to the upper case spelling of the functions
             (FREE, MALLOC, _FFREE and _FMALLOC) and replaced the file in
             the lib. I also did the same for object EXPAND because of
             the function REALLOC.

           - then modified TSKALLOC.C to contain the lower case spelling
             of malloc, free, and expand. These functions aquire the
             alloc resource, then call the upper case spelling of the
             name.

        At link time I now link with /NOIGNORECASE and /NODEFAULTLIB."

        An option is provided in tskalloc.c to compile the module with
        the modifications suggested by Joe Urso.


                                     Snapshot

        TSKSNAP.C is only needed if you want to include the snapshot dump
        into your program. Note that you can *not* use snapshot if you
        disable TSK_NAMED in tskconf.h.









        
        
        Ctask Manual       - Version 2.2 - 90-10-12 -             Page 21


                                   Task Stacks

        When compiling your application, turn stack checking off. The
        standard stack check is of little use with task stacks, and may
        interfere with CTask's operation. The stack area for tasks should
        be allocated on the main program's stack, not in the static or
        heap data space. The reason for this is that some of the C
        library routines check for stack overflow regardless of your
        compile-time switches, and will crash your application if you use
        stacks outside the normal stack. The stack allocation parameter
        with LINK (MS-C), or the _stacksize variable (Turbo C) have to be
        increased to reflect the additional stack space. When calculating
        task stack sizes, keep in mind that library routines (esp.
        printf) allocate a lot of space on the stack for temporary
        variables. A minimum of 1k for tasks using library routines is
        recommended, 2k puts you on the safe side. Tasks not using C
        library routines may use a smaller stack, about 256 bytes at a
        minimum, plus space for any local variables and nested routines.
        Then add up all task stacks, and add space for the main task (the
        function calling install_tasker), with this size also dependent
        on what you will do in the main task while CTask is active.
        Stacks for tasks that do not use C library routines may be
        allocated anywhere.

        If you have the CHECKING option enabled, the snapshot dump will
        output the number of unused bytes of stack for each task. This
        can help you determine the optimum stack size for your
        application.


                                     Drivers

        The keyboard and DOS handlers are always installed with CTask.
        Using the serial I/O and printer drivers is optional, so you have
        to 

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美另类一区二区三区| 亚洲午夜一区二区三区| 一区二区三区国产精品| 麻豆一区二区在线| 91久久精品一区二区二区| 久久精品亚洲一区二区三区浴池| 亚洲国产精品一区二区www| 国产高清亚洲一区| 精品日韩一区二区三区| 性做久久久久久免费观看| 色综合一区二区| 国产精品素人一区二区| 韩国女主播成人在线观看| 91精品国产综合久久蜜臀| 亚洲一卡二卡三卡四卡五卡| 成人的网站免费观看| 国产亚洲自拍一区| 久久99精品久久久久久久久久久久| 欧美日韩综合在线| 一区二区三区欧美日| aaa亚洲精品| 国产精品久久久久天堂| 国产东北露脸精品视频| xnxx国产精品| 国产精品一卡二卡在线观看| 精品美女一区二区三区| 老司机精品视频一区二区三区| 91精品国产色综合久久ai换脸| 亚洲国产日韩在线一区模特| 欧美综合色免费| 亚洲在线成人精品| 欧美精品 国产精品| 五月激情综合色| 制服丝袜亚洲网站| 麻豆精品一区二区三区| 久久久久久久精| 岛国av在线一区| 亚洲欧洲另类国产综合| 色婷婷精品久久二区二区蜜臂av| 亚洲综合一区二区| 91精品国产综合久久蜜臀| 精品在线你懂的| 欧美国产激情二区三区 | 蜜桃一区二区三区四区| 制服.丝袜.亚洲.另类.中文| 美脚の诱脚舐め脚责91 | 欧美喷水一区二区| 日韩成人一级大片| 久久影院午夜片一区| 成人动漫一区二区三区| 亚洲综合视频在线观看| 日韩一区二区三区三四区视频在线观看| 免费成人av在线播放| 国产午夜精品久久| 色屁屁一区二区| 免费成人在线网站| 日本一区二区三区视频视频| 色欧美片视频在线观看在线视频| 亚洲成人免费观看| 国产午夜亚洲精品羞羞网站| 一本久久综合亚洲鲁鲁五月天| 亚洲亚洲精品在线观看| 精品久久久久久久久久久久久久久久久 | 国产日韩三级在线| 91看片淫黄大片一级在线观看| 五月婷婷另类国产| 国产欧美精品区一区二区三区 | 欧美美女激情18p| 国产传媒一区在线| 亚洲成人自拍偷拍| 国产精品免费久久| 欧美一级黄色录像| 一本色道久久加勒比精品| 极品少妇xxxx精品少妇偷拍| 亚洲精品福利视频网站| 久久久久国产精品免费免费搜索| 欧美性极品少妇| 成人av网址在线| 久久不见久久见免费视频1| 一区二区三区 在线观看视频| 精品免费视频.| 欧美美女一区二区| 色综合天天综合狠狠| 国产激情视频一区二区三区欧美| 日韩精品一二三区| 中文字幕一区二区在线观看| 日韩免费观看2025年上映的电影 | 欧美电影免费观看高清完整版在 | 91精品国产综合久久久蜜臀粉嫩 | 日韩专区欧美专区| 亚洲女性喷水在线观看一区| 久久夜色精品一区| 日韩片之四级片| 欧美日韩一区二区三区四区 | 成人小视频免费在线观看| 蜜臀久久久久久久| 亚洲成av人片在线| 亚洲综合成人在线| 亚洲欧美日韩人成在线播放| 国产精品美日韩| 国产欧美日产一区| 久久久蜜桃精品| 久久综合狠狠综合久久激情| 欧美mv日韩mv亚洲| 欧美精品一区二区三区高清aⅴ| 欧美久久久久久久久中文字幕| 欧美性色黄大片手机版| 91一区一区三区| 一本大道av伊人久久综合| 成人午夜视频在线观看| 成人综合婷婷国产精品久久免费| 国产成人免费视频网站| 国产成人在线视频播放| 国精产品一区一区三区mba视频| 蜜臀99久久精品久久久久久软件| 青青国产91久久久久久| 蜜桃一区二区三区在线| 久久国产精品99久久人人澡| 久久成人av少妇免费| 国产一区日韩二区欧美三区| 国产剧情一区在线| 成人高清伦理免费影院在线观看| av在线综合网| 日本高清视频一区二区| 欧美日韩美女一区二区| 91精品久久久久久久久99蜜臂| 欧美成人一区二区三区在线观看 | 欧美成人video| 久久欧美一区二区| 综合久久一区二区三区| 伊人一区二区三区| 日韩中文字幕不卡| 国产九九视频一区二区三区| 波多野结衣中文字幕一区二区三区 | 日韩一级大片在线| 精品福利视频一区二区三区| 国产亚洲精品bt天堂精选| 亚洲欧洲日韩在线| 日韩精品电影一区亚洲| 国产成人在线色| 在线观看亚洲a| 精品国产自在久精品国产| 国产精品免费视频一区| 丝瓜av网站精品一区二区| 国产精品一区在线观看你懂的| 一本大道久久a久久综合| 日韩欧美久久久| 亚洲色欲色欲www在线观看| 日韩精品乱码免费| 成人av在线一区二区| 91精品久久久久久蜜臀| 国产精品久久久久一区二区三区| 午夜av电影一区| 99视频精品全部免费在线| 欧美欧美午夜aⅴ在线观看| 国产亚洲欧美中文| 无码av免费一区二区三区试看| 国产精品996| 欧美精品 日韩| 亚洲欧美日韩小说| 国产成人av一区二区三区在线 | 色94色欧美sute亚洲线路一久 | 亚洲一区二区三区小说| 久久国产精品无码网站| 在线视频一区二区免费| 中文乱码免费一区二区| 蜜臂av日日欢夜夜爽一区| 91黄色激情网站| 国产精品素人视频| 狠狠色综合日日| 在线播放中文一区| 亚洲精品国久久99热| 国产成人亚洲精品狼色在线| 精品国产一区二区三区久久久蜜月| 136国产福利精品导航| 久久国产夜色精品鲁鲁99| 欧美日韩国产电影| 亚洲卡通动漫在线| www.亚洲在线| 欧美国产日韩亚洲一区| 黄色精品一二区| 欧美xingq一区二区| 日韩高清不卡一区| 欧美日韩国产综合久久| 一级精品视频在线观看宜春院| 国产成a人亚洲精品| 久久久国产精品麻豆| 极品少妇xxxx偷拍精品少妇| 日韩精品一区二区三区在线播放 | 欧美精品一二三区| 视频一区二区三区中文字幕| 欧美日韩精品一区二区三区蜜桃| 亚洲精品免费在线| 91久久精品一区二区三| 亚洲国产aⅴ天堂久久| 精品污污网站免费看| 日韩国产欧美在线视频| 91精品综合久久久久久| 久久精品国产亚洲a| 久久九九国产精品|