Add const to uc_reg_write and derivitives

This commit is contained in:
Chris Eagle
2015-08-24 09:42:50 -07:00
parent f221195bf6
commit 5c3b681945
15 changed files with 19 additions and 17 deletions

4
qemu/target-arm/unicorn.h Normal file → Executable file
View File

@@ -6,9 +6,9 @@
// functions to read & write registers
int arm_reg_read(uch handle, unsigned int regid, void *value);
int arm_reg_write(uch handle, unsigned int regid, void *value);
int arm_reg_write(uch handle, unsigned int regid, const void *value);
int arm64_reg_read(uch handle, unsigned int regid, void *value);
int arm64_reg_write(uch handle, unsigned int regid, void *value);
int arm64_reg_write(uch handle, unsigned int regid, const void *value);
void arm_reg_reset(uch handle);
void arm64_reg_reset(uch handle);