Changeset 662 for trunk/kernel/kern/kernel_init.c
- Timestamp:
- Oct 10, 2020, 4:50:41 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/kernel_init.c
r657 r662 40 40 #include <thread.h> 41 41 #include <scheduler.h> 42 #include <ksocket.h> 42 43 #include <kmem.h> 43 44 #include <cluster.h> … … 130 131 char * lock_type_str[] = 131 132 { 132 "unused_0", // 0 133 "unused_0", // 0 must be unused to help debug 133 134 134 135 "CLUSTER_KCM", // 1 … … 153 154 "PROCESS_CWD", // 19 154 155 "BARRIER_STATE", // 20 155 156 "CLUSTER_PREFTBL", // 21 157 158 "PPM_DIRTY", // 22 159 "CLUSTER_LOCALS", // 23 160 "CLUSTER_COPIES", // 24 161 "PROCESS_CHILDREN", // 25 162 "PROCESS_USERSYNC", // 26 163 "PROCESS_FDARRAY", // 27 164 "PROCESS_DIR", // 28 165 "VMM_VSL", // 29 166 167 "PROCESS_THTBL", // 30 168 169 "MAPPER_STATE", // 31 170 "VFS_SIZE", // 32 171 "VFS_FILE", // 33 172 "VFS_MAIN", // 34 173 "FATFS_FAT", // 35 174 "FBF_WINDOWS", // 36 156 "LISTEN_SOCKET", // 21 157 158 "CLUSTER_PREFTBL", // 22 159 160 "SOCKET_STATE", // 23 161 "PPM_DIRTY", // 24 162 "CLUSTER_LOCALS", // 25 163 "CLUSTER_COPIES", // 26 164 "PROCESS_CHILDREN", // 27 165 "PROCESS_USERSYNC", // 28 166 "PROCESS_FDARRAY", // 29 167 "PROCESS_DIR", // 30 168 "VMM_VSL", // 31 169 170 "PROCESS_THTBL", // 32 171 172 "MAPPER_STATE", // 33 173 "VFS_SIZE", // 34 174 "VFS_FILE", // 35 175 "VFS_MAIN", // 36 176 "FATFS_FAT", // 37 177 "FBF_WINDOWS", // 38 175 178 }; 176 179 177 // debug variables to analyse the sys_read() and sys_write()syscalls timing180 // debug variables to analyse the sys_read() syscalls timing 178 181 179 182 #if DEBUG_SYS_READ … … 200 203 #endif 201 204 202 // these debug variables are usedto analyse the sys_write() syscall timing205 // debug variables to analyse the sys_write() syscall timing 203 206 204 207 #if DEBUG_SYS_WRITE … … 1488 1491 " - core descriptor : %d bytes\n" 1489 1492 " - scheduler : %d bytes\n" 1493 " - socket : %d bytes\n" 1490 1494 " - rpc fifo : %d bytes\n" 1491 1495 " - page descriptor : %d bytes\n" … … 1515 1519 sizeof( core_t ), 1516 1520 sizeof( scheduler_t ), 1521 sizeof( socket_t ), 1517 1522 sizeof( remote_fifo_t ), 1518 1523 sizeof( page_t ),
Note: See TracChangeset
for help on using the changeset viewer.