Browse Source

Write 1 to MIPI, not 0

pull/16/head
Andrew Waterman 10 years ago
parent
commit
85ae17aa14
  1. 2
      pk/mtrap.c

2
pk/mtrap.c

@ -213,7 +213,7 @@ static uintptr_t mcall_send_ipi(uintptr_t recipient)
if (atomic_swap(&OTHER_HLS(recipient)->ipi_pending, 1) == 0) {
mb();
OTHER_HLS(recipient)->csrs[CSR_MIPI] = 0;
OTHER_HLS(recipient)->csrs[CSR_MIPI] = 1;
}
return 0;

Loading…
Cancel
Save