vitasdk
Documentation of the vitasdk
corelock.h
Go to the documentation of this file.
1 
7 #ifndef _PSP2KERN_KERNEL_CPU_CORELOCK_H_
8 #define _PSP2KERN_KERNEL_CPU_CORELOCK_H_
9 
10 #include <vitasdk/build_utils.h>
11 #include <psp2kern/types.h>
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 
18 typedef struct SceCorelockContext {
19  int lock;
20  int16_t core_count;
21  int16_t last_wait_core;
24 
26 
29 
30 
31 #ifdef __cplusplus
32 }
33 #endif
34 
35 #endif /* _PSP2KERN_KERNEL_CPU_CORELOCK_H_ */
int lock
Definition: corelock.h:19
VITASDK_BUILD_ASSERT_EQ(8, SceCorelockContext)
void ksceKernelCorelockUnlock(SceCorelockContext *ctx)
int16_t last_wait_core
Definition: corelock.h:21
void ksceKernelCorelockInitialize(SceCorelockContext *ctx)
void ksceKernelCorelockLock(SceCorelockContext *ctx, SceUInt32 core)
int16_t core_count
Definition: corelock.h:20
Definition: corelock.h:18
uint32_t SceUInt32
Definition: types.h:45