Changeset 683 for trunk/kernel/mm/khm.c
- Timestamp:
- Jan 13, 2021, 12:36:17 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/mm/khm.c
r672 r683 40 40 { 41 41 // check config parameters 42 assert( __FUNCTION__, ((CONFIG_PPM_PAGE_ SHIFT+ CONFIG_PPM_HEAP_ORDER) < 32 ) ,42 assert( __FUNCTION__, ((CONFIG_PPM_PAGE_ORDER + CONFIG_PPM_HEAP_ORDER) < 32 ) , 43 43 "CONFIG_PPM_HEAP_ORDER too large" ); 44 44 … … 47 47 48 48 // compute kernel heap size 49 intptr_t heap_size = (1 << CONFIG_PPM_HEAP_ORDER) << CONFIG_PPM_PAGE_ SHIFT;49 intptr_t heap_size = (1 << CONFIG_PPM_HEAP_ORDER) << CONFIG_PPM_PAGE_ORDER; 50 50 51 51 // get kernel heap base from PPM
Note: See TracChangeset
for help on using the changeset viewer.