nv: Fix more broken asserts.
This commit is contained in:
parent
ac2feaf5fb
commit
94ad97def0
|
@ -11,7 +11,7 @@ namespace NVDRV {
|
||||||
namespace Devices {
|
namespace Devices {
|
||||||
|
|
||||||
u32 nvhost_as_gpu::ioctl(u32 command, const std::vector<u8>& input, std::vector<u8>& output) {
|
u32 nvhost_as_gpu::ioctl(u32 command, const std::vector<u8>& input, std::vector<u8>& output) {
|
||||||
ASSERT(false, "Unimplemented");
|
UNIMPLEMENTED();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@ u32 nvmap::ioctl(u32 command, const std::vector<u8>& input, std::vector<u8>& out
|
||||||
return IocParam(input, output);
|
return IocParam(input, output);
|
||||||
}
|
}
|
||||||
|
|
||||||
ASSERT(false, "Unimplemented");
|
UNIMPLEMENTED();
|
||||||
}
|
}
|
||||||
|
|
||||||
u32 nvmap::IocCreate(const std::vector<u8>& input, std::vector<u8>& output) {
|
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;
|
params.value = object->kind;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
ASSERT(false, "Unimplemented");
|
UNIMPLEMENTED();
|
||||||
}
|
}
|
||||||
|
|
||||||
std::memcpy(output.data(), ¶ms, sizeof(params));
|
std::memcpy(output.data(), ¶ms, sizeof(params));
|
||||||
|
|
Reference in New Issue