aenachescu / PhiOS

GNU General Public License v3.0
6 stars 1 forks source link

BitmapPMA incompatible function #59

Closed JustBeYou closed 7 years ago

JustBeYou commented 7 years ago

Physical memory manager needs following declaration for allocator functions:

typedef size_t (*PMA_ALLOC_PFN)(void   *a_pma,
                                size_t  a_framesNumber,
                                size_t *a_physicalAddress);

but BitmapPMA has the following declaration:

size_t BitmapPMA_alloc(struct BitmapPMA *a_bpma,
                       size_t a_framesNumber,
                       size_t *a_physicalAddress);