Changeset 610 for trunk/kernel/kernel_config.h
- Timestamp:
- Dec 27, 2018, 7:38:58 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kernel_config.h
r607 r610 37 37 #define DEBUG_BARRIER 0 38 38 39 #define DEBUG_BUSYLOCK 139 #define DEBUG_BUSYLOCK 0 40 40 #define DEBUG_BUSYLOCK_THREAD_XP 0x0000000000ULL // selected thread xptr 41 41 … … 81 81 #define DEBUG_FATFS_MOVE_PAGE 0 82 82 #define DEBUG_FATFS_RELEASE_INODE 0 83 #define DEBUG_FATFS_REMOVE_DENTRY 183 #define DEBUG_FATFS_REMOVE_DENTRY 0 84 84 #define DEBUG_FATFS_SYNC_FAT 0 85 85 #define DEBUG_FATFS_SYNC_FSINFO 0 … … 90 90 #define DEBUG_HAL_GPT_CREATE 0 91 91 #define DEBUG_HAL_GPT_DESTROY 0 92 92 #define DEBUG_HAL_USPACE 0 93 93 #define DEBUG_HAL_KENTRY 0 94 94 #define DEBUG_HAL_EXCEPTIONS 0 … … 102 102 #define DEBUG_KMEM 0 103 103 104 #define DEBUG_KERNEL_INIT 0105 106 #define DEBUG_MAPPER_GET_PAGE 1104 #define DEBUG_KERNEL_INIT 2 105 106 #define DEBUG_MAPPER_GET_PAGE 0 107 107 #define DEBUG_MAPPER_HANDLE_MISS 0 108 108 #define DEBUG_MAPPER_MOVE_USER 0 … … 116 116 #define DEBUG_PROCESS_COPY_INIT 0 117 117 #define DEBUG_PROCESS_DESTROY 0 118 #define DEBUG_PROCESS_FD_REGISTER 0 118 119 #define DEBUG_PROCESS_GET_LOCAL_COPY 0 119 120 #define DEBUG_PROCESS_INIT_CREATE 0 … … 125 126 #define DEBUG_PROCESS_ZERO_CREATE 0 126 127 127 #define DEBUG_QUEUELOCK 0128 #define DEBUG_QUEUELOCK_TYPE 0 // lock type (0 is undefined) 128 129 129 130 #define DEBUG_RPC_CLIENT_GENERIC 0 … … 132 133 #define DEBUG_RPC_KCM_ALLOC 0 133 134 #define DEBUG_RPC_KCM_FREE 0 134 #define DEBUG_RPC_MAPPER_ rGT_PAGE0135 #define DEBUG_RPC_MAPPER_HANDLE_MISS 0 135 136 #define DEBUG_RPC_MAPPER_MOVE_USER 0 136 137 #define DEBUG_RPC_PMEM_GET_PAGES 0 … … 150 151 #define DEBUG_RPC_VMM_GET_VSEG 0 151 152 152 #define DEBUG_RWLOCK 0153 #define DEBUG_RWLOCK_TYPE 0 // lock type (0 is undefined) 153 154 154 155 #define DEBUG_SCHED_HANDLE_SIGNALS 2 … … 169 170 #define DEBUG_SYS_FORK 0 170 171 #define DEBUG_SYS_GET_CONFIG 0 172 #define DEBUG_SYS_GETCWD 0 171 173 #define DEBUG_SYS_GETPID 0 172 174 #define DEBUG_SYS_ISATTY 0 … … 174 176 #define DEBUG_SYS_KILL 0 175 177 #define DEBUG_SYS_OPEN 0 178 #define DEBUG_SYS_MKDIR 2 176 179 #define DEBUG_SYS_MMAP 0 177 180 #define DEBUG_SYS_MUNMAP 0 … … 205 208 #define DEBUG_VFS_ADD_CHILD 0 206 209 #define DEBUG_VFS_CLOSE 0 210 #define DEBUG_VFS_CHDIR 0 207 211 #define DEBUG_VFS_DENTRY_CREATE 0 212 #define DEBUG_VFS_FILE_CREATE 0 213 #define DEBUG_VFS_GET_PATH 0 208 214 #define DEBUG_VFS_INODE_CREATE 0 209 215 #define DEBUG_VFS_INODE_LOAD_ALL 0 210 #define DEBUG_VFS_LOOKUP 0 216 #define DEBUG_VFS_LINK 0 217 #define DEBUG_VFS_LOOKUP 1 211 218 #define DEBUG_VFS_LSEEK 0 219 #define DEBUG_VFS_MKDIR 1 212 220 #define DEBUG_VFS_NEW_CHILD_INIT 0 213 221 #define DEBUG_VFS_OPEN 0 214 222 #define DEBUG_VFS_STAT 0 215 #define DEBUG_VFS_UNLINK 1223 #define DEBUG_VFS_UNLINK 0 216 224 217 225 #define DEBUG_VMM_CREATE_VSEG 0 … … 247 255 248 256 #define LOCK_THREAD_JOIN 10 // remote (B) protect join/exit between two threads 249 #define LOCK_ VFS_MAIN 11 // remote (B) protect vfs traversal (one per inode)257 #define LOCK_XHTAB_STATE 11 // remote (B) protect a distributed xhtab state 250 258 #define LOCK_CHDEV_QUEUE 12 // remote (B) protect chdev threads waiting queue 251 259 #define LOCK_CHDEV_TXT0 13 // remote (B) protect access to kernel terminal TXT0 … … 255 263 #define LOCK_CONDVAR_STATE 17 // remote (B) protect user condvar state 256 264 #define LOCK_SEM_STATE 18 // remote (B) protect user semaphore state 257 #define LOCK_ XHTAB_STATE 19 // remote (B) protect a distributed xhatb state265 #define LOCK_PROCESS_CWD 19 // remote (B) protect current working directory in process 258 266 259 267 #define BUSYLOCK_TYPE_MAX 20 … … 272 280 273 281 #define LOCK_MAPPER_STATE 30 // remote (RW) protect mapper state 274 #define LOCK_ PROCESS_CWD 31 // remote (RW) protect current working directory in process275 #define LOCK_VFS_ INODE 32 // remote (RW) protect inode state and associated mapper276 #define LOCK_V FS_FILE 33 // remote (RW) protect file descriptor state277 #define LOCK_VMM_ VSL 34 // remote (RW) protect VSL (local list of vsegs)278 #define LOCK_V MM_GPT 35 // remote (RW) protect GPT (local page table)282 #define LOCK_VFS_SIZE 31 // remote (RW) protect inode state and associated mapper 283 #define LOCK_VFS_FILE 32 // remote (RW) protect file descriptor state 284 #define LOCK_VMM_VSL 33 // remote (RW) protect VSL (local list of vsegs) 285 #define LOCK_VMM_GPT 34 // remote (RW) protect GPT (local page table) 286 #define LOCK_VFS_MAIN 35 // remote (RW) protect vfs traversal (in root inode) 279 287 280 288
Note: See TracChangeset
for help on using the changeset viewer.