Ignore:
Timestamp:
Jul 5, 2020, 6:30:00 PM (4 years ago)
Author:
coas-nagasima
Message:

ntshellのコードを整理

File:
1 edited

Legend:

Unmodified
Added
Removed
  • EcnlProtoTool/trunk/ntshell/src/main.h

    r431 r432  
    5252 */
    5353
    54 #define MAIN_PRIORITY   5               /* メインタスクの優先度 */
     54#define MAIN_PRIORITY   5                       /* メインタスクの優先度 */
    5555#define SHELLCMD_PRIORITY       4               /* shellcmdタスクの優先度 */
    5656
     
    5858#define SHELLCMD_STACK_SIZE     0x00800000      /* shellcmdタスクのスタック領域のサイズ */
    5959
    60 #define NUM_MAIN_DATAQUEUE      1       /* メインタスクで待ち受けているデータキューのサイズ */
     60#define NUM_MAIN_DATAQUEUE      1               /* メインタスクで待ち受けているデータキューのサイズ */
    6161#define NUM_SHELLCMD_DATAQUEUE  1       /* shellcmdタスクで待ち受けているデータキューのサイズ */
    6262
     
    6666#ifndef TOPPERS_MACRO_ONLY
    6767
     68typedef struct
     69{
     70        const cmd_table_t *table;
     71        int count;
     72} cmd_table_info_t;
     73
    6874/* メインタスク */
    69 extern void main_task(intptr_t exinf);
     75void main_task(intptr_t exinf);
    7076
    7177/* shellcmdタスク */
    72 extern void shellcmd_task(intptr_t exinf);
     78void shellcmd_task(intptr_t exinf);
     79
     80/* コマンド実行 */
     81int cmd_execute(const char *text, void *extobj);
    7382
    7483/*
Note: See TracChangeset for help on using the changeset viewer.