freebsd-dev/sys/x86
Hans Petter Selasky f0188618f2 Fix multiple incorrect SYSCTL arguments in the kernel:
- Wrong integer type was specified.

- Wrong or missing "access" specifier. The "access" specifier
sometimes included the SYSCTL type, which it should not, except for
procedural SYSCTL nodes.

- Logical OR where binary OR was expected.

- Properly assert the "access" argument passed to all SYSCTL macros,
using the CTASSERT macro. This applies to both static- and dynamically
created SYSCTLs.

- Properly assert the the data type for both static and dynamic
SYSCTLs. In the case of static SYSCTLs we only assert that the data
pointed to by the SYSCTL data pointer has the correct size, hence
there is no easy way to assert types in the C language outside a
C-function.

- Rewrote some code which doesn't pass a constant "access" specifier
when creating dynamic SYSCTL nodes, which is now a requirement.

- Updated "EXAMPLES" section in SYSCTL manual page.

MFC after:	3 days
Sponsored by:	Mellanox Technologies
2014-10-21 07:31:21 +00:00
..
acpica Missing from previous commit - keep the VM domain -> PXM mapping 2014-10-09 05:34:28 +00:00
bios
cpufreq Pull in r267961 and r267973 again. Fix for issues reported will follow. 2014-06-28 03:56:17 +00:00
include Merge from projects/bhyve_svm all the changes outside vmm.ko or bhyve utilities: 2014-10-20 18:09:33 +00:00
iommu Follow up to r225617. In order to maximize the re-usability of kernel code 2014-10-16 18:04:43 +00:00
isa atpic: make sure atpic_init is called after IO APIC initialization 2014-08-07 17:00:50 +00:00
pci Pull in r267961 and r267973 again. Fix for issues reported will follow. 2014-06-28 03:56:17 +00:00
x86 Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
xen Follow up to r225617. In order to maximize the re-usability of kernel code 2014-10-16 18:04:43 +00:00