1
0
Fork 0
forked from suyu/suyu

nv: Fix more broken asserts.

This commit is contained in:
bunnei 2018-01-11 22:31:12 -05:00
parent ac2feaf5fb
commit 94ad97def0
2 changed files with 3 additions and 3 deletions

View file

@ -11,7 +11,7 @@ namespace NVDRV {
namespace Devices {
u32 nvhost_as_gpu::ioctl(u32 command, const std::vector<u8>& input, std::vector<u8>& output) {
ASSERT(false, "Unimplemented");
UNIMPLEMENTED();
return 0;
}

View file

@ -33,7 +33,7 @@ u32 nvmap::ioctl(u32 command, const std::vector<u8>& input, std::vector<u8>& out
return IocParam(input, output);
}
ASSERT(false, "Unimplemented");
UNIMPLEMENTED();
}
u32 nvmap::IocCreate(const std::vector<u8>& input, std::vector<u8>& output) {
@ -141,7 +141,7 @@ u32 nvmap::IocParam(const std::vector<u8>& input, std::vector<u8>& output) {
params.value = object->kind;
break;
default:
ASSERT(false, "Unimplemented");
UNIMPLEMENTED();
}
std::memcpy(output.data(), &params, sizeof(params));