forked from ShuriZma/suyu
1
0
Fork 0

KPageTable: Remove extraneous assert

Since start is always 0 and VAddr is unsigned, we can safely remove this assert.
This commit is contained in:
Morph 2022-06-21 21:28:54 -04:00
parent ab0e71d7cb
commit 1c8f6ba18f
1 changed files with 0 additions and 1 deletions

View File

@ -65,7 +65,6 @@ ResultCode KPageTable::InitializeForProcess(FileSys::ProgramAddressSpaceType as_
std::size_t alias_region_size{GetSpaceSize(KAddressSpaceInfo::Type::Alias)};
std::size_t heap_region_size{GetSpaceSize(KAddressSpaceInfo::Type::Heap)};
ASSERT(start <= code_addr);
ASSERT(code_addr < code_addr + code_size);
ASSERT(code_addr + code_size - 1 <= end - 1);