// Vita3K emulator project // Copyright (C) 2021 Vita3K team // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 2 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License along // with this program; if not, write to the Free Software Foundation, Inc., // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #pragma once #include BRIDGE_DECL(ksceKernelCpuAtomicAddAndGet16) BRIDGE_DECL(ksceKernelCpuAtomicAddAndGet32) BRIDGE_DECL(ksceKernelCpuAtomicAddAndGet64) BRIDGE_DECL(ksceKernelCpuAtomicAddAndGet8) BRIDGE_DECL(ksceKernelCpuAtomicAddUnless16) BRIDGE_DECL(ksceKernelCpuAtomicAddUnless32) BRIDGE_DECL(ksceKernelCpuAtomicAddUnless64) BRIDGE_DECL(ksceKernelCpuAtomicAddUnless8) BRIDGE_DECL(ksceKernelCpuAtomicAndAndGet16) BRIDGE_DECL(ksceKernelCpuAtomicAndAndGet32) BRIDGE_DECL(ksceKernelCpuAtomicAndAndGet64) BRIDGE_DECL(ksceKernelCpuAtomicAndAndGet8) BRIDGE_DECL(ksceKernelCpuAtomicClearAndGet16) BRIDGE_DECL(ksceKernelCpuAtomicClearAndGet32) BRIDGE_DECL(ksceKernelCpuAtomicClearAndGet64) BRIDGE_DECL(ksceKernelCpuAtomicClearAndGet8) BRIDGE_DECL(ksceKernelCpuAtomicClearMask16) BRIDGE_DECL(ksceKernelCpuAtomicClearMask32) BRIDGE_DECL(ksceKernelCpuAtomicClearMask64) BRIDGE_DECL(ksceKernelCpuAtomicClearMask8) BRIDGE_DECL(ksceKernelCpuAtomicCompareAndSet16) BRIDGE_DECL(ksceKernelCpuAtomicCompareAndSet32) BRIDGE_DECL(ksceKernelCpuAtomicCompareAndSet64) BRIDGE_DECL(ksceKernelCpuAtomicCompareAndSet8) BRIDGE_DECL(ksceKernelCpuAtomicDecIfPositive16) BRIDGE_DECL(ksceKernelCpuAtomicDecIfPositive32) BRIDGE_DECL(ksceKernelCpuAtomicDecIfPositive64) BRIDGE_DECL(ksceKernelCpuAtomicDecIfPositive8) BRIDGE_DECL(ksceKernelCpuAtomicGetAndAdd16) BRIDGE_DECL(ksceKernelCpuAtomicGetAndAdd32) BRIDGE_DECL(ksceKernelCpuAtomicGetAndAdd64) BRIDGE_DECL(ksceKernelCpuAtomicGetAndAdd8) BRIDGE_DECL(ksceKernelCpuAtomicGetAndAnd16) BRIDGE_DECL(ksceKernelCpuAtomicGetAndAnd32) BRIDGE_DECL(ksceKernelCpuAtomicGetAndAnd64) BRIDGE_DECL(ksceKernelCpuAtomicGetAndAnd8) BRIDGE_DECL(ksceKernelCpuAtomicGetAndClear16) BRIDGE_DECL(ksceKernelCpuAtomicGetAndClear32) BRIDGE_DECL(ksceKernelCpuAtomicGetAndClear64) BRIDGE_DECL(ksceKernelCpuAtomicGetAndClear8) BRIDGE_DECL(ksceKernelCpuAtomicGetAndOr16) BRIDGE_DECL(ksceKernelCpuAtomicGetAndOr32) BRIDGE_DECL(ksceKernelCpuAtomicGetAndOr64) BRIDGE_DECL(ksceKernelCpuAtomicGetAndOr8) BRIDGE_DECL(ksceKernelCpuAtomicGetAndSet16) BRIDGE_DECL(ksceKernelCpuAtomicGetAndSet32) BRIDGE_DECL(ksceKernelCpuAtomicGetAndSet64) BRIDGE_DECL(ksceKernelCpuAtomicGetAndSet8) BRIDGE_DECL(ksceKernelCpuAtomicGetAndSub16) BRIDGE_DECL(ksceKernelCpuAtomicGetAndSub32) BRIDGE_DECL(ksceKernelCpuAtomicGetAndSub64) BRIDGE_DECL(ksceKernelCpuAtomicGetAndSub8) BRIDGE_DECL(ksceKernelCpuAtomicGetAndXor16) BRIDGE_DECL(ksceKernelCpuAtomicGetAndXor32) BRIDGE_DECL(ksceKernelCpuAtomicGetAndXor64) BRIDGE_DECL(ksceKernelCpuAtomicGetAndXor8) BRIDGE_DECL(ksceKernelCpuAtomicOrAndGet16) BRIDGE_DECL(ksceKernelCpuAtomicOrAndGet32) BRIDGE_DECL(ksceKernelCpuAtomicOrAndGet64) BRIDGE_DECL(ksceKernelCpuAtomicOrAndGet8) BRIDGE_DECL(ksceKernelCpuAtomicSet16) BRIDGE_DECL(ksceKernelCpuAtomicSet32) BRIDGE_DECL(ksceKernelCpuAtomicSet64) BRIDGE_DECL(ksceKernelCpuAtomicSet8) BRIDGE_DECL(ksceKernelCpuAtomicSetIfGreaterGet16) BRIDGE_DECL(ksceKernelCpuAtomicSetIfGreaterGet32) BRIDGE_DECL(ksceKernelCpuAtomicSetIfGreaterGet8) BRIDGE_DECL(ksceKernelCpuAtomicSubAndGet16) BRIDGE_DECL(ksceKernelCpuAtomicSubAndGet32) BRIDGE_DECL(ksceKernelCpuAtomicSubAndGet64) BRIDGE_DECL(ksceKernelCpuAtomicSubAndGet8) BRIDGE_DECL(ksceKernelCpuAtomicXorAndGet16) BRIDGE_DECL(ksceKernelCpuAtomicXorAndGet32) BRIDGE_DECL(ksceKernelCpuAtomicXorAndGet64) BRIDGE_DECL(ksceKernelCpuAtomicXorAndGet8) BRIDGE_DECL(ksceKernelCpuDcacheAndL2CleanInvalidateMVACRange_20) BRIDGE_DECL(ksceKernelCpuDcacheAndL2InvalidateRange) BRIDGE_DECL(ksceKernelCpuDcacheAndL2WritebackInvalidateRange) BRIDGE_DECL(ksceKernelCpuDcacheAndL2WritebackRange) BRIDGE_DECL(ksceKernelCpuDcacheInvalidateRange) BRIDGE_DECL(ksceKernelCpuDcacheWritebackRange) BRIDGE_DECL(ksceKernelCpuDisableInterrupts) BRIDGE_DECL(ksceKernelCpuEnableInterrupts) BRIDGE_DECL(ksceKernelCpuGetCpuId) BRIDGE_DECL(ksceKernelCpuIsVaddrMapped) BRIDGE_DECL(ksceKernelCpuLockStoreFlag) BRIDGE_DECL(ksceKernelCpuLockStoreLR) BRIDGE_DECL(ksceKernelCpuLockSuspendIntrStoreFlag) BRIDGE_DECL(ksceKernelCpuResumeIntr) BRIDGE_DECL(ksceKernelCpuSpinLockIrqRestore) BRIDGE_DECL(ksceKernelCpuSpinLockIrqSave) BRIDGE_DECL(ksceKernelCpuSpinLockStoreLR) BRIDGE_DECL(ksceKernelCpuSpinUnlockStoreLR) BRIDGE_DECL(ksceKernelCpuSuspendIntr) BRIDGE_DECL(ksceKernelCpuTryLockStoreFlag) BRIDGE_DECL(ksceKernelCpuTryLockStoreLR) BRIDGE_DECL(ksceKernelCpuTryLockSuspendIntrStoreFlag) BRIDGE_DECL(ksceKernelCpuTryLockSuspendIntrStoreLR) BRIDGE_DECL(ksceKernelCpuTrySpinLockStoreLR) BRIDGE_DECL(ksceKernelCpuTrySpinLockSuspendIntrStoreLR) BRIDGE_DECL(ksceKernelCpuUnlockResumeIntrStoreFlag) BRIDGE_DECL(ksceKernelCpuUnlockStoreFlag) BRIDGE_DECL(ksceKernelCpuUnlockStoreLR)