1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 03:08:13 +00:00

Add AnonymousVMObject::create_with_physical_page()

This can be used to create a VMObject for a single PhysicalPage.
This commit is contained in:
Andreas Kling 2020-01-20 13:07:17 +01:00
parent 4ebff10bde
commit a0b716cfc5
2 changed files with 8 additions and 0 deletions

View file

@ -35,6 +35,7 @@ public:
static NonnullRefPtr<AnonymousVMObject> create_with_size(size_t);
static NonnullRefPtr<AnonymousVMObject> create_for_physical_range(PhysicalAddress, size_t);
static NonnullRefPtr<AnonymousVMObject> create_with_physical_page(PhysicalPage&);
virtual NonnullRefPtr<VMObject> clone() override;
protected: