Blame Makerules/DARWIN/README-KERNEL-FLAGS

Packit 857059
The .h files in Makerules/DARWIN/ contain defines that key special case handling
Packit 857059
for the various kernels that this source base supports (currently Panther [10.3.x]
Packit 857059
and Tiger [10.4.x]).
Packit 857059
Packit 857059
When adding new flags please following the following guidelines:
Packit 857059
Packit 857059
- Make the sense of the flags positive instead of negative so that old files
Packit 857059
  don't need to be changed when a new kernel is added to the build
Packit 857059
- Make the flag specific to API difference
Packit 857059
Packit 857059
Currently the KERNEL_VERSION flag is not used.
Packit 857059
Packit 857059
The following flags are currently defined:
Packit 857059
Packit 857059
CONFIG_PROC_FS - Enables/Disables the "/proc" implementation under Darwin
Packit 857059
HAS_KALLOC - kalloc() is exported for use by the kernel.
Packit 857059
HAS_CPU_NUMBER - cpu_number() is exported for use by the kernel.
Packit 857059
HAS_KERNEL_FUNNEL - kernel funnel is exported for use by the kernel.
Packit 857059
HAS_KERNEL_SOCKETS - kernel sockets are exported for use by the kernel.
Packit 857059
HAS_ENABLE_PREEMPTION - preemption values are exported for getting and setting 
Packit 857059
by the kernel.
Packit 857059
HAS_ABSOLUTETIME - enable if clock calls use AbsoluteTime instead of uint64_t
Packit 857059
HAS_THREAD_DEADLINE - thread_set_timer_deadline() is exported for use by the kernel.
Packit 857059
HAS_NETWORK_LOGGING - indicates whether or not to use the CNetworkInterface class.
Packit 857059
This is a temporary measure until the CNetworkInterface class is ported to Tiger.
Packit 857059
HAS_PANTHER_DEBUGGING - Supports CTrace::BackTrace(), CTrace::PointerCheck()
Packit 857059
HAS_HOSTNAME - kernel exports the _hostname symbol.
Packit 857059
HAS_MEMORY_GLOBALS - kernel exports the _mem_actual symbol.
Packit 857059
HAS_OPAQUE_PROCPTR - struct proc is an opaque data type, use proc_t instead.
Packit 857059
HAS_MBUF_FUNCS - struct mbuf is opaque type, use mbuf_* functions to access
Packit 857059
HAS_IFNET_T - struct ifnet replaced with ifnet_t