Changeset 656 for trunk/kernel/mm/ppm.h


Ignore:
Timestamp:
Dec 6, 2019, 12:07:51 PM (4 years ago)
Author:
alain
Message:

Fix several bugs in the FATFS and in the VFS,
related to the creation of big files requiring
more than 4 Kbytes (one cluster) on device.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/mm/ppm.h

    r635 r656  
    8484/*****************************************************************************************
    8585 * This local allocator must be called by a thread running in local cluster.
    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.
     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.
    8888 * In normal use, it should not be called directly, as the recommended way to allocate
    8989 * physical pages is to call the generic allocator defined in kmem.h.
     
    116116/*****************************************************************************************
    117117 * This remote  allocator can be called by any thread running in any cluster.
    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.
     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.
    120120 * In normal use, it should not be called directly, as the recommended way to allocate
    121121 * physical pages is to call the generic allocator defined in kmem.h.
     
    123123 * @ cxy       : remote cluster identifier.
    124124 * @ order     : ln2( number of 4 Kbytes pages)
    125  * @ returns a local pointer on remote page 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 ****************************************************************************************/
     127xptr_t  ppm_remote_alloc_pages( cxy_t    cxy,
    128128                                uint32_t order );
    129129
Note: See TracChangeset for help on using the changeset viewer.