7 #ifndef _PSP2KERN_KERNEL_CPU_SPINLOCK_H_
8 #define _PSP2KERN_KERNEL_CPU_SPINLOCK_H_
SceKernelIntrStatus ksceKernelSpinlockLowLockCpuSuspendIntr(SceKernelSpinlock *lock)
Acquire a spinlock and suspend interrupts if necessary.
SceKernelIntrStatus ksceKernelSpinlockLowTrylockCpuSuspendIntr(SceKernelSpinlock *lock)
Attempt to acquire a spinlock and suspend interrupts if necessary.
int ksceKernelSpinlockLowTrylock(SceKernelSpinlock *lock)
Attempt to acquire a spinlock.
void ksceKernelSpinlockLowLock(SceKernelSpinlock *lock)
Acquire a spinlock.
void ksceKernelSpinlockLowUnlockCpuResumeIntr(SceKernelSpinlock *lock, SceKernelIntrStatus intr_status)
Release a previously acquired spinlock and resume interrupts if necessary.
void ksceKernelSpinlockLowUnlock(SceKernelSpinlock *lock)
Release a previously acquired spinlock.
int SceKernelSpinlock
Regular Spinlock.
Definition: types.h:199
int SceKernelIntrStatus
Interrupt status.
Definition: types.h:235