Added declaration for page count function
This commit is contained in:
@@ -55,4 +55,12 @@ physaddr_t reserve_page(struct page_stack_t *stack);
|
|||||||
* @param stack
|
* @param stack
|
||||||
* @param location
|
* @param location
|
||||||
*/
|
*/
|
||||||
int free_page(struct page_stack_t *stack, physaddr_t location);
|
int free_page(struct page_stack_t *stack, physaddr_t location);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Computes the number of available pages.
|
||||||
|
*
|
||||||
|
* @param stack
|
||||||
|
* @return size_t
|
||||||
|
*/
|
||||||
|
size_t free_page_count(struct page_stack_t *stack);
|
||||||
|
|||||||
Reference in New Issue
Block a user