Changeset 7 for trunk/kernel/mm/khm.c
- Timestamp:
- Apr 26, 2017, 2:15:50 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/mm/khm.c
r1 r7 40 40 { 41 41 // check config parameters 42 if( (CONFIG_PPM_PAGE_SHIFT + CONFIG_PPM_HEAP_ORDER) >= 32 ) 43 { 44 printk("\n[PANIC] in %s : CONFIG_PPM_HEAP_ORDER too large\n", __FUNCTION__ ); 45 hal_core_sleep(); 46 } 42 assert( ((CONFIG_PPM_PAGE_SHIFT + CONFIG_PPM_HEAP_ORDER) < 32 ) , __FUNCTION__ , 43 "CONFIG_PPM_HEAP_ORDER too large" ); 47 44 48 45 // initialize lock … … 65 62 khm->size = heap_size; 66 63 khm->next = (intptr_t)heap_base; 64 65 kinit_dmsg("\n[INFO] %s done in cluster %x at cycle %d\n", 66 __FUNCTION__ , local_cxy , hal_time_stamp() ); 67 67 } 68 68
Note: See TracChangeset
for help on using the changeset viewer.