Added declaration for page count function

This commit is contained in:
2021-04-10 19:15:59 -05:00
parent 6ee078e6fe
commit 7c3a40bc47

View File

@@ -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);