Return a CPU-specific entry from the system page
#include <sys/syspage.h> #define SYSPAGE_CPU_ENTRY( cpu, entry )...
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.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | Yes |
Signal handler | Yes |
Thread | Yes |
SYSPAGE_CPU_ENTRY() is a macro.