Changeset 672 for trunk/kernel/mm/ppm.c
- Timestamp:
- Nov 19, 2020, 11:49:01 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/mm/ppm.c
r657 r672 158 158 page_t * pages_tbl = ppm->pages_tbl; 159 159 160 assert( !page_is_flag( page , PG_FREE ) ,160 assert( __FUNCTION__, !page_is_flag( page , PG_FREE ) , 161 161 "page already released : ppn = %x\n" , ppm_page2ppn( XPTR( local_cxy , page ) ) ); 162 162 163 assert( !page_is_flag( page , PG_RESERVED ) ,163 assert( __FUNCTION__, !page_is_flag( page , PG_RESERVED ) , 164 164 "reserved page : ppn = %x\n" , ppm_page2ppn( XPTR( local_cxy , page ) ) ); 165 165 … … 232 232 233 233 // check order 234 assert( (order < CONFIG_PPM_MAX_ORDER) , "illegal order argument = %d\n" , order );234 assert( __FUNCTION__, (order < CONFIG_PPM_MAX_ORDER) , "illegal order argument = %d\n" , order ); 235 235 236 236 //build extended pointer on lock protecting remote PPM … … 388 388 389 389 // check order 390 assert( (order < CONFIG_PPM_MAX_ORDER) , "illegal order argument = %d\n" , order );390 assert( __FUNCTION__, (order < CONFIG_PPM_MAX_ORDER) , "illegal order argument = %d\n" , order ); 391 391 392 392 // get local pointer on PPM (same in all clusters) … … 548 548 remote_busylock_acquire( lock_xp ); 549 549 550 assert( !page_remote_is_flag( page_xp , PG_FREE ) ,550 assert( __FUNCTION__, !page_remote_is_flag( page_xp , PG_FREE ) , 551 551 "page already released : ppn = %x\n" , ppm_page2ppn(XPTR( page_cxy , page_ptr ) ) ); 552 552 553 assert( !page_remote_is_flag( page_xp , PG_RESERVED ) ,553 assert( __FUNCTION__, !page_remote_is_flag( page_xp , PG_RESERVED ) , 554 554 "reserved page : ppn = %x\n" , ppm_page2ppn(XPTR( page_cxy , page_ptr ) ) ); 555 555
Note: See TracChangeset
for help on using the changeset viewer.