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:
parent
de4061ff94
commit
8d9dd4c518
6 changed files with 98 additions and 63 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue