Skip to content

Commit

Permalink
armv8-r/cp15: fix the problem of op1 operand confusion in ICC_SGI1R
Browse files Browse the repository at this point in the history
              CRn   Op1    CRm    Op2
    ICC_SGI0R  -     2     c12     -
    ICC_SGI1R  -     0     c12     -

Signed-off-by: fanjiangang <fanjiangang@lixiang.com>
Signed-off-by: chao an <anchao@lixiang.com>
  • Loading branch information
atmfjg authored and anchao committed Oct 16, 2024
1 parent 43d483e commit d1b0925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/include/armv8-r/cp15.h
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
#define CP15_ICC_SRE(r) _CP15(0, r, c12, c12, 5) /* ICC_SRE */
#define CP15_ICC_HSRE(r) _CP15(4, r, c12, c9, 5) /* ICC_HSRE */
#define CP15_ICC_IGRPEN1(r) _CP15(0, r, c12, c12, 7) /* ICC_IGRPEN1 */
#define CP15_ICC_SGI1R(lo,hi) _CP15_64(2, lo, hi, c12) /* ICC_SGI1R */
#define CP15_ICC_SGI1R(lo,hi) _CP15_64(0, lo, hi, c12) /* ICC_SGI1R */

#define CP15_SET(reg, value) \
do \
Expand Down

0 comments on commit d1b0925

Please sign in to comment.