Closed vannaka closed 2 years ago
https://github.com/XyrisOS/xyris/blob/adf3ae0afff96e621f22f5f2c49e58e8d7b59203/Kernel/Memory/paging.cpp#L134
I believe the upper bound for the iterator of this for loop is meant to be ARCH_PAGE_TABLE_ENTRIES. The current code works because the two macros happen to have the same value.
ARCH_PAGE_TABLE_ENTRIES
You would be correct! Thank you for opening an issue, I'll merge in a fix soon.
https://github.com/XyrisOS/xyris/blob/adf3ae0afff96e621f22f5f2c49e58e8d7b59203/Kernel/Memory/paging.cpp#L134
I believe the upper bound for the iterator of this for loop is meant to be
ARCH_PAGE_TABLE_ENTRIES
. The current code works because the two macros happen to have the same value.