HomeFreeBSD

Work around aliasing issues detected in modern GCC.

Description

Work around aliasing issues detected in modern GCC.

Avoid casting gymnastics that lead to pointer aliasing by introducing an
inline function as done in NetBSD (but without #if0'd WIP code).

Obtained from: NetBSD (CVS Rev. 1.24, 1.25)

Details

Provenance
pfgAuthored on
Parents
rS296385: The register read/write mphy functions have misleading whitespace around
Branches
Unknown
Tags
Unknown