1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 04:38:11 +00:00

Kernel: Rename create_framebuffer_wrapper() to create_for_physical_range().

Maybe there will be other types of physical ranges to map in the future.
This API doesn't seem at all specific to framebuffers.
Also tidy up a bit in BochsVGADevice.
This commit is contained in:
Andreas Kling 2019-02-16 10:58:15 +01:00
parent 7210d2ade5
commit 4db78dabd3
3 changed files with 31 additions and 22 deletions

View file

@ -83,7 +83,7 @@ class VMObject : public Retainable<VMObject>, public Weakable<VMObject> {
public:
static RetainPtr<VMObject> create_file_backed(RetainPtr<Inode>&&);
static RetainPtr<VMObject> create_anonymous(size_t);
static RetainPtr<VMObject> create_framebuffer_wrapper(PhysicalAddress, size_t);
static RetainPtr<VMObject> create_for_physical_range(PhysicalAddress, size_t);
RetainPtr<VMObject> clone();
~VMObject();