KPageTable: Remove extraneous assert
Since start is always 0 and VAddr is unsigned, we can safely remove this assert.
This commit is contained in:
parent
ab0e71d7cb
commit
1c8f6ba18f
@ -65,7 +65,6 @@ ResultCode KPageTable::InitializeForProcess(FileSys::ProgramAddressSpaceType as_
|
|||||||
std::size_t alias_region_size{GetSpaceSize(KAddressSpaceInfo::Type::Alias)};
|
std::size_t alias_region_size{GetSpaceSize(KAddressSpaceInfo::Type::Alias)};
|
||||||
std::size_t heap_region_size{GetSpaceSize(KAddressSpaceInfo::Type::Heap)};
|
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_addr + code_size);
|
||||||
ASSERT(code_addr + code_size - 1 <= end - 1);
|
ASSERT(code_addr + code_size - 1 <= end - 1);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user