Return a CPU-specific entry from the system page
#include <sys/syspage.h> #define SYSPAGE_CPU_ENTRY( cpu, entry )...
- The CPU to get the entry for.
- The entry to get; see below.
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The SYSPAGE_CPU_ENTRY() macro returns a pointer to the specified entry from the part of the system page that's specific to the given cpu.
The best way to reference the system page is via the kernel calls and POSIX cover functions. If there isn't a function to access the information you need, use SYSPAGE_CPU_ENTRY() instead of referencing the _syspage_ptr variable directly. For information in the rest of the syspage_entry structure, use SYSPAGE_ENTRY() .
A pointer to the structure for the given entry.
SYSPAGE_CPU_ENTRY() is a macro.
Last modified: 2013-12-23