mirror of
				https://github.com/yuzu-emu/yuzu-android.git
				synced 2025-11-04 13:24:48 +00:00 
			
		
		
		
	Nvdrv: Assert when receiving an unimplemented ioctl in the nv* handlers.
This commit is contained in:
		
							parent
							
								
									62937798a0
								
							
						
					
					
						commit
						e862c50a70
					
				| 
						 | 
					@ -13,7 +13,7 @@
 | 
				
			||||||
namespace Service::Nvidia::Devices {
 | 
					namespace Service::Nvidia::Devices {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
u32 nvdisp_disp0::ioctl(Ioctl command, const std::vector<u8>& input, std::vector<u8>& output) {
 | 
					u32 nvdisp_disp0::ioctl(Ioctl command, const std::vector<u8>& input, std::vector<u8>& output) {
 | 
				
			||||||
    UNIMPLEMENTED();
 | 
					    UNIMPLEMENTED_MSG("Unimplemented ioctl");
 | 
				
			||||||
    return 0;
 | 
					    return 0;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -18,7 +18,7 @@ u32 nvhost_ctrl::ioctl(Ioctl command, const std::vector<u8>& input, std::vector<
 | 
				
			||||||
    case IoctlCommand::IocCtrlEventWaitCommand:
 | 
					    case IoctlCommand::IocCtrlEventWaitCommand:
 | 
				
			||||||
        return IocCtrlEventWait(input, output);
 | 
					        return IocCtrlEventWait(input, output);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    UNIMPLEMENTED();
 | 
					    UNIMPLEMENTED_MSG("Unimplemented ioctl");
 | 
				
			||||||
    return 0;
 | 
					    return 0;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -25,7 +25,7 @@ u32 nvhost_ctrl_gpu::ioctl(Ioctl command, const std::vector<u8>& input, std::vec
 | 
				
			||||||
    case IoctlCommand::IocZcullGetInfo:
 | 
					    case IoctlCommand::IocZcullGetInfo:
 | 
				
			||||||
        return ZCullGetInfo(input, output);
 | 
					        return ZCullGetInfo(input, output);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    UNIMPLEMENTED();
 | 
					    UNIMPLEMENTED_MSG("Unimplemented ioctl");
 | 
				
			||||||
    return 0;
 | 
					    return 0;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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;
 | 
					    return 0;
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -32,7 +32,7 @@ u32 nvmap::ioctl(Ioctl command, const std::vector<u8>& input, std::vector<u8>& o
 | 
				
			||||||
        return IocParam(input, output);
 | 
					        return IocParam(input, output);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    UNIMPLEMENTED();
 | 
					    UNIMPLEMENTED_MSG("Unimplemented ioctl");
 | 
				
			||||||
    return 0;
 | 
					    return 0;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue