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

Kernel: Use a FlatPtr for the "argument" to ioctl()

Since it's often used to pass pointers, it should really be a FlatPtr.
This commit is contained in:
Andreas Kling 2020-05-23 13:17:58 +02:00
parent b8af5cd8da
commit b3736c1b1e
14 changed files with 14 additions and 14 deletions

View file

@ -40,7 +40,7 @@ public:
BXVGADevice();
virtual int ioctl(FileDescription&, unsigned request, unsigned arg) override;
virtual int ioctl(FileDescription&, unsigned request, FlatPtr arg) override;
virtual KResultOr<Region*> mmap(Process&, FileDescription&, VirtualAddress preferred_vaddr, size_t offset, size_t, int prot, bool shared) override;
private: