aubinator: Remove bogus "end" parameter in gen_disasm_disassemble()
Earlier, the loop pretends to loop over instructions from "start" to "end", but the callers always pass 8192 for end, which is some huge bogus value. The real loop termination condition is send-with-EOT or 0. (Ken) Signed-off-by: Sirisha Gandikota <Sirisha.Gandikota@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:

committed by
Kenneth Graunke

parent
1ab92d80a8
commit
aa7b410592
@@ -28,7 +28,7 @@ struct gen_disasm;
|
||||
|
||||
struct gen_disasm *gen_disasm_create(int pciid);
|
||||
void gen_disasm_disassemble(struct gen_disasm *disasm,
|
||||
void *assembly, int start, int end, FILE *out);
|
||||
void *assembly, int start, FILE *out);
|
||||
|
||||
void gen_disasm_destroy(struct gen_disasm *disasm);
|
||||
|
||||
|
Reference in New Issue
Block a user