Changeset 435 for trunk/kernel_config.h


Ignore:
Timestamp:
Feb 20, 2018, 5:32:17 PM (6 years ago)
Author:
alain
Message:

Fix a bad bug in scheduler...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel_config.h

    r434 r435  
    3131////////////////////////////////////////////////////////////////////////////////////////////
    3232//                              KERNEL DEBUG
    33 //
    3433//  Each debug variable control one kernel function, or one small group of functions.
    3534//  - trace is generated only when cycle > debug_value.
     
    3736////////////////////////////////////////////////////////////////////////////////////////////
    3837
    39 #define CONFIG_FATFS_DEBUG            0
    40 #define CONFIG_FBF_DEBUG              0
    41 #define CONFIG_GRPC_DEBUG             0
    42 #define CONFIG_IOC_DEBUG              0
    43 #define CONFIG_IRQ_DEBUG              0
    44 #define CONFIG_KHM_DEBUG              0
    45 #define CONFIG_KMEM_DEBUG             0
    46 #define CONFIG_MMAP_DEBUG             0         
    47 #define CONFIG_MMC_DEBUG              0
    48 #define CONFIG_MAPPER_DEBUG           0
    49 #define CONFIG_NIC_DEBUG              0
    50 #define CONFIG_PIC_DEBUG              0
    51 #define CONFIG_READ_DEBUG             0
    52 
    53 
    54 #define CONFIG_DEBUG_CHDEV_REGISTER_COMMAND   3000000
    55 #define CONFIG_DEBUG_CHDEV_SEQUENCIAL_SERVER  3000000
     38
     39
     40#define CONFIG_DEBUG_CHDEV_REGISTER_COMMAND   0
     41#define CONFIG_DEBUG_CHDEV_SEQUENCIAL_SERVER  0
    5642
    5743#define CONFIG_DEBUG_CLUSTER_INIT             0
    5844
    59 #define CONFIG_DEBUG_DEV_TXT                  3000000
     45#define CONFIG_DEBUG_DEV_TXT                  0
     46#define CONFIG_DEBUG_DEV_IOC                  0
     47#define CONFIG_DEBUG_DEV_NIC                  0
     48#define CONFIG_DEBUG_DEV_FBF                  0
     49#define CONFIG_DEBUG_DEV_MMC                  0
    6050
    6151#define CONFIG_DEBUG_DEVFS_INIT               0
    62 #define CONFIG_DEBUG_DEVFS_MOVE               3000000
     52#define CONFIG_DEBUG_DEVFS_MOVE               0
     53
     54#define CONFIG_DEBUG_FATFS_INIT               0
     55#define CONFIG_DEBUG_FATFS_MOVE               0
     56#define CONFIG_DEBUG_FATFS_LOAD               0
    6357
    6458#define CONFIG_DEBUG_GPT_ACCESS               0
    6559
    6660#define CONFIG_DEBUG_HAL_KENTRY               0
    67 #define CONFIG_DEBUG_HAL_TXT                  3000000
     61#define CONFIG_DEBUG_HAL_TXT                  0
    6862#define CONFIG_DEBUG_HAL_EXCEPTIONS           0
    69 
    70 #define CONFIG_DEBUG_KCM_ALLOC                0
     63#define CONFIG_DEBUG_HAL_IRQS                 0       
     64
     65#define CONFIG_DEBUG_KCM                      0
     66#define CONFIG_DEBUG_KMEM                     0
    7167
    7268#define CONFIG_DEBUG_KERNEL_INIT              0
     
    7470
    7571#define CONFIG_DEBUG_LOCKS                    0
     72
     73#define CONFIG_DEBUG_MAPPER_GET_PAGE          0
     74#define CONFIG_DEBUG_MAPPER_MOVE_USER         0
     75#define CONFIG_DEBUG_MAPPER_MOVE_KERNEL       0
    7676
    7777#define CONFIG_DEBUG_PPM_ALLOC_PAGES          0
     
    8383#define CONFIG_DEBUG_PROCESS_MAKE_EXEC        0
    8484#define CONFIG_DEBUG_PROCESS_MAKE_FORK        0
    85 #define CONFIG_DEBUG_PROCESS_MAKE_KILL        0
    8685#define CONFIG_DEBUG_PROCESS_REFERENCE_INIT   0
    8786#define CONFIG_DEBUG_PROCESS_SIGACTION        0
    88 #define CONFIG_DEBUG_PROCESS_ATTACH           0
    89 #define CONFIG_DEBUG_PROCESS_DETACH           0
     87#define CONFIG_DEBUG_PROCESS_TXT_ATTACH       2
    9088#define CONFIG_DEBUG_PROCESS_ZERO_CREATE      0
    9189
     
    9492
    9593#define CONFIG_DEBUG_SCHED_HANDLE_SIGNALS     0     
    96 #define CONFIG_DEBUG_SCHED_YIELD              5000001
    97 
    98 #define CONFIG_DEBUG_SYSCALLS_ERROR           0
     94#define CONFIG_DEBUG_SCHED_YIELD              0
     95
     96#define CONFIG_DEBUG_SYSCALLS_ERROR           2
    9997
    10098#define CONFIG_DEBUG_SYS_DISPLAY              0
    101 #define CONFIG_DEBUG_SYS_EXEC                 3000000
    102 #define CONFIG_DEBUG_SYS_EXIT                 3000000
    103 #define CONFIG_DEBUG_SYS_FORK                 3000000
    104 #define CONFIG_DEBUG_SYS_KILL                 3000000
    105 #define CONFIG_DEBUG_SYS_READ                 3000000
    106 #define CONFIG_DEBUG_SYS_WAIT                 3000000
    107 #define CONFIG_DEBUG_SYS_WRITE                3000000
     99#define CONFIG_DEBUG_SYS_EXEC                 2
     100#define CONFIG_DEBUG_SYS_EXIT                 0
     101#define CONFIG_DEBUG_SYS_FORK                 2
     102#define CONFIG_DEBUG_SYS_GET_CONFIG           2
     103#define CONFIG_DEBUG_SYS_KILL                 2
     104#define CONFIG_DEBUG_SYS_MMAP                 0
     105#define CONFIG_DEBUG_SYS_READ                 0
     106#define CONFIG_DEBUG_SYS_WAIT                 2
     107#define CONFIG_DEBUG_SYS_WRITE                0
    108108
    109109#define CONFIG_DEBUG_THREAD_DESTROY           0
Note: See TracChangeset for help on using the changeset viewer.