Page MenuHomeFreeBSD

Remove __restrict qualifiers from syscalls.master.
ClosedPublic

Authored by brooks on Oct 15 2018, 8:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jan 13, 11:17 AM
Unknown Object (File)
Mon, Jan 6, 4:30 PM
Unknown Object (File)
Sat, Jan 4, 4:36 PM
Unknown Object (File)
Dec 12 2024, 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
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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable