Changeset 656 for trunk/kernel/mm/ppm.h
- Timestamp:
- Dec 6, 2019, 12:07:51 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/mm/ppm.h
r635 r656 84 84 /***************************************************************************************** 85 85 * This local allocator must be called by a thread running in local cluster. 86 * It allocates ncontiguous physical 4 Kbytes pages from the local cluster, where87 * nis a power of 2 defined by the <order> argument.86 * It allocates N contiguous physical 4 Kbytes pages from the local cluster, where 87 * N is a power of 2 defined by the <order> argument. 88 88 * In normal use, it should not be called directly, as the recommended way to allocate 89 89 * physical pages is to call the generic allocator defined in kmem.h. … … 116 116 /***************************************************************************************** 117 117 * This remote allocator can be called by any thread running in any cluster. 118 * It allocates ncontiguous physical 4 Kbytes pages from cluster identified119 * by the <cxy> argument, where nis a power of 2 defined by the <order> argument.118 * It allocates N contiguous physical 4 Kbytes pages from cluster identified 119 * by the <cxy> argument, where N is a power of 2 defined by the <order> argument. 120 120 * In normal use, it should not be called directly, as the recommended way to allocate 121 121 * physical pages is to call the generic allocator defined in kmem.h. … … 123 123 * @ cxy : remote cluster identifier. 124 124 * @ order : ln2( number of 4 Kbytes pages) 125 * @ returns a local pointer on remotepage descriptor if success / XPTR_NULL if error.126 ****************************************************************************************/ 127 void *ppm_remote_alloc_pages( cxy_t cxy,125 * @ returns an extended pointer on page descriptor if success / XPTR_NULL if error. 126 ****************************************************************************************/ 127 xptr_t ppm_remote_alloc_pages( cxy_t cxy, 128 128 uint32_t order ); 129 129
Note: See TracChangeset
for help on using the changeset viewer.