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Β§
- CLOCK_
GETTIME π
FunctionsΒ§
- _clock_
gettime_ π βvia_ syscall - clock_
gettime π - clock_
gettime_ πdynamic - clock_
gettime_ π βvia_ syscall - init π
- init_
clock_ πgettime - Initialize
CLOCK_GETTIME
and return its value. - minimal_
init π
Type AliasesΒ§
- Clock
Gettime πType