Page MenuHomeFreeBSD

Implement 64-bit atomic functions on 32-bit mips.
AbandonedPublic

Authored by imp on Jan 31 2019, 7:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 20 2023, 12:32 AM
Unknown Object (File)
Nov 9 2023, 8:16 AM
Unknown Object (File)
Nov 7 2023, 4:22 AM
Unknown Object (File)
Oct 30 2023, 11:32 PM
Unknown Object (File)
Oct 6 2023, 3:21 AM
Unknown Object (File)
Sep 29 2023, 12:15 AM
Unknown Object (File)
Mar 21 2023, 12:50 PM
Subscribers
None

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 Passed
Unit
No Test Coverage
Build Status
Buildable 22303
Build 21492: arc lint + arc unit