kfree comment for clarity

This commit is contained in:
Imbus 2025-01-15 13:45:36 +01:00
parent c8e3356a1d
commit fbef2ef765

View file

@ -46,6 +46,7 @@ kfree(void *pa)
{
struct run *r;
// Assert that page is a ligned to a page boundary and that its correctly sized
if(((u64)pa % PGSIZE) != 0 || (char *)pa < end || (u64)pa >= PHYSTOP)
panic("kfree");