Expand description
Implement syscalls using the vDSO.
https://man7.org/linux/man-pages/man7/vdso.7.html
§Safety
Similar to syscalls.rs, this file performs raw system calls, and sometimes passes them uninitialized memory buffers. This file also calls vDSO functions.
Structs§
- Function 🔒
AtomicPtr
can’t hold afn
pointer, so we use a*
pointer to this placeholder type, and cast it as needed.
Statics§
- GETCPU 🔒
Functions§
- init 🔒
- Initialize
CLOCK_GETTIME
and return its value. - Initialize
GETCPU
and return its value.