You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Something I'm not sure to understand is: while kheap_curr is initialized to a page-aligned memory address right after the kernel, which itself is loaded to 1MiB, we compare kheap_curr to something that looks like a quantity:
#defineKMEM_MAX 0x00800000 /** 8MiB reserved for the kernel. */
In practice, KMEM_MAX is used as an address, and the comment should read something like: /* Max address reserved for the kernel */.
What am I missing?
The text was updated successfully, but these errors were encountered:
Hi there, thank you so much as I'm learning a lot from your project! I am currently tackling paging.
I have a question about this line
hux-kernel/src/memory/paging.c
Line 52 in 7fea5c5
Something I'm not sure to understand is: while
kheap_curr
is initialized to a page-aligned memory address right after the kernel, which itself is loaded to 1MiB, we comparekheap_curr
to something that looks like a quantity:In practice,
KMEM_MAX
is used as an address, and the comment should read something like:/* Max address reserved for the kernel */
.What am I missing?
The text was updated successfully, but these errors were encountered: