1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 01:57:45 +00:00

UserspaceEmulator: Make Region a top-level class

This commit is contained in:
Andreas Kling 2020-11-16 13:16:38 +01:00
parent de4061ff94
commit 8d9dd4c518
6 changed files with 98 additions and 63 deletions

View file

@ -34,7 +34,7 @@ namespace UserspaceEmulator {
class MallocRegionMetadata;
class MallocTracer;
class MmapRegion final : public SoftMMU::Region {
class MmapRegion final : public Region {
public:
static NonnullOwnPtr<MmapRegion> create_anonymous(u32 base, u32 size, u32 prot);
static NonnullOwnPtr<MmapRegion> create_file_backed(u32 base, u32 size, u32 prot, int flags, int fd, off_t offset);