Changeset 434 for trunk/kernel_config.h


Ignore:
Timestamp:
Feb 14, 2018, 3:41:31 PM (6 years ago)
Author:
alain
Message:

blap

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel_config.h

    r431 r434  
    3232//                              KERNEL DEBUG
    3333//
    34 //  For all these debug variables:
     34//  Each debug variable control one kernel function, or one small group of functions.
    3535//  - trace is generated only when cycle > debug_value.
    3636//  - detailed trace is enabled when (debug_value & Ox1) is non zero.
    3737////////////////////////////////////////////////////////////////////////////////////////////
    3838
    39 #define CONFIG_CHDEV_DEBUG            0
    40 #define CONFIG_CLUSTER_DEBUG          0
    41 #define CONFIG_CONTEXT_DEBUG          0
    42 #define CONFIG_CORE_DEBUG             0
    43 #define CONFIG_DEVFS_DEBUG            0
    44 #define CONFIG_DMA_DEBUG              0
    45 #define CONFIG_DQDT_DEBUG             0
    46 #define CONFIG_ELF_DEBUG              0
    47 #define CONFIG_EXEC_DEBUG             0
    48 #define CONFIG_EXCP_DEBUG             0
    4939#define CONFIG_FATFS_DEBUG            0
    5040#define CONFIG_FBF_DEBUG              0
    51 #define CONFIG_FORK_DEBUG             0
    52 #define CONFIG_GPT_DEBUG              0
    5341#define CONFIG_GRPC_DEBUG             0
    54 #define CONFIG_IDLE_DEBUG             0
    5542#define CONFIG_IOC_DEBUG              0
    5643#define CONFIG_IRQ_DEBUG              0
    57 #define CONFIG_KCM_DEBUG              0
    58 #define CONFIG_KENTRY_DEBUG           0
    5944#define CONFIG_KHM_DEBUG              0
    60 #define CONFIG_KILL_DEBUG             0
    61 #define CONFIG_KINIT_DEBUG            0
    6245#define CONFIG_KMEM_DEBUG             0
    63 #define CONFIG_LOCKS_DEBUG            0
    6446#define CONFIG_MMAP_DEBUG             0         
    6547#define CONFIG_MMC_DEBUG              0
     
    6749#define CONFIG_NIC_DEBUG              0
    6850#define CONFIG_PIC_DEBUG              0
    69 #define CONFIG_PPM_DEBUG              0
    70 #define CONFIG_PROCESS_DEBUG          0
    7151#define CONFIG_READ_DEBUG             0
    72 #define CONFIG_RPC_DEBUG              0
    73 #define CONFIG_SCHED_DEBUG            0
    74 #define CONFIG_SIGACTION_DEBUG        0
    75 #define CONFIG_SYSCALL_DEBUG          0
    76 #define CONFIG_THREAD_DEBUG           0
    77 #define CONFIG_TXT_DEBUG              0
    78 #define CONFIG_VFS_DEBUG              0
    79 #define CONFIG_VMM_DEBUG              0
    80 #define CONFIG_WRITE_DEBUG            0
     52
     53
     54#define CONFIG_DEBUG_CHDEV_REGISTER_COMMAND   3000000
     55#define CONFIG_DEBUG_CHDEV_SEQUENCIAL_SERVER  3000000
     56
     57#define CONFIG_DEBUG_CLUSTER_INIT             0
     58
     59#define CONFIG_DEBUG_DEV_TXT                  3000000
     60
     61#define CONFIG_DEBUG_DEVFS_INIT               0
     62#define CONFIG_DEBUG_DEVFS_MOVE               3000000
     63
     64#define CONFIG_DEBUG_GPT_ACCESS               0
     65
     66#define CONFIG_DEBUG_HAL_KENTRY               0
     67#define CONFIG_DEBUG_HAL_TXT                  3000000
     68#define CONFIG_DEBUG_HAL_EXCEPTIONS           0
     69
     70#define CONFIG_DEBUG_KCM_ALLOC                0
     71
     72#define CONFIG_DEBUG_KERNEL_INIT              0
     73#define CONFIG_DEBUG_KMEM_ALLOC               0
     74
     75#define CONFIG_DEBUG_LOCKS                    0
     76
     77#define CONFIG_DEBUG_PPM_ALLOC_PAGES          0
     78#define CONFIG_DEBUG_PPM_FREE_PAGES           0
     79
     80#define CONFIG_DEBUG_PROCESS_COPY_INIT        0
     81#define CONFIG_DEBUG_PROCESS_DESTROY          0
     82#define CONFIG_DEBUG_PROCESS_INIT_CREATE      0
     83#define CONFIG_DEBUG_PROCESS_MAKE_EXEC        0
     84#define CONFIG_DEBUG_PROCESS_MAKE_FORK        0
     85#define CONFIG_DEBUG_PROCESS_MAKE_KILL        0
     86#define CONFIG_DEBUG_PROCESS_REFERENCE_INIT   0
     87#define CONFIG_DEBUG_PROCESS_SIGACTION        0
     88#define CONFIG_DEBUG_PROCESS_ATTACH           0
     89#define CONFIG_DEBUG_PROCESS_DETACH           0
     90#define CONFIG_DEBUG_PROCESS_ZERO_CREATE      0
     91
     92#define CONFIG_DEBUG_RPC_MARSHALING           0
     93#define CONFIG_DEBUG_RPC_GENERIC              0
     94
     95#define CONFIG_DEBUG_SCHED_HANDLE_SIGNALS     0     
     96#define CONFIG_DEBUG_SCHED_YIELD              5000001
     97
     98#define CONFIG_DEBUG_SYSCALLS_ERROR           0
     99
     100#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
     108
     109#define CONFIG_DEBUG_THREAD_DESTROY           0
     110#define CONFIG_DEBUG_THREAD_IDLE              0
     111#define CONFIG_DEBUG_THREAD_KERNEL_CREATE     0
     112#define CONFIG_DEBUG_THREAD_KILL              0
     113#define CONFIG_DEBUG_THREAD_USER_CREATE       0
     114#define CONFIG_DEBUG_THREAD_USER_FORK         0
     115#define CONFIG_DEBUG_THREAD_BLOCK             0
     116
     117#define CONFIG_DEBUG_VFS_INODE_CREATE         0
     118#define CONFIG_DEBUG_VFS_INODE_LOAD           0
     119#define CONFIG_DEBUG_VFS_DENTRY_CREATE        0
     120#define CONFIG_DEBUG_VFS_OPEN                 0
     121#define CONFIG_DEBUG_VFS_LOOKUP               0
     122#define CONFIG_DEBUG_VFS_ADD_CHILD            0
     123#define CONFIG_DEBUG_VFS_MAPPER_MOVE          0
     124#define CONFIG_DEBUG_VFS_MAPPER_LOAD          0
     125
     126#define CONFIG_DEBUG_VMM_CREATE_VSEG          0
     127#define CONFIG_DEBUG_VMM_DESTROY              0
     128#define CONFIG_DEBUG_VMM_FORK_COPY            0
     129#define CONFIG_DEBUG_VMM_GET_ONE_PPN          0
     130#define CONFIG_DEBUG_VMM_GET_PTE              0
     131#define CONFIG_DEBUG_VMM_INIT                 0
     132#define CONFIG_DEBUG_VMM_PAGE_ALLOCATE        0
     133#define CONFIG_DEBUG_VMM_SET_COW              0
     134#define CONFIG_DEBUG_VMM_UNMAP_VSEG           0
     135#define CONFIG_DEBUG_VMM_UPDATE_PTE           0
    81136
    82137////////////////////////////////////////////////////////////////////////////////////////////
     
    161216////////////////////////////////////////////////////////////////////////////////////////////
    162217
    163 #define CONFIG_SCHED_TICK_MS_PERIOD         5000    // number of milliseconds per period
     218#define CONFIG_SCHED_TICK_MS_PERIOD         10000   // number of milliseconds per period
    164219#define CONFIG_SCHED_TICKS_PER_QUANTUM      1       // number of ticks between scheduling
    165220#define CONFIG_SCHED_MAX_THREADS_NR         32      // max number of threads per core
Note: See TracChangeset for help on using the changeset viewer.