- Timestamp:
- Aug 17, 2017, 11:24:20 AM (7 years ago)
- Location:
- trunk/kernel/libk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/libk/grdxt.c
r124 r396 164 164 if( (key >> (w1 + w2 + w3)) != 0 ) 165 165 { 166 printk("\n[PANIC] in %s : key value %x exceed (%d + %d + %d) bits\n", 167 __FUNCTION__ , key , w1 , w2 , w3 ); 168 hal_core_sleep(); 166 panic("key value %x exceed (%d + %d + %d) bits", key , w1 , w2 , w3 ); 169 167 } 170 168 … … 237 235 if( (key >> (w1 + w2 + w3)) != 0 ) 238 236 { 239 printk("\n[PANIC] in %s : key value %x exceed (%d + %d + %d) bits\n", 240 __FUNCTION__ , key , w1 , w2 , w3 ); 241 hal_core_sleep(); 237 panic("key value %x exceed (%d + %d + %d) bits", key , w1 , w2 , w3 ); 242 238 } 243 239 … … 280 276 if( (key >> (w1 + w2 + w3)) != 0 ) 281 277 { 282 printk("\n[PANIC] in %s : key value %x exceed (%d + %d + %d) bits\n", 283 __FUNCTION__ , key , w1 , w2 , w3 ); 284 hal_core_sleep(); 278 panic("key value %x exceed (%d + %d + %d) bits", key , w1 , w2 , w3 ); 285 279 } 286 280 … … 324 318 if( (start_key >> (w1 + w2 + w3)) != 0 ) 325 319 { 326 printk("\n[PANIC] in %s : start_key value %x exceed (%d + %d + %d) bits\n", 327 __FUNCTION__ , start_key , w1 , w2 , w3 ); 328 hal_core_sleep(); 320 panic("start_key value %x exceed (%d + %d + %d) bits", start_key , w1 , 321 w2 , w3 ); 329 322 } 330 323 -
trunk/kernel/libk/htab.c
r23 r396 99 99 else 100 100 { 101 printk("\n[PANIC] in %s : undefined item type\n", __FUNCTION__ ); 102 hal_core_sleep(); 101 panic("undefined item type"); 103 102 } 104 103 -
trunk/kernel/libk/xhtab.c
r204 r396 139 139 else 140 140 { 141 printk("\n[PANIC] in %s : illegal item type\n", __FUNCTION__ ); 142 hal_core_sleep(); 141 panic("illegal item type"); 143 142 } 144 143
Note: See TracChangeset
for help on using the changeset viewer.