Page MenuHomeFreeBSD

Remove __restrict qualifiers from syscalls.master.
ClosedPublic

Authored by brooks on Oct 15 2018, 8:28 PM.
Tags
None
Referenced Files
F106738868: D17574.diff
Sat, Jan 4, 4:36 PM
Unknown Object (File)
Thu, Dec 12, 5:28 AM
Unknown Object (File)
Oct 2 2024, 8:01 PM
Unknown Object (File)
Sep 22 2024, 10:57 PM
Unknown Object (File)
Sep 4 2024, 6:53 AM
Unknown Object (File)
Aug 20 2024, 3:06 AM
Unknown Object (File)
Jun 2 2024, 5:28 AM
Unknown Object (File)
May 19 2024, 5:41 AM
Subscribers

Details

Summary

The restruct qualifier is intended to aid code generation in the
compiler, but the only access to storage through these pointers is via
structs using copyin/copyout and the like which can not be written in C
or C++ and thus the compiler gains nothing from the qualifiers.

As such, the qualifiers add no value in current usage.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 20227
Build 19705: arc lint + arc unit