Ignore:
Timestamp:
May 16, 2018, 4:15:22 PM (6 years ago)
Author:
alain
Message:

Fix few bugs whike debugging the sort multi-thread application.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/kernel_config.h

    r441 r443  
    6767#define DEBUG_FATFS_LOAD               0
    6868
    69 #define DEBUG_GPT_ACCESS               0
     69#define DEBUG_HAL_GPT_ACCESS           0
     70#define DEBUG_HAL_GPT_CREATE           0
     71#define DEBUG_HAL_GPT_DESTROY          0
    7072
    7173#define DEBUG_HAL_KENTRY               0
     
    7678#define DEBUG_HAL_IOC_RX               0
    7779#define DEBUG_HAL_IOC_TX               0
     80#define DEBUG_HAL_GPT
    7881
    7982#define DEBUG_KCM                      0
     
    115118#define DEBUG_RPC_VMM_GET_VSEG         0
    116119
    117 #define DEBUG_SCHED_HANDLE_SIGNALS     0
    118 #define DEBUG_SCHED_YIELD              0
     120#define DEBUG_SCHED_HANDLE_SIGNALS     2
     121#define DEBUG_SCHED_YIELD              2    // dynamically activated by the trace() syscall
    119122
    120123#define DEBUG_SYSCALLS_ERROR           2
     
    132135#define DEBUG_SYS_THREAD_CANCEL        0
    133136#define DEBUG_SYS_THREAD_CREATE        0
    134 #define DEBUG_SYS_THREAD_EXIT          1
     137#define DEBUG_SYS_THREAD_EXIT          0
    135138#define DEBUG_SYS_THREAD_JOIN          0
    136139#define DEBUG_SYS_THREAD_SLEEP         0
    137140#define DEBUG_SYS_THREAD_WAKEUP        0
     141#define DEBUG_SYS_TRACE                0
    138142#define DEBUG_SYS_WAIT                 0
    139143#define DEBUG_SYS_WRITE                0
     
    146150#define DEBUG_THREAD_DESTROY           0
    147151#define DEBUG_THREAD_IDLE              0
     152#define DEBUG_THREAD_INIT              0
    148153#define DEBUG_THREAD_KERNEL_CREATE     0
    149154#define DEBUG_THREAD_KILL              0
     
    199204
    200205#define CONFIG_TXT_ECHO_MODE                1          // echo mode for TXT peripheral
    201 #define CONFIG_TXT_KBUF_SIZE                256        // kernel buffer for TXT write
     206#define CONFIG_TXT_KBUF_SIZE                512        // kernel buffer for TXT write
    202207
    203208#define CONFIG_FBF_WIDTH                    128
     
    265270#define CONFIG_THREAD_DESC_SIZE             0x4000  // thread desc size (with kernel stack)
    266271#define CONFIG_THREAD_DESC_ORDER            2       // ln( number of 4K pages )
    267 #define CONFIG_THREAD_IDLE_MODE_SLEEP       0       // idle thread enter sleep mode
     272#define CONFIG_THREAD_IDLE_MODE_SLEEP       false   // idle thread enter sleep mode
    268273
    269274////////////////////////////////////////////////////////////////////////////////////////////
Note: See TracChangeset for help on using the changeset viewer.