|
| KP_SPINLOCK * | kp_spinlock_init (void) |
| | Initializes a new Kernel PlugIn spinlock object.
|
| |
| void | kp_spinlock_wait (KP_SPINLOCK *spinlock) |
| | Waits on a Kernel PlugIn spinlock object.
|
| |
| void | kp_spinlock_release (KP_SPINLOCK *spinlock) |
| | Releases a Kernel PlugIn spinlock object.
|
| |
| void | kp_spinlock_uninit (KP_SPINLOCK *spinlock) |
| | Uninitializes a Kernel PlugIn spinlock object.
|
| |
| void | kp_interlocked_init (KP_INTERLOCKED *target) |
| | Initializes a Kernel PlugIn interlocked counter.
|
| |
| void | kp_interlocked_uninit (KP_INTERLOCKED *target) |
| | Uninitializes a Kernel PlugIn interlocked counter.
|
| |
| int | kp_interlocked_increment (KP_INTERLOCKED *target) |
| | Increments the value of a Kernel PlugIn interlocked counter by one.
|
| |
| int | kp_interlocked_decrement (KP_INTERLOCKED *target) |
| | Decrements the value of a Kernel PlugIn interlocked counter by one.
|
| |
| int | kp_interlocked_add (KP_INTERLOCKED *target, int val) |
| | Adds a specified value to the current value of a Kernel PlugIn interlocked counter.
|
| |
| int | kp_interlocked_read (KP_INTERLOCKED *target) |
| | Reads to the value of a Kernel PlugIn interlocked counter.
|
| |
| void | kp_interlocked_set (KP_INTERLOCKED *target, int val) |
| | Sets the value of a Kernel PlugIn interlocked counter to the specified value.
|
| |
| int | kp_interlocked_exchange (KP_INTERLOCKED *target, int val) |
| | Sets the value of a Kernel PlugIn interlocked counter to the specified value and returns the previous value of the counter.
|
| |
| int __cdecl | KDBG (DWORD dwLevel, DWORD dwSection, const char *format,...) |
| |
| char *__cdecl | strcpy (char *s1, const char *s2) |
| |
| void *__cdecl | malloc (size_t size) |
| |
| void __cdecl | free (void *buf) |
| |
| DWORD | kp_get_clock_seconds (void) |
| | Get the current time in seconds, relative to a non user determined starting point (Starting point depends on OS).
|
| |
| DWORD | kp_get_clock_milliseconds (void) |
| | Get the current time in milliseconds, relative to a non user determined starting point (Starting point depends on OS).
|
| |
| UINT64 | kp_get_clock_nanoseconds (void) |
| | Get the current time in nanoseconds, relative to a non user determined starting point (Starting point depends on OS).
|
| |