1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:47:44 +00:00

Kernel: Rename LinearAddress => VirtualAddress.

This commit is contained in:
Andreas Kling 2019-06-07 12:56:50 +02:00
parent 0ed89440f1
commit e42c3b4fd7
33 changed files with 272 additions and 272 deletions

View file

@ -4,7 +4,7 @@
//#define VRA_DEBUG
RangeAllocator::RangeAllocator(LinearAddress base, size_t size)
RangeAllocator::RangeAllocator(VirtualAddress base, size_t size)
{
m_available_ranges.append({ base, size });
#ifdef VRA_DEBUG
@ -82,7 +82,7 @@ Range RangeAllocator::allocate_anywhere(size_t size)
return {};
}
Range RangeAllocator::allocate_specific(LinearAddress base, size_t size)
Range RangeAllocator::allocate_specific(VirtualAddress base, size_t size)
{
Range allocated_range(base, size);
for (int i = 0; i < m_available_ranges.size(); ++i) {