Changeset 18 for trunk/kernel/mm/kcm.h
- Timestamp:
- Jun 3, 2017, 4:42:49 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/mm/kcm.h
r7 r18 39 39 * contain one single object. 40 40 * The various KCM allocators themselves are not statically allocated in the cluster 41 * manager, but are dynamically allocated when required, using the embedded KCM 41 * manager, but are dynamically allocated when required, using the embedded KCM 42 42 * allocator defined in the cluster manager, to allocate the other ones... 43 43 ***************************************************************************************/ 44 44 45 typedef struct kcm_s 45 typedef struct kcm_s 46 46 { 47 47 spinlock_t lock; /*! protect exclusive access to allocator */ … … 58 58 59 59 uint32_t type; /*! KCM type */ 60 } 60 } 61 61 kcm_t; 62 62 … … 79 79 uint8_t active; /*! page active if non zero */ 80 80 uint8_t unused; /*! */ 81 } 81 } 82 82 kcm_page_t; 83 83 84 84 /**************************************************************************************** 85 * This function initializes a generic Kernel Cache Manager. 85 * This function initializes a generic Kernel Cache Manager. 86 86 **************************************************************************************** 87 87 * @ kcm : pointer on KCM manager to initialize. … … 92 92 93 93 /**************************************************************************************** 94 * This function releases all memory allocated to a generic Kernel Cache Manager. 94 * This function releases all memory allocated to a generic Kernel Cache Manager. 95 95 **************************************************************************************** 96 96 * @ kcm : pointer on KCM manager to destroy. … … 99 99 100 100 /**************************************************************************************** 101 * This function allocates one single object in a Kernel Cache Manager 101 * This function allocates one single object in a Kernel Cache Manager 102 102 * The object size must be smaller than one page size. 103 103 ****************************************************************************************
Note: See TracChangeset
for help on using the changeset viewer.