We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3512941 commit 91d2526Copy full SHA for 91d2526
gen_tos-noavb.c
@@ -159,7 +159,7 @@ int main(int argc, char **argv)
159
else
160
mov_count--;
161
printf("patch mov at 0x%zx\n", pmov[mov_count]);
162
- *(uint32_t *)&mem[mov_count] = 0x52800000;
+ *(uint32_t *)&mem[pmov[mov_count]] = 0x52800000;
163
file = fopen("tos-noavb.bin", "wb");
164
if (file == NULL)
165
ERR_EXIT("Failed to create the file.\n");
0 commit comments