diff options
-rw-r--r-- | arch/arm/common/uengine.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/arch/arm/common/uengine.c b/arch/arm/common/uengine.c index b520e56216a9..bef408f3d76c 100644 --- a/arch/arm/common/uengine.c +++ b/arch/arm/common/uengine.c | |||
@@ -312,16 +312,16 @@ static void generate_ucode(u8 *ucode, u32 *gpr_a, u32 *gpr_b) | |||
312 | b1 = (gpr_a[i] >> 8) & 0xff; | 312 | b1 = (gpr_a[i] >> 8) & 0xff; |
313 | b0 = gpr_a[i] & 0xff; | 313 | b0 = gpr_a[i] & 0xff; |
314 | 314 | ||
315 | // immed[@ai, (b1 << 8) | b0] | 315 | /* immed[@ai, (b1 << 8) | b0] */ |
316 | // 11110000 0000VVVV VVVV11VV VVVVVV00 1IIIIIII | 316 | /* 11110000 0000VVVV VVVV11VV VVVVVV00 1IIIIIII */ |
317 | ucode[offset++] = 0xf0; | 317 | ucode[offset++] = 0xf0; |
318 | ucode[offset++] = (b1 >> 4); | 318 | ucode[offset++] = (b1 >> 4); |
319 | ucode[offset++] = (b1 << 4) | 0x0c | (b0 >> 6); | 319 | ucode[offset++] = (b1 << 4) | 0x0c | (b0 >> 6); |
320 | ucode[offset++] = (b0 << 2); | 320 | ucode[offset++] = (b0 << 2); |
321 | ucode[offset++] = 0x80 | i; | 321 | ucode[offset++] = 0x80 | i; |
322 | 322 | ||
323 | // immed_w1[@ai, (b3 << 8) | b2] | 323 | /* immed_w1[@ai, (b3 << 8) | b2] */ |
324 | // 11110100 0100VVVV VVVV11VV VVVVVV00 1IIIIIII | 324 | /* 11110100 0100VVVV VVVV11VV VVVVVV00 1IIIIIII */ |
325 | ucode[offset++] = 0xf4; | 325 | ucode[offset++] = 0xf4; |
326 | ucode[offset++] = 0x40 | (b3 >> 4); | 326 | ucode[offset++] = 0x40 | (b3 >> 4); |
327 | ucode[offset++] = (b3 << 4) | 0x0c | (b2 >> 6); | 327 | ucode[offset++] = (b3 << 4) | 0x0c | (b2 >> 6); |
@@ -340,16 +340,16 @@ static void generate_ucode(u8 *ucode, u32 *gpr_a, u32 *gpr_b) | |||
340 | b1 = (gpr_b[i] >> 8) & 0xff; | 340 | b1 = (gpr_b[i] >> 8) & 0xff; |
341 | b0 = gpr_b[i] & 0xff; | 341 | b0 = gpr_b[i] & 0xff; |
342 | 342 | ||
343 | // immed[@bi, (b1 << 8) | b0] | 343 | /* immed[@bi, (b1 << 8) | b0] */ |
344 | // 11110000 0000VVVV VVVV001I IIIIII11 VVVVVVVV | 344 | /* 11110000 0000VVVV VVVV001I IIIIII11 VVVVVVVV */ |
345 | ucode[offset++] = 0xf0; | 345 | ucode[offset++] = 0xf0; |
346 | ucode[offset++] = (b1 >> 4); | 346 | ucode[offset++] = (b1 >> 4); |
347 | ucode[offset++] = (b1 << 4) | 0x02 | (i >> 6); | 347 | ucode[offset++] = (b1 << 4) | 0x02 | (i >> 6); |
348 | ucode[offset++] = (i << 2) | 0x03; | 348 | ucode[offset++] = (i << 2) | 0x03; |
349 | ucode[offset++] = b0; | 349 | ucode[offset++] = b0; |
350 | 350 | ||
351 | // immed_w1[@bi, (b3 << 8) | b2] | 351 | /* immed_w1[@bi, (b3 << 8) | b2] */ |
352 | // 11110100 0100VVVV VVVV001I IIIIII11 VVVVVVVV | 352 | /* 11110100 0100VVVV VVVV001I IIIIII11 VVVVVVVV */ |
353 | ucode[offset++] = 0xf4; | 353 | ucode[offset++] = 0xf4; |
354 | ucode[offset++] = 0x40 | (b3 >> 4); | 354 | ucode[offset++] = 0x40 | (b3 >> 4); |
355 | ucode[offset++] = (b3 << 4) | 0x02 | (i >> 6); | 355 | ucode[offset++] = (b3 << 4) | 0x02 | (i >> 6); |
@@ -357,7 +357,7 @@ static void generate_ucode(u8 *ucode, u32 *gpr_a, u32 *gpr_b) | |||
357 | ucode[offset++] = b2; | 357 | ucode[offset++] = b2; |
358 | } | 358 | } |
359 | 359 | ||
360 | // ctx_arb[kill] | 360 | /* ctx_arb[kill] */ |
361 | ucode[offset++] = 0xe0; | 361 | ucode[offset++] = 0xe0; |
362 | ucode[offset++] = 0x00; | 362 | ucode[offset++] = 0x00; |
363 | ucode[offset++] = 0x01; | 363 | ucode[offset++] = 0x01; |