Merge pull request #385 from Subv/unimpl_ioctls

Nvdrv: Assert when receiving an unimplemented ioctl in the nv* handlers.
This commit is contained in:
bunnei 2018-04-23 15:22:49 -04:00 committed by GitHub
commit d4f87e9af4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View File

@ -13,7 +13,7 @@
namespace Service::Nvidia::Devices {
u32 nvdisp_disp0::ioctl(Ioctl command, const std::vector<u8>& input, std::vector<u8>& output) {
UNIMPLEMENTED();
UNIMPLEMENTED_MSG("Unimplemented ioctl");
return 0;
}

View File

@ -18,7 +18,7 @@ u32 nvhost_ctrl::ioctl(Ioctl command, const std::vector<u8>& input, std::vector<
case IoctlCommand::IocCtrlEventWaitCommand:
return IocCtrlEventWait(input, output);
}
UNIMPLEMENTED();
UNIMPLEMENTED_MSG("Unimplemented ioctl");
return 0;
}

View File

@ -25,7 +25,7 @@ u32 nvhost_ctrl_gpu::ioctl(Ioctl command, const std::vector<u8>& input, std::vec
case IoctlCommand::IocZcullGetInfo:
return ZCullGetInfo(input, output);
}
UNIMPLEMENTED();
UNIMPLEMENTED_MSG("Unimplemented ioctl");
return 0;
}

View File

@ -40,7 +40,7 @@ u32 nvhost_gpu::ioctl(Ioctl command, const std::vector<u8>& input, std::vector<u
}
}
UNIMPLEMENTED();
UNIMPLEMENTED_MSG("Unimplemented ioctl");
return 0;
};

View File

@ -32,7 +32,7 @@ u32 nvmap::ioctl(Ioctl command, const std::vector<u8>& input, std::vector<u8>& o
return IocParam(input, output);
}
UNIMPLEMENTED();
UNIMPLEMENTED_MSG("Unimplemented ioctl");
return 0;
}