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

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

?? ctask.doc

?? 一個嵌入式實時操作系統(tǒng)源碼
?? 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 

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲电影欧美电影有声小说| 中文字幕日韩欧美一区二区三区| 日本欧美在线观看| 欧美久久高跟鞋激| 久久精品国产精品亚洲精品| 久久综合色婷婷| 国产成人av电影| 亚洲人成在线播放网站岛国| 91福利视频在线| 蜜桃视频一区二区三区| 26uuu亚洲| 91丝袜美腿高跟国产极品老师| 亚洲精品成人精品456| 欧美日本在线视频| 九色|91porny| 成人欧美一区二区三区小说| 在线看不卡av| 精品无人码麻豆乱码1区2区| 久久精品日产第一区二区三区高清版 | 在线一区二区三区做爰视频网站| 亚洲一区免费视频| 日韩欧美另类在线| 9人人澡人人爽人人精品| 亚洲午夜在线视频| 欧美不卡一区二区三区四区| jizz一区二区| 天天做天天摸天天爽国产一区| 26uuu成人网一区二区三区| 成人av网站免费| 琪琪一区二区三区| 国产精品不卡一区二区三区| 91精品婷婷国产综合久久性色| 国产成人免费视| 午夜精品久久久久久久久久久| 精品国产99国产精品| 色欧美乱欧美15图片| 久久99精品一区二区三区三区| 最新久久zyz资源站| 色综合天天性综合| 精品一区二区影视| 亚洲一区二区三区三| 国产偷国产偷亚洲高清人白洁| 欧美日韩激情一区二区| 成人免费观看av| 久久99精品久久久久久动态图 | 国产99一区视频免费| 午夜欧美2019年伦理| 久久久电影一区二区三区| 欧美美女视频在线观看| 99久久伊人久久99| 国产精品一级片| 另类小说一区二区三区| 亚洲成人动漫在线观看| 中文字幕视频一区二区三区久| 337p粉嫩大胆噜噜噜噜噜91av| 欧美日韩国产色站一区二区三区| 成人精品高清在线| 国产麻豆精品一区二区| 免费成人av在线| 视频一区二区欧美| 性感美女久久精品| 亚洲在线视频网站| 亚洲三级电影网站| 国产精品每日更新在线播放网址 | 99久久精品国产导航| 国产一区福利在线| 蜜乳av一区二区| 强制捆绑调教一区二区| 婷婷成人激情在线网| 一区二区三区.www| 一区二区三区视频在线看| 中文字幕中文字幕一区二区| 国产精品五月天| 一区精品在线播放| 国产精品天美传媒沈樵| 国产欧美日韩在线看| 欧美激情一区二区三区不卡| 欧美高清在线视频| 国产精品国产馆在线真实露脸| 欧美国产日韩精品免费观看| 亚洲国产经典视频| 亚洲欧美色图小说| 亚洲精品免费在线播放| 亚洲大片在线观看| 青青草一区二区三区| 免费观看一级欧美片| 狠狠色综合色综合网络| 久久9热精品视频| 国产成人精品免费一区二区| a亚洲天堂av| 91香蕉国产在线观看软件| 一本久久精品一区二区| 欧美日韩高清影院| 日韩视频在线一区二区| 精品免费日韩av| 国产精品免费视频网站| 亚洲欧美日韩人成在线播放| 亚洲国产精品欧美一二99| 日本 国产 欧美色综合| 狠狠色2019综合网| 99国产精品久| 欧美精品第1页| 久久婷婷综合激情| 成人免费在线视频观看| 亚洲午夜一区二区| 韩国v欧美v亚洲v日本v| 99国产精品国产精品毛片| 欧美人妖巨大在线| 久久蜜桃一区二区| 亚洲综合成人在线视频| 美日韩黄色大片| av午夜一区麻豆| 51久久夜色精品国产麻豆| 国产亚洲精品aa午夜观看| 亚洲女爱视频在线| 蜜臀av在线播放一区二区三区| 成年人网站91| 91精品婷婷国产综合久久性色| 国产情人综合久久777777| 亚洲国产aⅴ天堂久久| 激情综合色播激情啊| 欧美性生活影院| 精品国产91久久久久久久妲己 | 国产69精品久久久久毛片| 欧美亚洲动漫制服丝袜| 久久久精品国产99久久精品芒果| 一区二区三区91| 成人做爰69片免费看网站| 欧美日韩美少妇| 中文字幕在线观看一区| 日本人妖一区二区| 色哟哟亚洲精品| 国产日韩一级二级三级| 日韩精品免费专区| 97精品国产97久久久久久久久久久久| 欧美一二三四在线| 一区二区三区**美女毛片| 国产91高潮流白浆在线麻豆| 欧美一区二区三区四区高清| 亚洲欧洲精品天堂一级| 国产一区二区日韩精品| 欧美一区二区久久| 亚洲一区二区三区四区在线| 风流少妇一区二区| 18成人在线观看| 国产高清不卡二三区| 日韩一区二区三区四区 | 日韩高清不卡一区| 色综合一区二区三区| 久久久综合激的五月天| 免费一区二区视频| 欧美精品精品一区| 亚洲aⅴ怡春院| 日本精品一区二区三区四区的功能| 国产欧美综合在线观看第十页| 蜜臀久久久99精品久久久久久| 在线播放91灌醉迷j高跟美女| 亚洲久草在线视频| 91色综合久久久久婷婷| 中文字幕一区免费在线观看| 成人国产电影网| 国产精品久久久久久久久搜平片 | 成人福利视频在线| 国产精品青草久久| 国产iv一区二区三区| 国产三级精品在线| 成人一区二区三区在线观看 | 97se亚洲国产综合自在线观| 国产精品传媒视频| 成人18精品视频| 亚洲欧美一区二区久久| 色婷婷综合久久久| 亚洲一区二区av电影| 欧美日韩另类一区| 五月激情综合婷婷| 精品奇米国产一区二区三区| 伦理电影国产精品| 亚洲3atv精品一区二区三区| 欧美精品一二三区| 精品一区二区三区免费视频| 精品免费视频一区二区| 国产激情偷乱视频一区二区三区| 国产蜜臀av在线一区二区三区| 成人黄色av电影| 亚洲裸体在线观看| 欧美女孩性生活视频| 免费观看一级欧美片| www国产成人免费观看视频 深夜成人网| 国产一区二区在线免费观看| 欧美极品aⅴ影院| 色88888久久久久久影院野外| 午夜精品福利一区二区三区av| 欧美一区二区三区四区视频| 国产成人一级电影| 亚洲裸体xxx| 日韩精品一区在线| 不卡欧美aaaaa| 亚洲观看高清完整版在线观看| 日韩欧美成人午夜| 北岛玲一区二区三区四区|