Kernel: Store memory region size as uint64_t

On 32 bit target, we were storing 32 bit physical region sizes which
would truncate regions > 4 GiB
This commit is contained in:
2026-04-07 03:09:20 +03:00
parent 7fb27b16e8
commit 7e907b70f6
4 changed files with 7 additions and 7 deletions

View File

@@ -44,7 +44,7 @@ namespace Kernel
struct BootModule
{
paddr_t start;
size_t size;
uint64_t size;
};
struct BootInfo

View File

@@ -10,7 +10,7 @@ namespace Kernel
class PhysicalRange
{
public:
PhysicalRange(paddr_t, size_t);
PhysicalRange(paddr_t, uint64_t);
paddr_t reserve_page();
void release_page(paddr_t);