physmem: Correct a comment

MFC after:	1 week
Sponsored by:	Klara, Inc.
Sponsored by:	Juniper Networks, Inc.
This commit is contained in:
Mark Johnston 2024-06-20 16:43:39 -04:00
parent aee4c9c5b8
commit f45213c74c

View File

@ -177,7 +177,8 @@ physmem_print_tables(void)
*
* Updates the value at *pavail with the sum of all pages in all hw regions.
*
* Returns the number of pages of non-excluded memory added to the avail list.
* Returns the number of entries in the avail list, which is twice the number
* of returned regions.
*/
static size_t
regions_to_avail(vm_paddr_t *avail, uint32_t exflags, size_t maxavail,