Vita3K/vita3k/modules/SceSysmem/SceSysmemForDriver.cpp
2025-01-19 18:51:43 -03:00

426 lines
8.3 KiB
C++

// Vita3K emulator project
// Copyright (C) 2025 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.
#include <module/module.h>
EXPORT(int, ksceGUIDClose) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceGUIDReferObject) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceGUIDReferObjectWithClass) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceGUIDReferObjectWithClassLevel) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceGUIDReleaseObject) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelAddressSpaceVAtoPABySW) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelAllocHeapMemory) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelAllocHeapMemoryFromGlobalHeap) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelAllocHeapMemoryFromGlobalHeapWithOpt) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelAllocHeapMemoryWithOpt1) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelAllocHeapMemoryWithOption) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelAllocMemBlock) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelAllocMemBlockWithInfo) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelCreateClass) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelCreateHeap) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelCreateUidObj2) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelCreateUidObjForUid) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelCreateUserUidForClass) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelCreateUserUidForName) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelCreateUserUidForNameWithClass) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelDeleteHeap) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelFindMemBlock) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelFindMemBlockByAddr) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelFindMemBlockByAddrForDefaultSize) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelFindMemBlockByAddrForPid) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelFindMemBlockForPid) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelFirstDifferentBlock32User) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelFirstDifferentBlock64User) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelFirstDifferentBlock64UserForPid) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelFirstDifferentIntUserForPid) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelFreeHeapMemory) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelFreeHeapMemoryFromGlobalHeap) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelFreeMemBlock) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelGUIDGetObject) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelGetClassForPidForUid) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelGetClassForUid) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelGetMemBlockBase) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelGetMemBlockMappedBase) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelGetMemBlockPARange) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelGetMemBlockPaddrListForUid) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelGetMemBlockVBase) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelGetNameForPidByUid) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelGetNameForUid) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelGetNameForUid2) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelGetObjectForPidForUid) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelGetObjectForUidForAttr) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelGetObjectForUidForClassTree) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelGetPaddrListForLargePage) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelGetPaddrListForSmallPage) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelGetPaddrPair) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelGetPaddrPairForLargePage) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelGetPaddrPairForSmallPage) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelGetPhysicalMemoryType) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelGetPidContext) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelGetUidClass) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelIsPaddrWithinSameSectionForUid) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelKernelUidForUserUidForClass) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelMapBlockUserVisible) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelMapBlockUserVisibleWithFlag) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelMapUserBlock) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelMemBlockDecRefCounterAndReleaseUid) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelMemBlockGetInfoEx) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelMemBlockGetInfoExForVisibilityLevel) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelMemBlockGetSomeSize) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelMemBlockIncRefCounterAndReleaseUid) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelMemBlockRelease) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelMemBlockType2Memtype) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelMemBlockTypeGetPrivileges) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelMemRangeRelease) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelMemRangeReleaseForPid) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelMemRangeReleaseWithPerm) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelMemRangeRetain) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelMemRangeRetainForPid) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelMemRangeRetainWithPerm) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelMemcpyKernelToUser) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelMemcpyKernelToUserForPid) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelMemcpyKernelToUserForPidUnchecked) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelMemcpyUserToKernel) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelMemcpyUserToKernelForPid) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelMemcpyUserToUser) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelMemcpyUserToUserForPid) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelOpenUidForName) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelProcModeVAtoPA) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelProcUserMap) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelRemapBlock) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelRoMemcpyKernelToUserForPid) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelSetNameForPidForUid) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelSetObjectForUid) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelStrncpyKernelToUser) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelStrncpyUserForPid) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelStrncpyUserToKernel) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelStrnlenUser) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelStrnlenUserForPid) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelSwitchPidContext) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelSwitchVmaForPid) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelUnmapMemBlock) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelUserMap) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelVARangeToPAVector) {
return UNIMPLEMENTED();
}
EXPORT(int, ksceKernelVAtoPA) {
return UNIMPLEMENTED();
}
EXPORT(int, kscePUIDClose) {
return UNIMPLEMENTED();
}
EXPORT(int, kscePUIDOpenByGUID) {
return UNIMPLEMENTED();
}
EXPORT(int, kscePUIDtoGUID) {
return UNIMPLEMENTED();
}