Changeset 161 for trunk/kernel/mm/kcm.h
- Timestamp:
- Jul 7, 2017, 2:14:49 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/mm/kcm.h
r50 r161 58 58 uint32_t active_pages_nr; /*! number of active pages */ 59 59 60 60 uint32_t type; /*! KCM type */ 61 61 } 62 62 kcm_t; … … 73 73 uint32_t bitmap[2]; /*! at most 64 blocks in a single page */ 74 74 list_entry_t list; /*! [active / busy / free] list member */ 75 kcm_t * kcm; /*! pointer on kcm allocator */ 75 kcm_t * kcm; /*! pointer on kcm allocator */ 76 76 page_t * page; /*! pointer on the physical page descriptor */ 77 77 uint32_t count; /*! number of allocated blocks */ … … 88 88 ***************************************************************************************/ 89 89 void kcm_init( kcm_t * kcm, 90 90 uint32_t type ); 91 91 92 92 /**************************************************************************************** … … 111 111 * @ ptr : local pointer on the allocated buffer. 112 112 ***************************************************************************************/ 113 void 113 void kcm_free( void * ptr ); 114 114 115 115 /**************************************************************************************** … … 120 120 void kcm_print( kcm_t * kcm ); 121 121 122 123 124 122 #endif /* _KCM_H_ */
Note: See TracChangeset
for help on using the changeset viewer.