Changeset 619 for trunk/kernel/mm/kmem.c
- Timestamp:
- Feb 12, 2019, 1:15:47 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/mm/kmem.c
r612 r619 90 90 else if( type == KMEM_CPU_CTX ) return CONFIG_CPU_CTX_SIZE; 91 91 else if( type == KMEM_FPU_CTX ) return CONFIG_FPU_CTX_SIZE; 92 else if( type == KMEM_BARRIER ) return sizeof( remote_barrier_t ); 93 92 else if( type == KMEM_GEN_BARRIER ) return sizeof( generic_barrier_t ); 93 94 else if( type == KMEM_SMP_BARRIER ) return sizeof( simple_barrier_t ); 94 95 else if( type == KMEM_DEVFS_CTX ) return sizeof( fatfs_ctx_t ); 95 96 else if( type == KMEM_FATFS_CTX ) return sizeof( fatfs_ctx_t ); … … 101 102 else if( type == KMEM_CONDVAR ) return sizeof( remote_condvar_t ); 102 103 else if( type == KMEM_MUTEX ) return sizeof( remote_mutex_t ); 104 103 105 else if( type == KMEM_DIR ) return sizeof( user_dir_t ); 104 105 106 else if( type == KMEM_512_BYTES ) return 512; 106 107 … … 120 121 else if( type == KMEM_CPU_CTX ) return "KMEM_CPU_CTX"; 121 122 else if( type == KMEM_FPU_CTX ) return "KMEM_FPU_CTX"; 122 else if( type == KMEM_BARRIER ) return "KMEM_BARRIER"; 123 123 else if( type == KMEM_GEN_BARRIER ) return "KMEM_GEN_BARRIER"; 124 125 else if( type == KMEM_SMP_BARRIER ) return "KMEM_SMP_BARRIER"; 124 126 else if( type == KMEM_DEVFS_CTX ) return "KMEM_DEVFS_CTX"; 125 127 else if( type == KMEM_FATFS_CTX ) return "KMEM_FATFS_CTX"; … … 131 133 else if( type == KMEM_CONDVAR ) return "KMEM_CONDVAR"; 132 134 else if( type == KMEM_MUTEX ) return "KMEM_MUTEX"; 135 133 136 else if( type == KMEM_DIR ) return "KMEM_DIR"; 134 135 137 else if( type == KMEM_512_BYTES ) return "KMEM_512_BYTES"; 136 138
Note: See TracChangeset
for help on using the changeset viewer.