Page MenuHomeFreeBSD

Implement 64-bit atomic functions on 32-bit mips.
Needs ReviewPublic

Authored by imp on Thu, Jan 31, 7:55 PM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

We do this by disabling interrupts, doing the 64-bit op, then re-enabling interrupts. This works only in the kernel, and breaks the JZ4280 port because nobody has written the mips32r6 64-bit atomic ops yet (MP environments can't use the interrupt trick, and the necessary instructions / hardware is only on processors that implement mips32r6 or later).

Diff Detail

Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 22303
Build 21492: arc lint + arc unit

Event Timeline

imp created this revision.Thu, Jan 31, 7:55 PM