diff --git a/CMakeLists.txt b/CMakeLists.txt index f94e3ff7..8a2e246b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -96,103 +96,84 @@ endif() set(AUDIO_CORE src/audio_core/sdl_audio.cpp src/audio_core/sdl_audio.h ) -set(LIBRARIES src/core/libraries/library_common.h - src/core/libraries/error_codes.h - src/core/libraries/libsceaudioin.cpp - src/core/libraries/libsceaudioin.h - src/core/libraries/libsceaudioout.cpp - src/core/libraries/libsceaudioout.h - src/core/libraries/libkernel.cpp - src/core/libraries/libkernel.h - src/core/libraries/libscecommondialog.cpp - src/core/libraries/libscecommondialog.h - src/core/libraries/libscegnmdriver.cpp - src/core/libraries/libscegnmdriver.h - src/core/libraries/libscehttp.cpp - src/core/libraries/libscehttp.h - src/core/libraries/libscemsgdialog.cpp - src/core/libraries/libscemsgdialog.h - src/core/libraries/libscenet.cpp - src/core/libraries/libscenet.h - src/core/libraries/libscenetctl.cpp - src/core/libraries/libscenetctl.h - src/core/libraries/libsceposix.cpp - src/core/libraries/libsceposix.h - src/core/libraries/libscesavedata.cpp - src/core/libraries/libscesavedata.h - src/core/libraries/libscesavedatadialog.cpp - src/core/libraries/libscesavedatadialog.h - src/core/libraries/libscessl.cpp - src/core/libraries/libscessl.h - src/core/libraries/libscesysmodule.cpp - src/core/libraries/libscesysmodule.h - src/core/libraries/libscesystemservice.cpp - src/core/libraries/libscesystemservice.h - src/core/libraries/libsceuserservice.cpp - src/core/libraries/libsceuserservice.h + +set(AUDIO_LIB src/core/libraries/audio/audioin.cpp + src/core/libraries/audio/audioin.h + src/core/libraries/audio/audioout.cpp + src/core/libraries/audio/audioout.h ) -set(LIBC_SOURCES src/core/hle/libraries/libc/libc.cpp - src/core/hle/libraries/libc/libc.h - src/core/hle/libraries/libc/printf.h - src/core/hle/libraries/libc/va_ctx.h - src/core/hle/libraries/libc/libc_cxa.cpp - src/core/hle/libraries/libc/libc_cxa.h - src/core/hle/libraries/libc/libc_stdio.cpp - src/core/hle/libraries/libc/libc_stdio.h - src/core/hle/libraries/libc/libc_math.cpp - src/core/hle/libraries/libc/libc_math.h - src/core/hle/libraries/libc/libc_string.cpp - src/core/hle/libraries/libc/libc_string.h - src/core/hle/libraries/libc/libc_stdlib.cpp - src/core/hle/libraries/libc/libc_stdlib.h +set(GNM_LIB src/core/libraries/gnmdriver/gnmdriver.cpp + src/core/libraries/gnmdriver/gnmdriver.h ) -set(PAD_SOURCES src/core/hle/libraries/libpad/pad.cpp - src/core/hle/libraries/libpad/pad.h +set(KERNEL_LIB src/core/libraries/kernel/cpu_management.cpp + src/core/libraries/kernel/cpu_management.h + src/core/libraries/kernel/event_queue.cpp + src/core/libraries/kernel/event_queue.h + src/core/libraries/kernel/event_queues.cpp + src/core/libraries/kernel/event_queues.h + src/core/libraries/kernel/file_system.cpp + src/core/libraries/kernel/file_system.h + src/core/libraries/kernel/libkernel.cpp + src/core/libraries/kernel/libkernel.h + src/core/libraries/kernel/memory_management.cpp + src/core/libraries/kernel/memory_management.h + src/core/libraries/kernel/physical_memory.cpp + src/core/libraries/kernel/physical_memory.h + src/core/libraries/kernel/thread_management.cpp + src/core/libraries/kernel/thread_management.h + src/core/libraries/kernel/time_management.cpp + src/core/libraries/kernel/time_management.h ) -set(FILESYSTEM_SOURCES src/core/hle/libraries/libkernel/file_system.cpp - src/core/hle/libraries/libkernel/file_system.h - src/core/file_sys/fs.cpp - src/core/file_sys/fs.h +set(NETWORK_LIBS src/core/libraries/network/http.cpp + src/core/libraries/network/http.h + src/core/libraries/network/net.cpp + src/core/libraries/network/netctl.cpp + src/core/libraries/network/netctl.h + src/core/libraries/network/net.h + src/core/libraries/network/ssl.cpp + src/core/libraries/network/ssl.h ) -set(HOST_SOURCES src/Emulator/Host/controller.cpp - src/Emulator/Host/controller.h +set(SYSTEM_LIBS src/core/libraries/system/commondialog.cpp + src/core/libraries/system/commondialog.h + src/core/libraries/system/msgdialog.cpp + src/core/libraries/system/msgdialog.h + src/core/libraries/system/posix.cpp + src/core/libraries/system/posix.h + src/core/libraries/system/savedata.cpp + src/core/libraries/system/savedatadialog.cpp + src/core/libraries/system/savedatadialog.h + src/core/libraries/system/savedata.h + src/core/libraries/system/sysmodule.cpp + src/core/libraries/system/sysmodule.h + src/core/libraries/system/systemservice.cpp + src/core/libraries/system/systemservice.h + src/core/libraries/system/userservice.cpp + src/core/libraries/system/userservice.h ) -# the above is shared in sdl and qt version (TODO share them all) +set(LIBC_SOURCES src/core/libraries/libc/libc.cpp + src/core/libraries/libc/libc.h + src/core/libraries/libc/printf.h + src/core/libraries/libc/va_ctx.h + src/core/libraries/libc/libc_cxa.cpp + src/core/libraries/libc/libc_cxa.h + src/core/libraries/libc/libc_stdio.cpp + src/core/libraries/libc/libc_stdio.h + src/core/libraries/libc/libc_math.cpp + src/core/libraries/libc/libc_math.h + src/core/libraries/libc/libc_string.cpp + src/core/libraries/libc/libc_string.h + src/core/libraries/libc/libc_stdlib.cpp + src/core/libraries/libc/libc_stdlib.h +) -if(ENABLE_QT_GUI) -qt_add_resources(RESOURCE_FILES src/shadps4.qrc) - set(QT_GUI - src/qt_gui/main_window_ui.h - src/qt_gui/main_window.cpp - src/qt_gui/main_window.h - src/qt_gui/gui_settings.cpp - src/qt_gui/gui_settings.h - src/qt_gui/gui_save.h - src/qt_gui/gui_context_menus.h - src/qt_gui/game_list_utils.h - src/qt_gui/game_info.cpp - src/qt_gui/game_info.h - src/qt_gui/game_list_frame.cpp - src/qt_gui/game_list_frame.h - src/qt_gui/game_grid_frame.cpp - src/qt_gui/game_grid_frame.h - src/qt_gui/game_install_dialog.cpp - src/qt_gui/game_install_dialog.h - src/qt_gui/pkg_viewer.cpp - src/qt_gui/pkg_viewer.h - src/qt_gui/settings.cpp - src/qt_gui/settings.h - src/qt_gui/main_window_themes.cpp - src/qt_gui/main_window_themes.h - src/qt_gui/main.cpp - ${RESOURCE_FILES} - ) -endif() +set(PAD_LIB src/core/libraries/pad/pad.cpp + src/core/libraries/pad/pad.h +) set(COMMON src/common/logging/backend.cpp src/common/logging/backend.h @@ -236,96 +217,120 @@ set(COMMON src/common/logging/backend.cpp src/common/version.h ) -set(CORE src/core/loader.cpp +set(CORE src/core/aerolib/stubs.cpp + src/core/aerolib/stubs.h + src/core/aerolib/aerolib.cpp + src/core/aerolib/aerolib.h + src/core/crypto/crypto.cpp + src/core/crypto/crypto.h + src/core/crypto/keys.h + src/core/file_format/pfs.h + src/core/file_format/pkg.cpp + src/core/file_format/pkg.h + src/core/file_format/pkg_type.cpp + src/core/file_format/pkg_type.h + src/core/file_format/psf.cpp + src/core/file_format/psf.h + src/core/file_sys/fs.cpp + src/core/file_sys/fs.h + src/core/loader.cpp src/core/loader.h + src/core/loader/elf.cpp + src/core/loader/elf.h + src/core/loader/symbols_resolver.h + src/core/loader/symbols_resolver.cpp + src/core/libraries/error_codes.h + src/core/libraries/libs.h + src/core/libraries/libs.cpp + ${AUDIO_LIB} + ${GNM_LIB} + ${KERNEL_LIB} + ${NETWORK_LIBS} + ${SYSTEM_LIBS} + ${LIBC_SOURCES} + ${PAD_LIB} + src/core/linker.cpp + src/core/linker.h + src/core/tls.cpp + src/core/tls.h + src/core/virtual_memory.cpp + src/core/virtual_memory.h ) -set(CRYPTO src/core/crypto/crypto.cpp - src/core/crypto/crypto.h - src/core/crypto/keys.h +set(VIDEO_CORE src/core/PS4/HLE/Graphics/video_out.cpp + src/core/PS4/HLE/Graphics/video_out.h + src/core/PS4/HLE/Graphics/Objects/video_out_ctx.cpp + src/core/PS4/HLE/Graphics/Objects/video_out_ctx.h + src/core/PS4/HLE/Graphics/graphics_ctx.h + src/core/PS4/GPU/gpu_memory.cpp + src/core/PS4/GPU/gpu_memory.h + src/core/PS4/GPU/video_out_buffer.cpp + src/core/PS4/GPU/video_out_buffer.h + src/core/PS4/HLE/Graphics/graphics_render.cpp + src/core/PS4/HLE/Graphics/graphics_render.h + src/core/PS4/GPU/tile_manager.cpp + src/core/PS4/GPU/tile_manager.h + src/vulkan_util.cpp + src/vulkan_util.h ) -set(FILE_FORMAT src/core/file_format/pfs.h - src/core/file_format/pkg.cpp - src/core/file_format/pkg.h - src/core/file_format/pkg_type.cpp - src/core/file_format/pkg_type.h - src/core/file_format/psf.cpp - src/core/file_format/psf.h + +set(INPUT src/input/controller.cpp + src/input/controller.h ) +# the above is shared in sdl and qt version (TODO share them all) + +if(ENABLE_QT_GUI) +qt_add_resources(RESOURCE_FILES src/shadps4.qrc) + set(QT_GUI + src/qt_gui/main_window_ui.h + src/qt_gui/main_window.cpp + src/qt_gui/main_window.h + src/qt_gui/gui_settings.cpp + src/qt_gui/gui_settings.h + src/qt_gui/gui_save.h + src/qt_gui/gui_context_menus.h + src/qt_gui/game_list_utils.h + src/qt_gui/game_info.cpp + src/qt_gui/game_info.h + src/qt_gui/game_list_frame.cpp + src/qt_gui/game_list_frame.h + src/qt_gui/game_grid_frame.cpp + src/qt_gui/game_grid_frame.h + src/qt_gui/game_install_dialog.cpp + src/qt_gui/game_install_dialog.h + src/qt_gui/pkg_viewer.cpp + src/qt_gui/pkg_viewer.h + src/qt_gui/settings.cpp + src/qt_gui/settings.h + src/qt_gui/main_window_themes.cpp + src/qt_gui/main_window_themes.h + src/qt_gui/main.cpp + ${RESOURCE_FILES} + ) +endif() + if(ENABLE_QT_GUI) qt_add_executable(shadps4 + ${AUDIO_CORE} + ${INPUT} ${QT_GUI} ${COMMON} ${CORE} - ${CRYPTO} - ${FILE_FORMAT} + ${VIDEO_CORE} + src/emulator.cpp + src/emulator.h ) else() add_executable(shadps4 ${AUDIO_CORE} - ${LIBC_SOURCES} - ${PAD_SOURCES} - ${FILESYSTEM_SOURCES} - ${HOST_SOURCES} - ${LIBRARIES} - src/main.cpp - src/core/loader/elf.cpp - src/core/loader/elf.h - src/core/virtual_memory.cpp - src/core/virtual_memory.h - src/core/linker.cpp - src/core/linker.h - src/core/aerolib/stubs.cpp - src/core/aerolib/stubs.h - src/core/aerolib/aerolib.cpp - src/core/aerolib/aerolib.h - src/core/hle/kernel/Objects/physical_memory.h - src/core/hle/kernel/Objects/physical_memory.cpp - src/core/PS4/HLE/Graphics/video_out.cpp - src/core/PS4/HLE/Graphics/video_out.h - src/core/hle/kernel/event_queues.cpp - src/core/hle/kernel/event_queues.h - src/core/hle/kernel/cpu_management.cpp - src/core/hle/kernel/cpu_management.h - src/core/loader/symbols_resolver.h - src/core/loader/symbols_resolver.cpp - src/core/hle/libraries/libs.cpp - src/core/hle/libraries/libs.h - src/core/hle/libraries/libkernel/libkernel.cpp - src/core/hle/libraries/libkernel/libkernel.h - src/core/hle/libraries/libscegnmdriver/libscegnmdriver.cpp - src/core/hle/libraries/libscegnmdriver/libscegnmdriver.h - src/core/hle/libraries/libkernel/thread_management.cpp - src/core/hle/libraries/libkernel/thread_management.h - src/core/hle/kernel/memory_management.cpp - src/core/hle/kernel/memory_management.h - src/core/hle/error_codes.h - src/core/PS4/GPU/gpu_memory.cpp - src/core/PS4/GPU/gpu_memory.h - src/emulator.cpp - src/emulator.h - src/core/hle/kernel/Objects/event_queue.h - src/core/hle/kernel/Objects/event_queue.cpp - src/core/PS4/HLE/Graphics/Objects/video_out_ctx.cpp - src/core/PS4/HLE/Graphics/Objects/video_out_ctx.h - src/core/PS4/HLE/Graphics/graphics_ctx.h - src/vulkan_util.cpp - src/vulkan_util.h - src/core/PS4/GPU/video_out_buffer.cpp - src/core/PS4/GPU/video_out_buffer.h - src/core/PS4/HLE/Graphics/graphics_render.cpp - src/core/PS4/HLE/Graphics/graphics_render.h - src/core/PS4/GPU/tile_manager.cpp - src/core/PS4/GPU/tile_manager.h - src/core/hle/libraries/libkernel/time_management.cpp - src/core/hle/libraries/libkernel/time_management.h - src/core/tls.cpp - src/core/tls.h + ${INPUT} ${COMMON} ${CORE} - ${CRYPTO} - ${FILE_FORMAT} + ${VIDEO_CORE} + src/main.cpp + src/emulator.cpp + src/emulator.h ) endif() diff --git a/src/audio_core/sdl_audio.h b/src/audio_core/sdl_audio.h index e6dd903a..4ca7d263 100644 --- a/src/audio_core/sdl_audio.h +++ b/src/audio_core/sdl_audio.h @@ -5,9 +5,8 @@ #include #include -#include -#include "src/common/types.h" +#include "core/libraries/audio/audioout.h" namespace Audio { @@ -39,4 +38,4 @@ private: // personal up to 4 ports , padspk up to 5 ports , aux 1 port }; -} // namespace Audio \ No newline at end of file +} // namespace Audio diff --git a/src/core/PS4/HLE/Graphics/Objects/video_out_ctx.cpp b/src/core/PS4/HLE/Graphics/Objects/video_out_ctx.cpp index 34339649..68f49afe 100644 --- a/src/core/PS4/HLE/Graphics/Objects/video_out_ctx.cpp +++ b/src/core/PS4/HLE/Graphics/Objects/video_out_ctx.cpp @@ -3,7 +3,7 @@ #include "common/debug.h" #include "core/PS4/HLE/Graphics/Objects/video_out_ctx.h" -#include "core/hle/libraries/libkernel/time_management.h" +#include "core/libraries/kernel/time_management.h" namespace HLE::Graphics::Objects { @@ -62,9 +62,8 @@ void VideoOutCtx::Vblank() { if (m_video_out_ctx.isOpened) { m_video_out_ctx.m_mutex.lock(); m_video_out_ctx.m_vblank_status.count++; - m_video_out_ctx.m_vblank_status.processTime = - Core::Libraries::LibKernel::sceKernelGetProcessTime(); - m_video_out_ctx.m_vblank_status.tsc = Core::Libraries::LibKernel::sceKernelReadTsc(); + m_video_out_ctx.m_vblank_status.processTime = Libraries::Kernel::sceKernelGetProcessTime(); + m_video_out_ctx.m_vblank_status.tsc = Libraries::Kernel::sceKernelReadTsc(); m_video_out_ctx.m_mutex.unlock(); } } @@ -91,7 +90,7 @@ bool FlipQueue::submitFlip(VideoConfigInternal* cfg, s32 index, s64 flip_arg) { r.cfg = cfg; r.index = index; r.flip_arg = flip_arg; - r.submit_tsc = Core::Libraries::LibKernel::sceKernelReadTsc(); + r.submit_tsc = Libraries::Kernel::sceKernelReadTsc(); m_requests.push_back(r); @@ -127,7 +126,7 @@ bool FlipQueue::flip(u32 micros) { std::scoped_lock cfg_lock{request->cfg->m_mutex}; for (auto& flip_eq : request->cfg->m_flip_evtEq) { if (flip_eq != nullptr) { - flip_eq->triggerEvent(SCE_VIDEO_OUT_EVENT_FLIP, Core::Kernel::EVFILT_VIDEO_OUT, + flip_eq->triggerEvent(SCE_VIDEO_OUT_EVENT_FLIP, Libraries::Kernel::EVFILT_VIDEO_OUT, reinterpret_cast(request->flip_arg)); } } @@ -137,8 +136,8 @@ bool FlipQueue::flip(u32 micros) { m_done_cond.notify_one(); request->cfg->m_flip_status.count++; - request->cfg->m_flip_status.processTime = Core::Libraries::LibKernel::sceKernelGetProcessTime(); - request->cfg->m_flip_status.tsc = Core::Libraries::LibKernel::sceKernelReadTsc(); + request->cfg->m_flip_status.processTime = Libraries::Kernel::sceKernelGetProcessTime(); + request->cfg->m_flip_status.tsc = Libraries::Kernel::sceKernelReadTsc(); request->cfg->m_flip_status.submitTsc = request->submit_tsc; request->cfg->m_flip_status.flipArg = request->flip_arg; request->cfg->m_flip_status.currentBuffer = request->index; diff --git a/src/core/PS4/HLE/Graphics/Objects/video_out_ctx.h b/src/core/PS4/HLE/Graphics/Objects/video_out_ctx.h index 6e801b35..36a783fd 100644 --- a/src/core/PS4/HLE/Graphics/Objects/video_out_ctx.h +++ b/src/core/PS4/HLE/Graphics/Objects/video_out_ctx.h @@ -27,7 +27,7 @@ struct VideoConfigInternal { bool isOpened = false; SceVideoOutFlipStatus m_flip_status; SceVideoOutVblankStatus m_vblank_status; - std::vector m_flip_evtEq; + std::vector m_flip_evtEq; int m_flip_rate = 0; VideoOutBufferInfo buffers[16]; std::vector buffers_sets; diff --git a/src/core/PS4/HLE/Graphics/video_out.cpp b/src/core/PS4/HLE/Graphics/video_out.cpp index 536c7215..a734ce54 100644 --- a/src/core/PS4/HLE/Graphics/video_out.cpp +++ b/src/core/PS4/HLE/Graphics/video_out.cpp @@ -1,7 +1,6 @@ // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -#include #include #include "Objects/video_out_ctx.h" #include "common/config.h" @@ -12,12 +11,12 @@ #include "core/PS4/GPU/video_out_buffer.h" #include "core/PS4/HLE/Graphics/graphics_render.h" #include "core/PS4/HLE/Graphics/video_out.h" -#include "core/hle/error_codes.h" -#include "core/hle/libraries/libs.h" -#include "core/hle/libraries/libscegnmdriver/libscegnmdriver.h" +#include "core/libraries/error_codes.h" +#include "core/libraries/gnmdriver/gnmdriver.h" +#include "core/libraries/libs.h" #include "core/loader/symbols_resolver.h" #include "emulator.h" -#include "src/core/libraries/libsceuserservice.h" +#include "src/core/libraries/system/userservice.h" namespace HLE::Libs::Graphics::VideoOut { @@ -78,24 +77,24 @@ void PS4_SYSV_ABI sceVideoOutSetBufferAttribute(SceVideoOutBufferAttribute* attr attribute->option = SCE_VIDEO_OUT_BUFFER_ATTRIBUTE_OPTION_NONE; } -static void flip_reset_event_func(Core::Kernel::EqueueEvent* event) { +static void flip_reset_event_func(Libraries::Kernel::EqueueEvent* event) { event->isTriggered = false; event->event.fflags = 0; event->event.data = 0; } -static void flip_trigger_event_func(Core::Kernel::EqueueEvent* event, void* trigger_data) { +static void flip_trigger_event_func(Libraries::Kernel::EqueueEvent* event, void* trigger_data) { event->isTriggered = true; event->event.fflags++; event->event.data = reinterpret_cast(trigger_data); } -static void flip_delete_event_func(Core::Kernel::SceKernelEqueue eq, - Core::Kernel::EqueueEvent* event) { +static void flip_delete_event_func(Libraries::Kernel::SceKernelEqueue eq, + Libraries::Kernel::EqueueEvent* event) { BREAKPOINT(); // TODO } -s32 PS4_SYSV_ABI sceVideoOutAddFlipEvent(Core::Kernel::SceKernelEqueue eq, s32 handle, +s32 PS4_SYSV_ABI sceVideoOutAddFlipEvent(Libraries::Kernel::SceKernelEqueue eq, s32 handle, void* udata) { LOG_INFO(Lib_VideoOut, "handle = {}", handle); @@ -112,10 +111,10 @@ s32 PS4_SYSV_ABI sceVideoOutAddFlipEvent(Core::Kernel::SceKernelEqueue eq, s32 h return SCE_VIDEO_OUT_ERROR_INVALID_EVENT_QUEUE; } - Core::Kernel::EqueueEvent event{}; + Libraries::Kernel::EqueueEvent event{}; event.isTriggered = false; event.event.ident = SCE_VIDEO_OUT_EVENT_FLIP; - event.event.filter = Core::Kernel::EVFILT_VIDEO_OUT; + event.event.filter = Libraries::Kernel::EVFILT_VIDEO_OUT; event.event.udata = udata; event.event.fflags = 0; event.event.data = 0; @@ -280,8 +279,8 @@ s32 PS4_SYSV_ABI sceVideoOutSubmitFlip(s32 handle, s32 bufferIndex, s32 flipMode LOG_ERROR(Lib_VideoOut, "Flip queue is full"); return SCE_VIDEO_OUT_ERROR_FLIP_QUEUE_FULL; } - Core::Libraries::LibSceGnmDriver::sceGnmFlushGarlic(); // hackish should be done that neccesary - // for niko's homebrew + Libraries::GnmDriver::sceGnmFlushGarlic(); // hackish should be done that neccesary + // for niko's homebrew return SCE_OK; } diff --git a/src/core/PS4/HLE/Graphics/video_out.h b/src/core/PS4/HLE/Graphics/video_out.h index 2086f798..5def9e75 100644 --- a/src/core/PS4/HLE/Graphics/video_out.h +++ b/src/core/PS4/HLE/Graphics/video_out.h @@ -4,7 +4,7 @@ #pragma once #include -#include "core/hle/kernel/event_queues.h" +#include "core/libraries/kernel/event_queues.h" namespace Core::Loader { class SymbolsResolver; @@ -115,7 +115,8 @@ void VideoOutVblank(); void PS4_SYSV_ABI sceVideoOutSetBufferAttribute(SceVideoOutBufferAttribute* attribute, u32 pixelFormat, u32 tilingMode, u32 aspectRatio, u32 width, u32 height, u32 pitchInPixel); -s32 PS4_SYSV_ABI sceVideoOutAddFlipEvent(Core::Kernel::SceKernelEqueue eq, s32 handle, void* udata); +s32 PS4_SYSV_ABI sceVideoOutAddFlipEvent(Libraries::Kernel::SceKernelEqueue eq, s32 handle, + void* udata); s32 PS4_SYSV_ABI sceVideoOutRegisterBuffers(s32 handle, s32 startIndex, void* const* addresses, s32 bufferNum, const SceVideoOutBufferAttribute* attribute); diff --git a/src/core/hle/error_codes.h b/src/core/hle/error_codes.h deleted file mode 100644 index b9dd4f64..00000000 --- a/src/core/hle/error_codes.h +++ /dev/null @@ -1,247 +0,0 @@ -// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once - -// posix error codes -constexpr int POSIX_EPERM = 1; -constexpr int POSIX_ENOENT = 2; -constexpr int POSIX_ESRCH = 3; -constexpr int POSIX_EINTR = 4; -constexpr int POSIX_EIO = 5; -constexpr int POSIX_ENXIO = 6; -constexpr int POSIX_E2BIG = 7; -constexpr int POSIX_ENOEXEC = 8; -constexpr int POSIX_EBADF = 9; -constexpr int POSIX_ECHILD = 10; -constexpr int POSIX_EDEADLK = 11; -constexpr int POSIX_ENOMEM = 12; -constexpr int POSIX_EACCES = 13; -constexpr int POSIX_EFAULT = 14; -constexpr int POSIX_ENOTBLK = 15; -constexpr int POSIX_EBUSY = 16; -constexpr int POSIX_EEXIST = 17; -constexpr int POSIX_EXDEV = 18; -constexpr int POSIX_ENODEV = 19; -constexpr int POSIX_ENOTDIR = 20; -constexpr int POSIX_EISDIR = 21; -constexpr int POSIX_EINVAL = 22; -constexpr int POSIX_ENFILE = 23; -constexpr int POSIX_EMFILE = 24; -constexpr int POSIX_ENOTTY = 25; -constexpr int POSIX_ETXTBSY = 26; -constexpr int POSIX_EFBIG = 27; -constexpr int POSIX_ENOSPC = 28; -constexpr int POSIX_ESPIPE = 29; -constexpr int POSIX_EROFS = 30; -constexpr int POSIX_EMLINK = 31; -constexpr int POSIX_EPIPE = 32; -constexpr int POSIX_EDOM = 33; -constexpr int POSIX_ERANGE = 34; -constexpr int POSIX_EAGAIN = 35; -constexpr int POSIX_EWOULDBLOCK = 35; -constexpr int POSIX_EINPROGRESS = 36; -constexpr int POSIX_EALREADY = 37; -constexpr int POSIX_ENOTSOCK = 38; -constexpr int POSIX_EDESTADDRREQ = 39; -constexpr int POSIX_EMSGSIZE = 40; -constexpr int POSIX_EPROTOTYPE = 41; -constexpr int POSIX_ENOPROTOOPT = 42; -constexpr int POSIX_EPROTONOSUPPORT = 43; -constexpr int POSIX_ESOCKTNOSUPPORT = 44; -constexpr int POSIX_EOPNOTSUPP = 45; -constexpr int POSIX_ENOTSUP = 45; -constexpr int POSIX_EPFNOSUPPORT = 46; -constexpr int POSIX_EAFNOSUPPORT = 47; -constexpr int POSIX_EADDRINUSE = 48; -constexpr int POSIX_EADDRNOTAVAIL = 49; -constexpr int POSIX_ENETDOWN = 50; -constexpr int POSIX_ENETUNREACH = 51; -constexpr int POSIX_ENETRESET = 52; -constexpr int POSIX_ECONNABORTED = 53; -constexpr int POSIX_ECONNRESET = 54; -constexpr int POSIX_ENOBUFS = 55; -constexpr int POSIX_EISCONN = 56; -constexpr int POSIX_ENOTCONN = 57; -constexpr int POSIX_ESHUTDOWN = 58; -constexpr int POSIX_ETOOMANYREFS = 59; -constexpr int POSIX_ETIMEDOUT = 60; -constexpr int POSIX_ECONNREFUSED = 61; -constexpr int POSIX_ELOOP = 62; -constexpr int POSIX_ENAMETOOLONG = 63; -constexpr int POSIX_EHOSTDOWN = 64; -constexpr int POSIX_EHOSTUNREACH = 65; -constexpr int POSIX_ENOTEMPTY = 66; -constexpr int POSIX_EPROCLIM = 67; -constexpr int POSIX_EUSERS = 68; -constexpr int POSIX_EDQUOT = 69; -constexpr int POSIX_ESTALE = 70; -constexpr int POSIX_EREMOTE = 71; -constexpr int POSIX_EBADRPC = 72; -constexpr int POSIX_ERPCMISMATCH = 73; -constexpr int POSIX_EPROGUNAVAIL = 74; -constexpr int POSIX_EPROGMISMATCH = 75; -constexpr int POSIX_EPROCUNAVAIL = 76; -constexpr int POSIX_ENOLCK = 77; -constexpr int POSIX_ENOSYS = 78; -constexpr int POSIX_EFTYPE = 79; -constexpr int POSIX_EAUTH = 80; -constexpr int POSIX_ENEEDAUTH = 81; -constexpr int POSIX_EIDRM = 82; -constexpr int POSIX_ENOMSG = 83; -constexpr int POSIX_EOVERFLOW = 84; -constexpr int POSIX_ECANCELED = 85; -constexpr int POSIX_EILSEQ = 86; -constexpr int POSIX_ENOATTR = 87; -constexpr int POSIX_EDOOFUS = 88; -constexpr int POSIX_EBADMSG = 89; -constexpr int POSIX_EMULTIHOP = 90; -constexpr int POSIX_ENOLINK = 91; -constexpr int POSIX_EPROTO = 92; -constexpr int POSIX_ENOTCAPABLE = 93; -constexpr int POSIX_ECAPMODE = 94; -constexpr int POSIX_ENOBLK = 95; -constexpr int POSIX_EICV = 96; -constexpr int POSIX_ENOPLAYGOENT = 97; -constexpr int POSIX_EREVOKE = 98; -constexpr int POSIX_ESDKVERSION = 99; -constexpr int POSIX_ESTART = 100; -constexpr int POSIX_ESTOP = 101; -constexpr int POSIX_EINVALID2MB = 102; -constexpr int POSIX_ELAST = 102; -constexpr int POSIX_EADHOC = 160; -constexpr int POSIX_EINACTIVEDISABLED = 163; -constexpr int POSIX_ENETNODATA = 164; -constexpr int POSIX_ENETDESC = 165; -constexpr int POSIX_ENETDESCTIMEDOUT = 166; -constexpr int POSIX_ENETINTR = 167; -constexpr int POSIX_ERETURN = 205; -constexpr int POSIX_EFPOS = 152; -constexpr int POSIX_ENODATA = 1040; -constexpr int POSIX_ENOSR = 1050; -constexpr int POSIX_ENOSTR = 1051; -constexpr int POSIX_ENOTRECOVERABLE = 1056; -constexpr int POSIX_EOTHER = 1062; -constexpr int POSIX_EOWNERDEAD = 1064; -constexpr int POSIX_ETIME = 1074; - -constexpr int SCE_OK = 0; - -// kernel error codes -constexpr int SCE_KERNEL_ERROR_UNKNOWN = 0x80020000; -constexpr int SCE_KERNEL_ERROR_EPERM = 0x80020001; -constexpr int SCE_KERNEL_ERROR_ENOENT = 0x80020002; -constexpr int SCE_KERNEL_ERROR_ESRCH = 0x80020003; -constexpr int SCE_KERNEL_ERROR_EINTR = 0x80020004; -constexpr int SCE_KERNEL_ERROR_EIO = 0x80020005; -constexpr int SCE_KERNEL_ERROR_ENXIO = 0x80020006; -constexpr int SCE_KERNEL_ERROR_E2BIG = 0x80020007; -constexpr int SCE_KERNEL_ERROR_ENOEXEC = 0x80020008; -constexpr int SCE_KERNEL_ERROR_EBADF = 0x80020009; -constexpr int SCE_KERNEL_ERROR_ECHILD = 0x8002000A; -constexpr int SCE_KERNEL_ERROR_EDEADLK = 0x8002000B; -constexpr int SCE_KERNEL_ERROR_ENOMEM = 0x8002000C; -constexpr int SCE_KERNEL_ERROR_EACCES = 0x8002000D; -constexpr int SCE_KERNEL_ERROR_EFAULT = 0x8002000E; -constexpr int SCE_KERNEL_ERROR_ENOTBLK = 0x8002000F; -constexpr int SCE_KERNEL_ERROR_EBUSY = 0x80020010; -constexpr int SCE_KERNEL_ERROR_EEXIST = 0x80020011; -constexpr int SCE_KERNEL_ERROR_EXDEV = 0x80020012; -constexpr int SCE_KERNEL_ERROR_ENODEV = 0x80020013; -constexpr int SCE_KERNEL_ERROR_ENOTDIR = 0x80020014; -constexpr int SCE_KERNEL_ERROR_EISDIR = 0x80020015; -constexpr int SCE_KERNEL_ERROR_EINVAL = 0x80020016; -constexpr int SCE_KERNEL_ERROR_ENFILE = 0x80020017; -constexpr int SCE_KERNEL_ERROR_EMFILE = 0x80020018; -constexpr int SCE_KERNEL_ERROR_ENOTTY = 0x80020019; -constexpr int SCE_KERNEL_ERROR_ETXTBSY = 0x8002001A; -constexpr int SCE_KERNEL_ERROR_EFBIG = 0x8002001B; -constexpr int SCE_KERNEL_ERROR_ENOSPC = 0x8002001C; -constexpr int SCE_KERNEL_ERROR_ESPIPE = 0x8002001D; -constexpr int SCE_KERNEL_ERROR_EROFS = 0x8002001E; -constexpr int SCE_KERNEL_ERROR_EMLINK = 0x8002001F; -constexpr int SCE_KERNEL_ERROR_EPIPE = 0x80020020; -constexpr int SCE_KERNEL_ERROR_EDOM = 0x80020021; -constexpr int SCE_KERNEL_ERROR_ERANGE = 0x80020022; -constexpr int SCE_KERNEL_ERROR_EAGAIN = 0x80020023; -constexpr int SCE_KERNEL_ERROR_EWOULDBLOCK = 0x80020023; -constexpr int SCE_KERNEL_ERROR_EINPROGRESS = 0x80020024; -constexpr int SCE_KERNEL_ERROR_EALREADY = 0x80020025; -constexpr int SCE_KERNEL_ERROR_ENOTSOCK = 0x80020026; -constexpr int SCE_KERNEL_ERROR_EDESTADDRREQ = 0x80020027; -constexpr int SCE_KERNEL_ERROR_EMSGSIZE = 0x80020028; -constexpr int SCE_KERNEL_ERROR_EPROTOTYPE = 0x80020029; -constexpr int SCE_KERNEL_ERROR_ENOPROTOOPT = 0x8002002A; -constexpr int SCE_KERNEL_ERROR_EPROTONOSUPPORT = 0x8002002B; -constexpr int SCE_KERNEL_ERROR_ESOCKTNOSUPPORT = 0x8002002C; -constexpr int SCE_KERNEL_ERROR_EOPNOTSUPP = 0x8002002D; -constexpr int SCE_KERNEL_ERROR_ENOTSUP = 0x8002002D; -constexpr int SCE_KERNEL_ERROR_EPFNOSUPPORT = 0x8002002E; -constexpr int SCE_KERNEL_ERROR_EAFNOSUPPORT = 0x8002002F; -constexpr int SCE_KERNEL_ERROR_EADDRINUSE = 0x80020030; -constexpr int SCE_KERNEL_ERROR_EADDRNOTAVAIL = 0x80020031; -constexpr int SCE_KERNEL_ERROR_ENETDOWN = 0x80020032; -constexpr int SCE_KERNEL_ERROR_ENETUNREACH = 0x80020033; -constexpr int SCE_KERNEL_ERROR_ENETRESET = 0x80020034; -constexpr int SCE_KERNEL_ERROR_ECONNABORTED = 0x80020035; -constexpr int SCE_KERNEL_ERROR_ECONNRESET = 0x80020036; -constexpr int SCE_KERNEL_ERROR_ENOBUFS = 0x80020037; -constexpr int SCE_KERNEL_ERROR_EISCONN = 0x80020038; -constexpr int SCE_KERNEL_ERROR_ENOTCONN = 0x80020039; -constexpr int SCE_KERNEL_ERROR_ESHUTDOWN = 0x8002003A; -constexpr int SCE_KERNEL_ERROR_ETOOMANYREFS = 0x8002003B; -constexpr int SCE_KERNEL_ERROR_ETIMEDOUT = 0x8002003C; -constexpr int SCE_KERNEL_ERROR_ECONNREFUSED = 0x8002003D; -constexpr int SCE_KERNEL_ERROR_ELOOP = 0x8002003E; -constexpr int SCE_KERNEL_ERROR_ENAMETOOLONG = 0x8002003F; -constexpr int SCE_KERNEL_ERROR_EHOSTDOWN = 0x80020040; -constexpr int SCE_KERNEL_ERROR_EHOSTUNREACH = 0x80020041; -constexpr int SCE_KERNEL_ERROR_ENOTEMPTY = 0x80020042; -constexpr int SCE_KERNEL_ERROR_EPROCLIM = 0x80020043; -constexpr int SCE_KERNEL_ERROR_EUSERS = 0x80020044; -constexpr int SCE_KERNEL_ERROR_EDQUOT = 0x80020045; -constexpr int SCE_KERNEL_ERROR_ESTALE = 0x80020046; -constexpr int SCE_KERNEL_ERROR_EREMOTE = 0x80020047; -constexpr int SCE_KERNEL_ERROR_EBADRPC = 0x80020048; -constexpr int SCE_KERNEL_ERROR_ERPCMISMATCH = 0x80020049; -constexpr int SCE_KERNEL_ERROR_EPROGUNAVAIL = 0x8002004A; -constexpr int SCE_KERNEL_ERROR_EPROGMISMATCH = 0x8002004B; -constexpr int SCE_KERNEL_ERROR_EPROCUNAVAIL = 0x8002004C; -constexpr int SCE_KERNEL_ERROR_ENOLCK = 0x8002004D; -constexpr int SCE_KERNEL_ERROR_ENOSYS = 0x8002004E; -constexpr int SCE_KERNEL_ERROR_EFTYPE = 0x8002004F; -constexpr int SCE_KERNEL_ERROR_EAUTH = 0x80020050; -constexpr int SCE_KERNEL_ERROR_ENEEDAUTH = 0x80020051; -constexpr int SCE_KERNEL_ERROR_EIDRM = 0x80020052; -constexpr int SCE_KERNEL_ERROR_ENOMSG = 0x80020053; -constexpr int SCE_KERNEL_ERROR_EOVERFLOW = 0x80020054; -constexpr int SCE_KERNEL_ERROR_ECANCELED = 0x80020055; -constexpr int SCE_KERNEL_ERROR_EILSEQ = 0x80020056; -constexpr int SCE_KERNEL_ERROR_ENOATTR = 0x80020057; -constexpr int SCE_KERNEL_ERROR_EDOOFUS = 0x80020058; -constexpr int SCE_KERNEL_ERROR_EBADMSG = 0x80020059; -constexpr int SCE_KERNEL_ERROR_EMULTIHOP = 0x8002005A; -constexpr int SCE_KERNEL_ERROR_ENOLINK = 0x8002005B; -constexpr int SCE_KERNEL_ERROR_EPROTO = 0x8002005C; -constexpr int SCE_KERNEL_ERROR_ENOTCAPABLE = 0x8002005D; -constexpr int SCE_KERNEL_ERROR_ECAPMODE = 0x8002005E; -constexpr int SCE_KERNEL_ERROR_ENOBLK = 0x8002005F; -constexpr int SCE_KERNEL_ERROR_EICV = 0x80020060; -constexpr int SCE_KERNEL_ERROR_ENOPLAYGOENT = 0x80020061; -constexpr int SCE_KERNEL_ERROR_EREVOKE = 0x80020062; -constexpr int SCE_KERNEL_ERROR_ESDKVERSION = 0x80020063; -constexpr int SCE_KERNEL_ERROR_ESTART = 0x80020064; -constexpr int SCE_KERNEL_ERROR_ESTOP = 0x80020065; - -// videoOut -constexpr int SCE_VIDEO_OUT_ERROR_INVALID_VALUE = 0x80290001; // invalid argument -constexpr int SCE_VIDEO_OUT_ERROR_INVALID_ADDRESS = 0x80290002; // invalid addresses -constexpr int SCE_VIDEO_OUT_ERROR_INVALID_TILING_MODE = 0x80290007; // invalid tiling mode -constexpr int SCE_VIDEO_OUT_ERROR_INVALID_ASPECT_RATIO = 0x80290008; // invalid aspect ration -constexpr int SCE_VIDEO_OUT_ERROR_RESOURCE_BUSY = 0x80290009; // already opened -constexpr int SCE_VIDEO_OUT_ERROR_INVALID_INDEX = 0x8029000A; // invalid buffer index -constexpr int SCE_VIDEO_OUT_ERROR_INVALID_HANDLE = 0x8029000B; // invalid handle -constexpr int SCE_VIDEO_OUT_ERROR_INVALID_EVENT_QUEUE = 0x8029000C; // Invalid event queue -constexpr int SCE_VIDEO_OUT_ERROR_SLOT_OCCUPIED = 0x80290010; // slot already used -constexpr int SCE_VIDEO_OUT_ERROR_FLIP_QUEUE_FULL = 0x80290012; // flip queue is full -constexpr int SCE_VIDEO_OUT_ERROR_INVALID_OPTION = 0x8029001A; // Invalid buffer attribute option diff --git a/src/core/hle/libraries/libs.cpp b/src/core/hle/libraries/libs.cpp deleted file mode 100644 index c06d634e..00000000 --- a/src/core/hle/libraries/libs.cpp +++ /dev/null @@ -1,56 +0,0 @@ -// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project -// SPDX-License-Identifier: GPL-2.0-or-later - -#include -#include "core/PS4/HLE/Graphics/video_out.h" -#include "core/hle/libraries/libc/libc.h" -#include "core/hle/libraries/libkernel/libkernel.h" -#include "core/hle/libraries/libpad/pad.h" -#include "core/hle/libraries/libs.h" -#include "core/hle/libraries/libscegnmdriver/libscegnmdriver.h" -#include "src/core/libraries/libkernel.h" -#include "src/core/libraries/libsceaudioin.h" -#include "src/core/libraries/libsceaudioout.h" -#include "src/core/libraries/libscecommondialog.h" -#include "src/core/libraries/libscehttp.h" -#include "src/core/libraries/libscemsgdialog.h" -#include "src/core/libraries/libscenet.h" -#include "src/core/libraries/libscenetctl.h" -#include "src/core/libraries/libsceposix.h" -#include "src/core/libraries/libscesavedata.h" -#include "src/core/libraries/libscesavedatadialog.h" -#include "src/core/libraries/libscessl.h" -#include "src/core/libraries/libscesysmodule.h" -#include "src/core/libraries/libscesystemservice.h" -#include "src/core/libraries/libsceuserservice.h" - -namespace OldLibraries { - -void InitHLELibs(Core::Loader::SymbolsResolver* sym) { - Core::Libraries::LibKernel::LibKernel_Register(sym); - HLE::Libs::Graphics::VideoOut::videoOutRegisterLib(sym); - Core::Libraries::LibSceGnmDriver::LibSceGnmDriver_Register(sym); - OldLibraries::LibPad::padSymbolsRegister(sym); - if (!Config::isLleLibc()) { - Core::Libraries::LibC::libcSymbolsRegister(sym); - } - - // new libraries folder from autogen - Libraries::UserService::RegisterlibSceUserService(sym); - Libraries::SystemService::RegisterlibSceSystemService(sym); - Libraries::CommonDialog::RegisterlibSceCommonDialog(sym); - Libraries::MsgDialog::RegisterlibSceMsgDialog(sym); - Libraries::AudioOut::RegisterlibSceAudioOut(sym); - Libraries::Http::RegisterlibSceHttp(sym); - Libraries::Net::RegisterlibSceNet(sym); - Libraries::NetCtl::RegisterlibSceNetCtl(sym); - Libraries::SaveData::RegisterlibSceSaveData(sym); - Libraries::Ssl::RegisterlibSceSsl(sym); - Libraries::SysModule::RegisterlibSceSysmodule(sym); - Libraries::Kernel::Registerlibkernel(sym); - Libraries::Posix::Registerlibsceposix(sym); - Libraries::AudioIn::RegisterlibSceAudioIn(sym); - Libraries::SaveDataDialog::RegisterlibSceSaveDataDialog(sym); -} - -} // namespace OldLibraries diff --git a/src/core/hle/libraries/libscegnmdriver/libscegnmdriver.cpp b/src/core/hle/libraries/libscegnmdriver/libscegnmdriver.cpp deleted file mode 100644 index d4afca15..00000000 --- a/src/core/hle/libraries/libscegnmdriver/libscegnmdriver.cpp +++ /dev/null @@ -1,68 +0,0 @@ -// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project -// SPDX-License-Identifier: GPL-2.0-or-later - -#include "common/logging/log.h" -#include "core/PS4/GPU/gpu_memory.h" -#include "core/hle/libraries/libs.h" -#include "core/hle/libraries/libscegnmdriver/libscegnmdriver.h" -#include "emulator.h" - -namespace Core::Libraries::LibSceGnmDriver { - -int32_t PS4_SYSV_ABI sceGnmSubmitDone() { - LOG_WARNING(Lib_GnmDriver, "(STUBBED) called"); - return 0; -} - -void PS4_SYSV_ABI sceGnmFlushGarlic() { - LOG_WARNING(Lib_GnmDriver, "(STUBBED) called"); - GPU::flushGarlic(Emu::getGraphicCtx()); -} - -s32 PS4_SYSV_ABI sceGnmDrawIndex(u32* cmd, u64 size, u32 index_count, const void* index_addr, - u32 flags, u32 type) { - LOG_INFO(Lib_GnmDriver, - "(STUBBED) called cmd_buffer = 0x{:x} size = {} index_count = {} index_addr = 0x{:x} " - "flags = 0x{:x} type = {}", - reinterpret_cast(cmd), size, index_count, - reinterpret_cast(index_addr), flags, type); - return 0; -} - -int PS4_SYSV_ABI sceGnmSetVsShader(u32* cmd, u64 size, const u32* vs_regs, u32 shader_modifier) { - LOG_INFO(Lib_GnmDriver, - "(STUBBED) called cmd_buffer = 0x{:x} size = {} shader_modifier = {} vs_reg0 = " - "0x{:x} vs_reg1 = 0x{:x} vs_reg2 = 0x{:x} vs_reg3 = 0x{:x} vs_reg4 = 0x{:x} vs_reg5 = " - "0x{:x} vs_reg6 = 0x{:x}", - reinterpret_cast(cmd), size, shader_modifier, vs_regs[0], vs_regs[1], - vs_regs[2], vs_regs[3], vs_regs[4], vs_regs[5], vs_regs[6]); - return 0; -} - -int PS4_SYSV_ABI sceGnmUpdateVsShader(u32* cmd, u64 size, const u32* vs_regs, u32 shader_modifier) { - LOG_INFO(Lib_GnmDriver, - "(STUBBED) called cmd_buffer = 0x{:x} size = {} shader_modifier = {} vs_reg0 = " - "0x{:x} vs_reg1 = 0x{:x} vs_reg2 = 0x{:x} vs_reg3 = 0x{:x} vs_reg4 = 0x{:x} vs_reg5 = " - "0x{:x} vs_reg6 = 0x{:x}", - reinterpret_cast(cmd), size, shader_modifier, vs_regs[0], vs_regs[1], - vs_regs[2], vs_regs[3], vs_regs[4], vs_regs[5], vs_regs[6]); - return 0; -} - -u32 PS4_SYSV_ABI sceGnmDrawInitDefaultHardwareState350(u32* cmd, u64 size) { - LOG_INFO(Lib_GnmDriver, "(STUBBED) called cmd_buffer = 0x{:x} size = {}", - reinterpret_cast(cmd), size); - return 0; -} - -void LibSceGnmDriver_Register(Loader::SymbolsResolver* sym) { - LIB_FUNCTION("yvZ73uQUqrk", "libSceGnmDriver", 1, "libSceGnmDriver", 1, 1, sceGnmSubmitDone); - LIB_FUNCTION("iBt3Oe00Kvc", "libSceGnmDriver", 1, "libSceGnmDriver", 1, 1, sceGnmFlushGarlic); - LIB_FUNCTION("HlTPoZ-oY7Y", "libSceGnmDriver", 1, "libSceGnmDriver", 1, 1, sceGnmDrawIndex); - LIB_FUNCTION("gAhCn6UiU4Y", "libSceGnmDriver", 1, "libSceGnmDriver", 1, 1, sceGnmSetVsShader); - LIB_FUNCTION("V31V01UiScY", "libSceGnmDriver", 1, "libSceGnmDriver", 1, 1, - sceGnmUpdateVsShader); - LIB_FUNCTION("yb2cRhagD1I", "libSceGnmDriver", 1, "libSceGnmDriver", 1, 1, - sceGnmDrawInitDefaultHardwareState350); -} -}; // namespace Core::Libraries::LibSceGnmDriver diff --git a/src/core/hle/libraries/libscegnmdriver/libscegnmdriver.h b/src/core/hle/libraries/libscegnmdriver/libscegnmdriver.h deleted file mode 100644 index 6768bb44..00000000 --- a/src/core/hle/libraries/libscegnmdriver/libscegnmdriver.h +++ /dev/null @@ -1,19 +0,0 @@ -// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once - -#include "common/types.h" - -namespace Core::Loader { -class SymbolsResolver; -} - -namespace Core::Libraries::LibSceGnmDriver { - -int32_t PS4_SYSV_ABI sceGnmSubmitDone(); -void PS4_SYSV_ABI sceGnmFlushGarlic(); - -void LibSceGnmDriver_Register(Loader::SymbolsResolver* sym); - -}; // namespace Core::Libraries::LibSceGnmDriver diff --git a/src/core/libraries/libsceaudioin.cpp b/src/core/libraries/audio/audioin.cpp similarity index 98% rename from src/core/libraries/libsceaudioin.cpp rename to src/core/libraries/audio/audioin.cpp index 27121466..0a248974 100644 --- a/src/core/libraries/libsceaudioin.cpp +++ b/src/core/libraries/audio/audioin.cpp @@ -1,10 +1,10 @@ // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -// Generated By moduleGenerator #include "common/logging/log.h" -#include "error_codes.h" -#include "libsceaudioin.h" +#include "core/libraries/audio/audioin.h" +#include "core/libraries/error_codes.h" +#include "core/libraries/libs.h" namespace Libraries::AudioIn { @@ -277,4 +277,4 @@ void RegisterlibSceAudioIn(Core::Loader::SymbolsResolver* sym) { LIB_FUNCTION("4kHw99LUG3A", "libSceAudioIn", 1, "libSceAudioIn", 1, 1, sceAudioInVmicWrite); }; -} // namespace Libraries::AudioIn \ No newline at end of file +} // namespace Libraries::AudioIn diff --git a/src/core/libraries/libsceaudioin.h b/src/core/libraries/audio/audioin.h similarity index 94% rename from src/core/libraries/libsceaudioin.h rename to src/core/libraries/audio/audioin.h index 60ac54d2..28162d46 100644 --- a/src/core/libraries/libsceaudioin.h +++ b/src/core/libraries/audio/audioin.h @@ -3,7 +3,11 @@ #pragma once -#include "library_common.h" +#include "common/types.h" + +namespace Core::Loader { +class SymbolsResolver; +} namespace Libraries::AudioIn { @@ -51,4 +55,4 @@ int PS4_SYSV_ABI sceAudioInVmicDestroy(); int PS4_SYSV_ABI sceAudioInVmicWrite(); void RegisterlibSceAudioIn(Core::Loader::SymbolsResolver* sym); -} // namespace Libraries::AudioIn \ No newline at end of file +} // namespace Libraries::AudioIn diff --git a/src/core/libraries/libsceaudioout.cpp b/src/core/libraries/audio/audioout.cpp similarity index 99% rename from src/core/libraries/libsceaudioout.cpp rename to src/core/libraries/audio/audioout.cpp index 59463a67..993970c6 100644 --- a/src/core/libraries/libsceaudioout.cpp +++ b/src/core/libraries/audio/audioout.cpp @@ -1,13 +1,13 @@ // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -// Generated By moduleGenerator -#include +#include #include +#include "audio_core/sdl_audio.h" #include "common/logging/log.h" -#include "error_codes.h" -#include "libsceaudioout.h" -#include "src/audio_core/sdl_audio.h" +#include "core/libraries/audio/audioout.h" +#include "core/libraries/error_codes.h" +#include "core/libraries/libs.h" namespace Libraries::AudioOut { @@ -575,4 +575,4 @@ void RegisterlibSceAudioOut(Core::Loader::SymbolsResolver* sym) { sceAudioOutSetSystemDebugState); }; -} // namespace Libraries::AudioOut \ No newline at end of file +} // namespace Libraries::AudioOut diff --git a/src/core/libraries/libsceaudioout.h b/src/core/libraries/audio/audioout.h similarity index 98% rename from src/core/libraries/libsceaudioout.h rename to src/core/libraries/audio/audioout.h index c57dc8bd..3b2c73df 100644 --- a/src/core/libraries/libsceaudioout.h +++ b/src/core/libraries/audio/audioout.h @@ -3,8 +3,7 @@ #pragma once -#include "library_common.h" -#include "libsceuserservice.h" +#include "core/libraries/system/userservice.h" namespace Libraries::AudioOut { @@ -110,4 +109,4 @@ int PS4_SYSV_ABI sceAudioOutSparkControlSetEqCoef(); int PS4_SYSV_ABI sceAudioOutSetSystemDebugState(); void RegisterlibSceAudioOut(Core::Loader::SymbolsResolver* sym); -} // namespace Libraries::AudioOut \ No newline at end of file +} // namespace Libraries::AudioOut diff --git a/src/core/libraries/error_codes.h b/src/core/libraries/error_codes.h index cc92046c..42731de2 100644 --- a/src/core/libraries/error_codes.h +++ b/src/core/libraries/error_codes.h @@ -3,6 +3,249 @@ #pragma once +// posix error codes +constexpr int POSIX_EPERM = 1; +constexpr int POSIX_ENOENT = 2; +constexpr int POSIX_ESRCH = 3; +constexpr int POSIX_EINTR = 4; +constexpr int POSIX_EIO = 5; +constexpr int POSIX_ENXIO = 6; +constexpr int POSIX_E2BIG = 7; +constexpr int POSIX_ENOEXEC = 8; +constexpr int POSIX_EBADF = 9; +constexpr int POSIX_ECHILD = 10; +constexpr int POSIX_EDEADLK = 11; +constexpr int POSIX_ENOMEM = 12; +constexpr int POSIX_EACCES = 13; +constexpr int POSIX_EFAULT = 14; +constexpr int POSIX_ENOTBLK = 15; +constexpr int POSIX_EBUSY = 16; +constexpr int POSIX_EEXIST = 17; +constexpr int POSIX_EXDEV = 18; +constexpr int POSIX_ENODEV = 19; +constexpr int POSIX_ENOTDIR = 20; +constexpr int POSIX_EISDIR = 21; +constexpr int POSIX_EINVAL = 22; +constexpr int POSIX_ENFILE = 23; +constexpr int POSIX_EMFILE = 24; +constexpr int POSIX_ENOTTY = 25; +constexpr int POSIX_ETXTBSY = 26; +constexpr int POSIX_EFBIG = 27; +constexpr int POSIX_ENOSPC = 28; +constexpr int POSIX_ESPIPE = 29; +constexpr int POSIX_EROFS = 30; +constexpr int POSIX_EMLINK = 31; +constexpr int POSIX_EPIPE = 32; +constexpr int POSIX_EDOM = 33; +constexpr int POSIX_ERANGE = 34; +constexpr int POSIX_EAGAIN = 35; +constexpr int POSIX_EWOULDBLOCK = 35; +constexpr int POSIX_EINPROGRESS = 36; +constexpr int POSIX_EALREADY = 37; +constexpr int POSIX_ENOTSOCK = 38; +constexpr int POSIX_EDESTADDRREQ = 39; +constexpr int POSIX_EMSGSIZE = 40; +constexpr int POSIX_EPROTOTYPE = 41; +constexpr int POSIX_ENOPROTOOPT = 42; +constexpr int POSIX_EPROTONOSUPPORT = 43; +constexpr int POSIX_ESOCKTNOSUPPORT = 44; +constexpr int POSIX_EOPNOTSUPP = 45; +constexpr int POSIX_ENOTSUP = 45; +constexpr int POSIX_EPFNOSUPPORT = 46; +constexpr int POSIX_EAFNOSUPPORT = 47; +constexpr int POSIX_EADDRINUSE = 48; +constexpr int POSIX_EADDRNOTAVAIL = 49; +constexpr int POSIX_ENETDOWN = 50; +constexpr int POSIX_ENETUNREACH = 51; +constexpr int POSIX_ENETRESET = 52; +constexpr int POSIX_ECONNABORTED = 53; +constexpr int POSIX_ECONNRESET = 54; +constexpr int POSIX_ENOBUFS = 55; +constexpr int POSIX_EISCONN = 56; +constexpr int POSIX_ENOTCONN = 57; +constexpr int POSIX_ESHUTDOWN = 58; +constexpr int POSIX_ETOOMANYREFS = 59; +constexpr int POSIX_ETIMEDOUT = 60; +constexpr int POSIX_ECONNREFUSED = 61; +constexpr int POSIX_ELOOP = 62; +constexpr int POSIX_ENAMETOOLONG = 63; +constexpr int POSIX_EHOSTDOWN = 64; +constexpr int POSIX_EHOSTUNREACH = 65; +constexpr int POSIX_ENOTEMPTY = 66; +constexpr int POSIX_EPROCLIM = 67; +constexpr int POSIX_EUSERS = 68; +constexpr int POSIX_EDQUOT = 69; +constexpr int POSIX_ESTALE = 70; +constexpr int POSIX_EREMOTE = 71; +constexpr int POSIX_EBADRPC = 72; +constexpr int POSIX_ERPCMISMATCH = 73; +constexpr int POSIX_EPROGUNAVAIL = 74; +constexpr int POSIX_EPROGMISMATCH = 75; +constexpr int POSIX_EPROCUNAVAIL = 76; +constexpr int POSIX_ENOLCK = 77; +constexpr int POSIX_ENOSYS = 78; +constexpr int POSIX_EFTYPE = 79; +constexpr int POSIX_EAUTH = 80; +constexpr int POSIX_ENEEDAUTH = 81; +constexpr int POSIX_EIDRM = 82; +constexpr int POSIX_ENOMSG = 83; +constexpr int POSIX_EOVERFLOW = 84; +constexpr int POSIX_ECANCELED = 85; +constexpr int POSIX_EILSEQ = 86; +constexpr int POSIX_ENOATTR = 87; +constexpr int POSIX_EDOOFUS = 88; +constexpr int POSIX_EBADMSG = 89; +constexpr int POSIX_EMULTIHOP = 90; +constexpr int POSIX_ENOLINK = 91; +constexpr int POSIX_EPROTO = 92; +constexpr int POSIX_ENOTCAPABLE = 93; +constexpr int POSIX_ECAPMODE = 94; +constexpr int POSIX_ENOBLK = 95; +constexpr int POSIX_EICV = 96; +constexpr int POSIX_ENOPLAYGOENT = 97; +constexpr int POSIX_EREVOKE = 98; +constexpr int POSIX_ESDKVERSION = 99; +constexpr int POSIX_ESTART = 100; +constexpr int POSIX_ESTOP = 101; +constexpr int POSIX_EINVALID2MB = 102; +constexpr int POSIX_ELAST = 102; +constexpr int POSIX_EADHOC = 160; +constexpr int POSIX_EINACTIVEDISABLED = 163; +constexpr int POSIX_ENETNODATA = 164; +constexpr int POSIX_ENETDESC = 165; +constexpr int POSIX_ENETDESCTIMEDOUT = 166; +constexpr int POSIX_ENETINTR = 167; +constexpr int POSIX_ERETURN = 205; +constexpr int POSIX_EFPOS = 152; +constexpr int POSIX_ENODATA = 1040; +constexpr int POSIX_ENOSR = 1050; +constexpr int POSIX_ENOSTR = 1051; +constexpr int POSIX_ENOTRECOVERABLE = 1056; +constexpr int POSIX_EOTHER = 1062; +constexpr int POSIX_EOWNERDEAD = 1064; +constexpr int POSIX_ETIME = 1074; + +constexpr int SCE_OK = 0; + +// kernel error codes +constexpr int SCE_KERNEL_ERROR_UNKNOWN = 0x80020000; +constexpr int SCE_KERNEL_ERROR_EPERM = 0x80020001; +constexpr int SCE_KERNEL_ERROR_ENOENT = 0x80020002; +constexpr int SCE_KERNEL_ERROR_ESRCH = 0x80020003; +constexpr int SCE_KERNEL_ERROR_EINTR = 0x80020004; +constexpr int SCE_KERNEL_ERROR_EIO = 0x80020005; +constexpr int SCE_KERNEL_ERROR_ENXIO = 0x80020006; +constexpr int SCE_KERNEL_ERROR_E2BIG = 0x80020007; +constexpr int SCE_KERNEL_ERROR_ENOEXEC = 0x80020008; +constexpr int SCE_KERNEL_ERROR_EBADF = 0x80020009; +constexpr int SCE_KERNEL_ERROR_ECHILD = 0x8002000A; +constexpr int SCE_KERNEL_ERROR_EDEADLK = 0x8002000B; +constexpr int SCE_KERNEL_ERROR_ENOMEM = 0x8002000C; +constexpr int SCE_KERNEL_ERROR_EACCES = 0x8002000D; +constexpr int SCE_KERNEL_ERROR_EFAULT = 0x8002000E; +constexpr int SCE_KERNEL_ERROR_ENOTBLK = 0x8002000F; +constexpr int SCE_KERNEL_ERROR_EBUSY = 0x80020010; +constexpr int SCE_KERNEL_ERROR_EEXIST = 0x80020011; +constexpr int SCE_KERNEL_ERROR_EXDEV = 0x80020012; +constexpr int SCE_KERNEL_ERROR_ENODEV = 0x80020013; +constexpr int SCE_KERNEL_ERROR_ENOTDIR = 0x80020014; +constexpr int SCE_KERNEL_ERROR_EISDIR = 0x80020015; +constexpr int SCE_KERNEL_ERROR_EINVAL = 0x80020016; +constexpr int SCE_KERNEL_ERROR_ENFILE = 0x80020017; +constexpr int SCE_KERNEL_ERROR_EMFILE = 0x80020018; +constexpr int SCE_KERNEL_ERROR_ENOTTY = 0x80020019; +constexpr int SCE_KERNEL_ERROR_ETXTBSY = 0x8002001A; +constexpr int SCE_KERNEL_ERROR_EFBIG = 0x8002001B; +constexpr int SCE_KERNEL_ERROR_ENOSPC = 0x8002001C; +constexpr int SCE_KERNEL_ERROR_ESPIPE = 0x8002001D; +constexpr int SCE_KERNEL_ERROR_EROFS = 0x8002001E; +constexpr int SCE_KERNEL_ERROR_EMLINK = 0x8002001F; +constexpr int SCE_KERNEL_ERROR_EPIPE = 0x80020020; +constexpr int SCE_KERNEL_ERROR_EDOM = 0x80020021; +constexpr int SCE_KERNEL_ERROR_ERANGE = 0x80020022; +constexpr int SCE_KERNEL_ERROR_EAGAIN = 0x80020023; +constexpr int SCE_KERNEL_ERROR_EWOULDBLOCK = 0x80020023; +constexpr int SCE_KERNEL_ERROR_EINPROGRESS = 0x80020024; +constexpr int SCE_KERNEL_ERROR_EALREADY = 0x80020025; +constexpr int SCE_KERNEL_ERROR_ENOTSOCK = 0x80020026; +constexpr int SCE_KERNEL_ERROR_EDESTADDRREQ = 0x80020027; +constexpr int SCE_KERNEL_ERROR_EMSGSIZE = 0x80020028; +constexpr int SCE_KERNEL_ERROR_EPROTOTYPE = 0x80020029; +constexpr int SCE_KERNEL_ERROR_ENOPROTOOPT = 0x8002002A; +constexpr int SCE_KERNEL_ERROR_EPROTONOSUPPORT = 0x8002002B; +constexpr int SCE_KERNEL_ERROR_ESOCKTNOSUPPORT = 0x8002002C; +constexpr int SCE_KERNEL_ERROR_EOPNOTSUPP = 0x8002002D; +constexpr int SCE_KERNEL_ERROR_ENOTSUP = 0x8002002D; +constexpr int SCE_KERNEL_ERROR_EPFNOSUPPORT = 0x8002002E; +constexpr int SCE_KERNEL_ERROR_EAFNOSUPPORT = 0x8002002F; +constexpr int SCE_KERNEL_ERROR_EADDRINUSE = 0x80020030; +constexpr int SCE_KERNEL_ERROR_EADDRNOTAVAIL = 0x80020031; +constexpr int SCE_KERNEL_ERROR_ENETDOWN = 0x80020032; +constexpr int SCE_KERNEL_ERROR_ENETUNREACH = 0x80020033; +constexpr int SCE_KERNEL_ERROR_ENETRESET = 0x80020034; +constexpr int SCE_KERNEL_ERROR_ECONNABORTED = 0x80020035; +constexpr int SCE_KERNEL_ERROR_ECONNRESET = 0x80020036; +constexpr int SCE_KERNEL_ERROR_ENOBUFS = 0x80020037; +constexpr int SCE_KERNEL_ERROR_EISCONN = 0x80020038; +constexpr int SCE_KERNEL_ERROR_ENOTCONN = 0x80020039; +constexpr int SCE_KERNEL_ERROR_ESHUTDOWN = 0x8002003A; +constexpr int SCE_KERNEL_ERROR_ETOOMANYREFS = 0x8002003B; +constexpr int SCE_KERNEL_ERROR_ETIMEDOUT = 0x8002003C; +constexpr int SCE_KERNEL_ERROR_ECONNREFUSED = 0x8002003D; +constexpr int SCE_KERNEL_ERROR_ELOOP = 0x8002003E; +constexpr int SCE_KERNEL_ERROR_ENAMETOOLONG = 0x8002003F; +constexpr int SCE_KERNEL_ERROR_EHOSTDOWN = 0x80020040; +constexpr int SCE_KERNEL_ERROR_EHOSTUNREACH = 0x80020041; +constexpr int SCE_KERNEL_ERROR_ENOTEMPTY = 0x80020042; +constexpr int SCE_KERNEL_ERROR_EPROCLIM = 0x80020043; +constexpr int SCE_KERNEL_ERROR_EUSERS = 0x80020044; +constexpr int SCE_KERNEL_ERROR_EDQUOT = 0x80020045; +constexpr int SCE_KERNEL_ERROR_ESTALE = 0x80020046; +constexpr int SCE_KERNEL_ERROR_EREMOTE = 0x80020047; +constexpr int SCE_KERNEL_ERROR_EBADRPC = 0x80020048; +constexpr int SCE_KERNEL_ERROR_ERPCMISMATCH = 0x80020049; +constexpr int SCE_KERNEL_ERROR_EPROGUNAVAIL = 0x8002004A; +constexpr int SCE_KERNEL_ERROR_EPROGMISMATCH = 0x8002004B; +constexpr int SCE_KERNEL_ERROR_EPROCUNAVAIL = 0x8002004C; +constexpr int SCE_KERNEL_ERROR_ENOLCK = 0x8002004D; +constexpr int SCE_KERNEL_ERROR_ENOSYS = 0x8002004E; +constexpr int SCE_KERNEL_ERROR_EFTYPE = 0x8002004F; +constexpr int SCE_KERNEL_ERROR_EAUTH = 0x80020050; +constexpr int SCE_KERNEL_ERROR_ENEEDAUTH = 0x80020051; +constexpr int SCE_KERNEL_ERROR_EIDRM = 0x80020052; +constexpr int SCE_KERNEL_ERROR_ENOMSG = 0x80020053; +constexpr int SCE_KERNEL_ERROR_EOVERFLOW = 0x80020054; +constexpr int SCE_KERNEL_ERROR_ECANCELED = 0x80020055; +constexpr int SCE_KERNEL_ERROR_EILSEQ = 0x80020056; +constexpr int SCE_KERNEL_ERROR_ENOATTR = 0x80020057; +constexpr int SCE_KERNEL_ERROR_EDOOFUS = 0x80020058; +constexpr int SCE_KERNEL_ERROR_EBADMSG = 0x80020059; +constexpr int SCE_KERNEL_ERROR_EMULTIHOP = 0x8002005A; +constexpr int SCE_KERNEL_ERROR_ENOLINK = 0x8002005B; +constexpr int SCE_KERNEL_ERROR_EPROTO = 0x8002005C; +constexpr int SCE_KERNEL_ERROR_ENOTCAPABLE = 0x8002005D; +constexpr int SCE_KERNEL_ERROR_ECAPMODE = 0x8002005E; +constexpr int SCE_KERNEL_ERROR_ENOBLK = 0x8002005F; +constexpr int SCE_KERNEL_ERROR_EICV = 0x80020060; +constexpr int SCE_KERNEL_ERROR_ENOPLAYGOENT = 0x80020061; +constexpr int SCE_KERNEL_ERROR_EREVOKE = 0x80020062; +constexpr int SCE_KERNEL_ERROR_ESDKVERSION = 0x80020063; +constexpr int SCE_KERNEL_ERROR_ESTART = 0x80020064; +constexpr int SCE_KERNEL_ERROR_ESTOP = 0x80020065; + +// videoOut +constexpr int SCE_VIDEO_OUT_ERROR_INVALID_VALUE = 0x80290001; // invalid argument +constexpr int SCE_VIDEO_OUT_ERROR_INVALID_ADDRESS = 0x80290002; // invalid addresses +constexpr int SCE_VIDEO_OUT_ERROR_INVALID_TILING_MODE = 0x80290007; // invalid tiling mode +constexpr int SCE_VIDEO_OUT_ERROR_INVALID_ASPECT_RATIO = 0x80290008; // invalid aspect ration +constexpr int SCE_VIDEO_OUT_ERROR_RESOURCE_BUSY = 0x80290009; // already opened +constexpr int SCE_VIDEO_OUT_ERROR_INVALID_INDEX = 0x8029000A; // invalid buffer index +constexpr int SCE_VIDEO_OUT_ERROR_INVALID_HANDLE = 0x8029000B; // invalid handle +constexpr int SCE_VIDEO_OUT_ERROR_INVALID_EVENT_QUEUE = 0x8029000C; // Invalid event queue +constexpr int SCE_VIDEO_OUT_ERROR_SLOT_OCCUPIED = 0x80290010; // slot already used +constexpr int SCE_VIDEO_OUT_ERROR_FLIP_QUEUE_FULL = 0x80290012; // flip queue is full +constexpr int SCE_VIDEO_OUT_ERROR_INVALID_OPTION = 0x8029001A; // Invalid buffer attribute option + // Generic constexpr int ORBIS_OK = 0x00000000; constexpr int ORBIS_FAIL = 0xFFFFFFFF; diff --git a/src/core/libraries/libscegnmdriver.cpp b/src/core/libraries/gnmdriver/gnmdriver.cpp similarity index 96% rename from src/core/libraries/libscegnmdriver.cpp rename to src/core/libraries/gnmdriver/gnmdriver.cpp index 3cb81292..24f84025 100644 --- a/src/core/libraries/libscegnmdriver.cpp +++ b/src/core/libraries/gnmdriver/gnmdriver.cpp @@ -1,10 +1,12 @@ // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -// Generated By moduleGenerator #include "common/logging/log.h" -#include "error_codes.h" -#include "libscegnmdriver.h" +#include "core/PS4/GPU/gpu_memory.h" +#include "core/libraries/error_codes.h" +#include "core/libraries/gnmdriver/gnmdriver.h" +#include "core/libraries/libs.h" +#include "emulator.h" namespace Libraries::GnmDriver { @@ -133,9 +135,14 @@ int PS4_SYSV_ABI sceGnmDispatchInitDefaultHardwareState() { return ORBIS_OK; } -int PS4_SYSV_ABI sceGnmDrawIndex() { - LOG_ERROR(Lib_GnmDriver, "(STUBBED) called"); - return ORBIS_OK; +s32 PS4_SYSV_ABI sceGnmDrawIndex(u32* cmd, u64 size, u32 index_count, const void* index_addr, + u32 flags, u32 type) { + LOG_INFO(Lib_GnmDriver, + "(STUBBED) called cmd_buffer = 0x{:x} size = {} index_count = {} index_addr = 0x{:x} " + "flags = 0x{:x} type = {}", + reinterpret_cast(cmd), size, index_count, + reinterpret_cast(index_addr), flags, type); + return 0; } int PS4_SYSV_ABI sceGnmDrawIndexAuto() { @@ -198,9 +205,10 @@ int PS4_SYSV_ABI sceGnmDrawInitDefaultHardwareState200() { return ORBIS_OK; } -int PS4_SYSV_ABI sceGnmDrawInitDefaultHardwareState350() { - LOG_ERROR(Lib_GnmDriver, "(STUBBED) called"); - return ORBIS_OK; +int PS4_SYSV_ABI sceGnmDrawInitDefaultHardwareState350(u32* cmd, u64 size) { + LOG_INFO(Lib_GnmDriver, "(STUBBED) called cmd_buffer = 0x{:x} size = {}", + reinterpret_cast(cmd), size); + return 0; } int PS4_SYSV_ABI sceGnmDrawInitToDefaultContextState() { @@ -283,9 +291,9 @@ int PS4_SYSV_ABI sceGnmFindResourcesPublic() { return ORBIS_OK; } -int PS4_SYSV_ABI sceGnmFlushGarlic() { - LOG_ERROR(Lib_GnmDriver, "(STUBBED) called"); - return ORBIS_OK; +void PS4_SYSV_ABI sceGnmFlushGarlic() { + LOG_WARNING(Lib_GnmDriver, "(STUBBED) called"); + GPU::flushGarlic(Emu::getGraphicCtx()); } int PS4_SYSV_ABI sceGnmGetCoredumpAddress() { @@ -683,9 +691,14 @@ int PS4_SYSV_ABI sceGnmSetVgtControl() { return ORBIS_OK; } -int PS4_SYSV_ABI sceGnmSetVsShader() { - LOG_ERROR(Lib_GnmDriver, "(STUBBED) called"); - return ORBIS_OK; +int PS4_SYSV_ABI sceGnmSetVsShader(u32* cmd, u64 size, const u32* vs_regs, u32 shader_modifier) { + LOG_INFO(Lib_GnmDriver, + "(STUBBED) called cmd_buffer = 0x{:x} size = {} shader_modifier = {} vs_reg0 = " + "0x{:x} vs_reg1 = 0x{:x} vs_reg2 = 0x{:x} vs_reg3 = 0x{:x} vs_reg4 = 0x{:x} vs_reg5 = " + "0x{:x} vs_reg6 = 0x{:x}", + reinterpret_cast(cmd), size, shader_modifier, vs_regs[0], vs_regs[1], + vs_regs[2], vs_regs[3], vs_regs[4], vs_regs[5], vs_regs[6]); + return 0; } int PS4_SYSV_ABI sceGnmSetWaveLimitMultiplier() { @@ -948,8 +961,13 @@ int PS4_SYSV_ABI sceGnmUpdatePsShader350() { return ORBIS_OK; } -int PS4_SYSV_ABI sceGnmUpdateVsShader() { - LOG_ERROR(Lib_GnmDriver, "(STUBBED) called"); +int PS4_SYSV_ABI sceGnmUpdateVsShader(u32* cmd, u64 size, const u32* vs_regs, u32 shader_modifier) { + LOG_INFO(Lib_GnmDriver, + "(STUBBED) called cmd_buffer = 0x{:x} size = {} shader_modifier = {} vs_reg0 = " + "0x{:x} vs_reg1 = 0x{:x} vs_reg2 = 0x{:x} vs_reg3 = 0x{:x} vs_reg4 = 0x{:x} vs_reg5 = " + "0x{:x} vs_reg6 = 0x{:x}", + reinterpret_cast(cmd), size, shader_modifier, vs_regs[0], vs_regs[1], + vs_regs[2], vs_regs[3], vs_regs[4], vs_regs[5], vs_regs[6]); return ORBIS_OK; } diff --git a/src/core/libraries/libscegnmdriver.h b/src/core/libraries/gnmdriver/gnmdriver.h similarity index 95% rename from src/core/libraries/libscegnmdriver.h rename to src/core/libraries/gnmdriver/gnmdriver.h index f66af9dd..0abef2ea 100644 --- a/src/core/libraries/libscegnmdriver.h +++ b/src/core/libraries/gnmdriver/gnmdriver.h @@ -3,7 +3,11 @@ #pragma once -#include "library_common.h" +#include "common/types.h" + +namespace Core::Loader { +class SymbolsResolver; +} namespace Libraries::GnmDriver { @@ -32,7 +36,8 @@ int PS4_SYSV_ABI sceGnmDispatchDirect(); int PS4_SYSV_ABI sceGnmDispatchIndirect(); int PS4_SYSV_ABI sceGnmDispatchIndirectOnMec(); int PS4_SYSV_ABI sceGnmDispatchInitDefaultHardwareState(); -int PS4_SYSV_ABI sceGnmDrawIndex(); +s32 PS4_SYSV_ABI sceGnmDrawIndex(u32* cmd, u64 size, u32 index_count, const void* index_addr, + u32 flags, u32 type); int PS4_SYSV_ABI sceGnmDrawIndexAuto(); int PS4_SYSV_ABI sceGnmDrawIndexIndirect(); int PS4_SYSV_ABI sceGnmDrawIndexIndirectCountMulti(); @@ -45,7 +50,7 @@ int PS4_SYSV_ABI sceGnmDrawIndirectMulti(); int PS4_SYSV_ABI sceGnmDrawInitDefaultHardwareState(); int PS4_SYSV_ABI sceGnmDrawInitDefaultHardwareState175(); int PS4_SYSV_ABI sceGnmDrawInitDefaultHardwareState200(); -int PS4_SYSV_ABI sceGnmDrawInitDefaultHardwareState350(); +int PS4_SYSV_ABI sceGnmDrawInitDefaultHardwareState350(u32* cmd, u64 size); int PS4_SYSV_ABI sceGnmDrawInitToDefaultContextState(); int PS4_SYSV_ABI sceGnmDrawInitToDefaultContextState400(); int PS4_SYSV_ABI sceGnmDrawOpaqueAuto(); @@ -62,7 +67,7 @@ int PS4_SYSV_ABI sceGnmDriverTraceInProgress(); int PS4_SYSV_ABI sceGnmDriverTriggerCapture(); int PS4_SYSV_ABI sceGnmEndWorkload(); int PS4_SYSV_ABI sceGnmFindResourcesPublic(); -int PS4_SYSV_ABI sceGnmFlushGarlic(); +void PS4_SYSV_ABI sceGnmFlushGarlic(); int PS4_SYSV_ABI sceGnmGetCoredumpAddress(); int PS4_SYSV_ABI sceGnmGetCoredumpMode(); int PS4_SYSV_ABI sceGnmGetCoredumpProtectionFaultTimestamp(); @@ -142,7 +147,7 @@ int PS4_SYSV_ABI sceGnmSetSpiEnableSqCounters(); int PS4_SYSV_ABI sceGnmSetSpiEnableSqCountersForUnitInstance(); int PS4_SYSV_ABI sceGnmSetupMipStatsReport(); int PS4_SYSV_ABI sceGnmSetVgtControl(); -int PS4_SYSV_ABI sceGnmSetVsShader(); +int PS4_SYSV_ABI sceGnmSetVsShader(u32* cmd, u64 size, const u32* vs_regs, u32 shader_modifier); int PS4_SYSV_ABI sceGnmSetWaveLimitMultiplier(); int PS4_SYSV_ABI sceGnmSetWaveLimitMultipliers(); int PS4_SYSV_ABI sceGnmSpmEndSpm(); @@ -195,7 +200,7 @@ int PS4_SYSV_ABI sceGnmUpdateGsShader(); int PS4_SYSV_ABI sceGnmUpdateHsShader(); int PS4_SYSV_ABI sceGnmUpdatePsShader(); int PS4_SYSV_ABI sceGnmUpdatePsShader350(); -int PS4_SYSV_ABI sceGnmUpdateVsShader(); +int PS4_SYSV_ABI sceGnmUpdateVsShader(u32* cmd, u64 size, const u32* vs_regs, u32 shader_modifier); int PS4_SYSV_ABI sceGnmValidateCommandBuffers(); int PS4_SYSV_ABI sceGnmValidateDisableDiagnostics(); int PS4_SYSV_ABI sceGnmValidateDisableDiagnostics2(); @@ -260,4 +265,4 @@ int PS4_SYSV_ABI Func_E51D44DB8151238C(); int PS4_SYSV_ABI Func_F916890425496553(); void RegisterlibSceGnmDriver(Core::Loader::SymbolsResolver* sym); -} // namespace Libraries::GnmDriver \ No newline at end of file +} // namespace Libraries::GnmDriver diff --git a/src/core/hle/kernel/cpu_management.cpp b/src/core/libraries/kernel/cpu_management.cpp similarity index 71% rename from src/core/hle/kernel/cpu_management.cpp rename to src/core/libraries/kernel/cpu_management.cpp index f208337b..93dc60bd 100644 --- a/src/core/hle/kernel/cpu_management.cpp +++ b/src/core/libraries/kernel/cpu_management.cpp @@ -3,13 +3,13 @@ #include "common/config.h" #include "common/logging/log.h" -#include "core/hle/kernel/cpu_management.h" +#include "core/libraries/kernel/cpu_management.h" -namespace Core::Kernel { +namespace Libraries::Kernel { int PS4_SYSV_ABI sceKernelIsNeoMode() { LOG_INFO(Kernel_Sce, "called"); return Config::isNeoMode(); } -} // namespace Core::Kernel +} // namespace Libraries::Kernel diff --git a/src/core/hle/kernel/cpu_management.h b/src/core/libraries/kernel/cpu_management.h similarity index 75% rename from src/core/hle/kernel/cpu_management.h rename to src/core/libraries/kernel/cpu_management.h index 73f298ba..814ea51d 100644 --- a/src/core/hle/kernel/cpu_management.h +++ b/src/core/libraries/kernel/cpu_management.h @@ -5,8 +5,8 @@ #include "common/types.h" -namespace Core::Kernel { +namespace Libraries::Kernel { int PS4_SYSV_ABI sceKernelIsNeoMode(); -} // namespace Core::Kernel +} // namespace Libraries::Kernel diff --git a/src/core/hle/kernel/Objects/event_queue.cpp b/src/core/libraries/kernel/event_queue.cpp similarity index 94% rename from src/core/hle/kernel/Objects/event_queue.cpp rename to src/core/libraries/kernel/event_queue.cpp index 1aef99e8..b03f270c 100644 --- a/src/core/hle/kernel/Objects/event_queue.cpp +++ b/src/core/libraries/kernel/event_queue.cpp @@ -2,9 +2,9 @@ // SPDX-License-Identifier: GPL-2.0-or-later #include "common/debug.h" -#include "core/hle/kernel/Objects/event_queue.h" +#include "core/libraries/kernel/event_queue.h" -namespace Core::Kernel { +namespace Libraries::Kernel { EqueueInternal::~EqueueInternal() = default; @@ -79,4 +79,4 @@ int EqueueInternal::getTriggeredEvents(SceKernelEvent* ev, int num) { return ret; } -} // namespace Core::Kernel +} // namespace Libraries::Kernel diff --git a/src/core/hle/kernel/Objects/event_queue.h b/src/core/libraries/kernel/event_queue.h similarity index 97% rename from src/core/hle/kernel/Objects/event_queue.h rename to src/core/libraries/kernel/event_queue.h index 37f0fe21..e825a5c4 100644 --- a/src/core/hle/kernel/Objects/event_queue.h +++ b/src/core/libraries/kernel/event_queue.h @@ -9,7 +9,7 @@ #include #include "common/types.h" -namespace Core::Kernel { +namespace Libraries::Kernel { constexpr s16 EVFILT_READ = -1; constexpr s16 EVFILT_WRITE = -2; @@ -82,4 +82,4 @@ private: std::condition_variable m_cond; }; -} // namespace Core::Kernel +} // namespace Libraries::Kernel diff --git a/src/core/hle/kernel/event_queues.cpp b/src/core/libraries/kernel/event_queues.cpp similarity index 92% rename from src/core/hle/kernel/event_queues.cpp rename to src/core/libraries/kernel/event_queues.cpp index 9c198fc3..1cb109ac 100644 --- a/src/core/hle/kernel/event_queues.cpp +++ b/src/core/libraries/kernel/event_queues.cpp @@ -3,10 +3,10 @@ #include "common/assert.h" #include "common/logging/log.h" -#include "core/hle/error_codes.h" -#include "core/hle/kernel/event_queues.h" +#include "core/libraries/error_codes.h" +#include "core/libraries/kernel/event_queues.h" -namespace Core::Kernel { +namespace Libraries::Kernel { int PS4_SYSV_ABI sceKernelCreateEqueue(SceKernelEqueue* eq, const char* name) { if (eq == nullptr) { @@ -69,4 +69,4 @@ int PS4_SYSV_ABI sceKernelWaitEqueue(SceKernelEqueue eq, SceKernelEvent* ev, int return SCE_OK; } -} // namespace Core::Kernel +} // namespace Libraries::Kernel diff --git a/src/core/hle/kernel/event_queues.h b/src/core/libraries/kernel/event_queues.h similarity index 80% rename from src/core/hle/kernel/event_queues.h rename to src/core/libraries/kernel/event_queues.h index 68e8cddc..e8cb35a3 100644 --- a/src/core/hle/kernel/event_queues.h +++ b/src/core/libraries/kernel/event_queues.h @@ -3,9 +3,9 @@ #pragma once -#include "core/hle/kernel/Objects/event_queue.h" +#include "core/libraries/kernel/event_queue.h" -namespace Core::Kernel { +namespace Libraries::Kernel { using SceKernelUseconds = u32; using SceKernelEqueue = EqueueInternal*; @@ -14,4 +14,4 @@ int PS4_SYSV_ABI sceKernelCreateEqueue(SceKernelEqueue* eq, const char* name); int PS4_SYSV_ABI sceKernelWaitEqueue(SceKernelEqueue eq, SceKernelEvent* ev, int num, int* out, SceKernelUseconds* timo); -} // namespace Core::Kernel +} // namespace Libraries::Kernel diff --git a/src/core/hle/libraries/libkernel/file_system.cpp b/src/core/libraries/kernel/file_system.cpp similarity index 93% rename from src/core/hle/libraries/libkernel/file_system.cpp rename to src/core/libraries/kernel/file_system.cpp index 32aba023..2f1e8ef2 100644 --- a/src/core/hle/libraries/libkernel/file_system.cpp +++ b/src/core/libraries/kernel/file_system.cpp @@ -5,11 +5,11 @@ #include "common/logging/log.h" #include "common/singleton.h" #include "core/file_sys/fs.h" -#include "core/hle/error_codes.h" -#include "core/hle/libraries/libkernel/file_system.h" -#include "core/hle/libraries/libs.h" +#include "core/libraries/error_codes.h" +#include "core/libraries/kernel/file_system.h" +#include "core/libraries/libs.h" -namespace Core::Libraries::LibKernel { +namespace Libraries::Kernel { int PS4_SYSV_ABI sceKernelOpen(const char* path, int flags, u16 mode) { LOG_INFO(Kernel_Fs, "path = {} flags = {:#x} mode = {:#x}", path, flags, mode); @@ -111,7 +111,7 @@ s64 PS4_SYSV_ABI sceKernelRead(int d, void* buf, size_t nbytes) { return bytes_read; } -void fileSystemSymbolsRegister(Loader::SymbolsResolver* sym) { +void fileSystemSymbolsRegister(Core::Loader::SymbolsResolver* sym) { LIB_FUNCTION("1G3lF1Gg1k8", "libkernel", 1, "libkernel", 1, 1, sceKernelOpen); LIB_FUNCTION("wuCroIGjt2g", "libScePosix", 1, "libkernel", 1, 1, posix_open); LIB_FUNCTION("UK2Tl2DWUns", "libkernel", 1, "libkernel", 1, 1, sceKernelClose); @@ -126,4 +126,4 @@ void fileSystemSymbolsRegister(Loader::SymbolsResolver* sym) { posix_open); // _open shoudld be equal to open function } -} // namespace Core::Libraries::LibKernel +} // namespace Libraries::Kernel diff --git a/src/core/hle/libraries/libkernel/file_system.h b/src/core/libraries/kernel/file_system.h similarity index 78% rename from src/core/hle/libraries/libkernel/file_system.h rename to src/core/libraries/kernel/file_system.h index 6b3c88aa..b0b2e110 100644 --- a/src/core/hle/libraries/libkernel/file_system.h +++ b/src/core/libraries/kernel/file_system.h @@ -9,7 +9,7 @@ namespace Core::Loader { class SymbolsResolver; } -namespace Core::Libraries::LibKernel { +namespace Libraries::Kernel { struct SceKernelIovec { void* iov_base; @@ -21,6 +21,6 @@ int PS4_SYSV_ABI sceKernelOpen(const char* path, int flags, /* SceKernelMode*/ u int PS4_SYSV_ABI posix_open(const char* path, int flags, /* SceKernelMode*/ u16 mode); s64 PS4_SYSV_ABI lseek(int d, s64 offset, int whence); -void fileSystemSymbolsRegister(Loader::SymbolsResolver* sym); +void fileSystemSymbolsRegister(Core::Loader::SymbolsResolver* sym); -} // namespace Core::Libraries::LibKernel +} // namespace Libraries::Kernel diff --git a/src/core/hle/libraries/libkernel/libkernel.cpp b/src/core/libraries/kernel/libkernel.cpp similarity index 76% rename from src/core/hle/libraries/libkernel/libkernel.cpp rename to src/core/libraries/kernel/libkernel.cpp index e666d6a3..f2313518 100644 --- a/src/core/hle/libraries/libkernel/libkernel.cpp +++ b/src/core/libraries/kernel/libkernel.cpp @@ -3,15 +3,17 @@ #include "common/assert.h" #include "common/logging/log.h" -#include "core/hle/kernel/cpu_management.h" -#include "core/hle/kernel/event_queues.h" -#include "core/hle/kernel/memory_management.h" -#include "core/hle/libraries/libkernel/file_system.h" -#include "core/hle/libraries/libkernel/libkernel.h" -#include "core/hle/libraries/libkernel/thread_management.h" -#include "core/hle/libraries/libkernel/time_management.h" -#include "core/hle/libraries/libs.h" -#include "core/loader/elf.h" +#include "common/singleton.h" +#include "core/libraries/error_codes.h" +#include "core/libraries/kernel/cpu_management.h" +#include "core/libraries/kernel/event_queues.h" +#include "core/libraries/kernel/file_system.h" +#include "core/libraries/kernel/libkernel.h" +#include "core/libraries/kernel/memory_management.h" +#include "core/libraries/kernel/thread_management.h" +#include "core/libraries/kernel/time_management.h" +#include "core/libraries/libs.h" +#include "core/linker.h" #ifdef _WIN64 #include @@ -19,10 +21,8 @@ #else #include #endif -#include -#include -namespace Core::Libraries::LibKernel { +namespace Libraries::Kernel { static u64 g_stack_chk_guard = 0xDEADBEEF54321ABC; // dummy return @@ -141,23 +141,34 @@ void PS4_SYSV_ABI sceLibcHeapGetTraceInfo(HeapInfoInfo* info) { info->getSegmentInfo = 0; } -void LibKernel_Register(Loader::SymbolsResolver* sym) { +s64 PS4_SYSV_ABI ps4__write(int d, const void* buf, std::size_t nbytes) { + if (d <= 2) { // stdin,stdout,stderr + char* str = strdup((const char*)buf); + if (str[nbytes - 1] == '\n') + str[nbytes - 1] = 0; + LOG_INFO(Tty, "{}", str); + free(str); + return nbytes; + } + LOG_ERROR(Kernel, "(STUBBED) called d = {} nbytes = {} ", d, nbytes); + UNREACHABLE(); // normal write , is it a posix call?? + return ORBIS_OK; +} + +void LibKernel_Register(Core::Loader::SymbolsResolver* sym) { // obj LIB_OBJ("f7uOxY9mM1U", "libkernel", 1, "libkernel", 1, 1, &g_stack_chk_guard); // memory - LIB_FUNCTION("rTXw65xmLIA", "libkernel", 1, "libkernel", 1, 1, - Kernel::sceKernelAllocateDirectMemory); - LIB_FUNCTION("pO96TwzOm5E", "libkernel", 1, "libkernel", 1, 1, - Kernel::sceKernelGetDirectMemorySize); - LIB_FUNCTION("L-Q3LEjIbgA", "libkernel", 1, "libkernel", 1, 1, - Kernel::sceKernelMapDirectMemory); + LIB_FUNCTION("rTXw65xmLIA", "libkernel", 1, "libkernel", 1, 1, sceKernelAllocateDirectMemory); + LIB_FUNCTION("pO96TwzOm5E", "libkernel", 1, "libkernel", 1, 1, sceKernelGetDirectMemorySize); + LIB_FUNCTION("L-Q3LEjIbgA", "libkernel", 1, "libkernel", 1, 1, sceKernelMapDirectMemory); LIB_FUNCTION("MBuItvba6z8", "libkernel", 1, "libkernel", 1, 1, sceKernelReleaseDirectMemory); LIB_FUNCTION("cQke9UuBQOk", "libkernel", 1, "libkernel", 1, 1, sceKernelMunmap); // equeue - LIB_FUNCTION("D0OdFMjp46I", "libkernel", 1, "libkernel", 1, 1, Kernel::sceKernelCreateEqueue); - LIB_FUNCTION("fzyMKs9kim0", "libkernel", 1, "libkernel", 1, 1, Kernel::sceKernelWaitEqueue); + LIB_FUNCTION("D0OdFMjp46I", "libkernel", 1, "libkernel", 1, 1, sceKernelCreateEqueue); + LIB_FUNCTION("fzyMKs9kim0", "libkernel", 1, "libkernel", 1, 1, sceKernelWaitEqueue); // misc - LIB_FUNCTION("WslcK1FQcGI", "libkernel", 1, "libkernel", 1, 1, Kernel::sceKernelIsNeoMode); + LIB_FUNCTION("WslcK1FQcGI", "libkernel", 1, "libkernel", 1, 1, sceKernelIsNeoMode); LIB_FUNCTION("Ou3iL1abvng", "libkernel", 1, "libkernel", 1, 1, stack_chk_fail); LIB_FUNCTION("9BcDykPmo1I", "libkernel", 1, "libkernel", 1, 1, __Error); LIB_FUNCTION("BPE9s9vQQXo", "libkernel", 1, "libkernel", 1, 1, posix_mmap); @@ -165,13 +176,14 @@ void LibKernel_Register(Loader::SymbolsResolver* sym) { LIB_FUNCTION("YSHRBRLn2pI", "libkernel", 1, "libkernel", 1, 1, _writev); LIB_FUNCTION("959qrazPIrg", "libkernel", 1, "libkernel", 1, 1, sceKernelGetProcParam); - Core::Libraries::LibKernel::fileSystemSymbolsRegister(sym); - Core::Libraries::LibKernel::timeSymbolsRegister(sym); - Core::Libraries::LibKernel::pthreadSymbolsRegister(sym); + Libraries::Kernel::fileSystemSymbolsRegister(sym); + Libraries::Kernel::timeSymbolsRegister(sym); + Libraries::Kernel::pthreadSymbolsRegister(sym); // temp LIB_FUNCTION("NWtTN10cJzE", "libSceLibcInternalExt", 1, "libSceLibcInternal", 1, 1, sceLibcHeapGetTraceInfo); + LIB_FUNCTION("FxVZqBAA7ks", "libkernel", 1, "libkernel", 1, 1, ps4__write); } -} // namespace Core::Libraries::LibKernel +} // namespace Libraries::Kernel diff --git a/src/core/hle/libraries/libkernel/libkernel.h b/src/core/libraries/kernel/libkernel.h similarity index 71% rename from src/core/hle/libraries/libkernel/libkernel.h rename to src/core/libraries/kernel/libkernel.h index 436e7df1..999aa25c 100644 --- a/src/core/hle/libraries/libkernel/libkernel.h +++ b/src/core/libraries/kernel/libkernel.h @@ -10,11 +10,11 @@ namespace Core::Loader { class SymbolsResolver; } -namespace Core::Libraries::LibKernel { +namespace Libraries::Kernel { int32_t PS4_SYSV_ABI sceKernelReleaseDirectMemory(off_t start, size_t len); int* PS4_SYSV_ABI __Error(); -void LibKernel_Register(Loader::SymbolsResolver* sym); +void LibKernel_Register(Core::Loader::SymbolsResolver* sym); -} // namespace Core::Libraries::LibKernel +} // namespace Libraries::Kernel diff --git a/src/core/hle/kernel/memory_management.cpp b/src/core/libraries/kernel/memory_management.cpp similarity index 95% rename from src/core/hle/kernel/memory_management.cpp rename to src/core/libraries/kernel/memory_management.cpp index 9cee047d..384312fb 100644 --- a/src/core/hle/kernel/memory_management.cpp +++ b/src/core/libraries/kernel/memory_management.cpp @@ -6,12 +6,12 @@ #include "common/logging/log.h" #include "common/singleton.h" #include "core/PS4/GPU/gpu_memory.h" -#include "core/hle/error_codes.h" -#include "core/hle/kernel/Objects/physical_memory.h" -#include "core/hle/kernel/memory_management.h" +#include "core/libraries/error_codes.h" +#include "core/libraries/kernel/memory_management.h" +#include "core/libraries/kernel/physical_memory.h" #include "core/virtual_memory.h" -namespace Core::Kernel { +namespace Libraries::Kernel { bool is16KBAligned(u64 n) { return ((n % (16ull * 1024) == 0)); @@ -122,4 +122,4 @@ int PS4_SYSV_ABI sceKernelMapDirectMemory(void** addr, u64 len, int prot, int fl return SCE_OK; } -} // namespace Core::Kernel +} // namespace Libraries::Kernel diff --git a/src/core/hle/kernel/memory_management.h b/src/core/libraries/kernel/memory_management.h similarity index 95% rename from src/core/hle/kernel/memory_management.h rename to src/core/libraries/kernel/memory_management.h index dc37cd2f..d726a43f 100644 --- a/src/core/hle/kernel/memory_management.h +++ b/src/core/libraries/kernel/memory_management.h @@ -7,7 +7,7 @@ constexpr u64 SCE_KERNEL_MAIN_DMEM_SIZE = 5376_MB; // ~ 6GB -namespace Core::Kernel { +namespace Libraries::Kernel { enum MemoryTypes : u32 { SCE_KERNEL_WB_ONION = 0, // write - back mode (Onion bus) @@ -36,4 +36,4 @@ int PS4_SYSV_ABI sceKernelAllocateDirectMemory(s64 searchStart, s64 searchEnd, u int PS4_SYSV_ABI sceKernelMapDirectMemory(void** addr, u64 len, int prot, int flags, s64 directMemoryStart, u64 alignment); -} // namespace Core::Kernel +} // namespace Libraries::Kernel diff --git a/src/core/hle/kernel/Objects/physical_memory.cpp b/src/core/libraries/kernel/physical_memory.cpp similarity index 94% rename from src/core/hle/kernel/Objects/physical_memory.cpp rename to src/core/libraries/kernel/physical_memory.cpp index 0c9976bd..0ec1c5fa 100644 --- a/src/core/hle/kernel/Objects/physical_memory.cpp +++ b/src/core/libraries/kernel/physical_memory.cpp @@ -1,9 +1,9 @@ // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -#include "core/hle/kernel/Objects/physical_memory.h" +#include "core/libraries/kernel/physical_memory.h" -namespace Core::Kernel { +namespace Libraries::Kernel { static u64 AlignUp(u64 pos, u64 align) { return (align != 0 ? (pos + (align - 1)) & ~(align - 1) : pos); @@ -68,4 +68,4 @@ bool PhysicalMemory::Map(u64 virtual_addr, u64 phys_addr, u64 len, int prot, return false; } -} // namespace Core::Kernel +} // namespace Libraries::Kernel diff --git a/src/core/hle/kernel/Objects/physical_memory.h b/src/core/libraries/kernel/physical_memory.h similarity index 93% rename from src/core/hle/kernel/Objects/physical_memory.h rename to src/core/libraries/kernel/physical_memory.h index af8feda9..65f42167 100644 --- a/src/core/hle/kernel/Objects/physical_memory.h +++ b/src/core/libraries/kernel/physical_memory.h @@ -9,7 +9,7 @@ #include "core/PS4/GPU/gpu_memory.h" #include "core/virtual_memory.h" -namespace Core::Kernel { +namespace Libraries::Kernel { class PhysicalMemory { public: @@ -37,4 +37,4 @@ private: std::mutex m_mutex; }; -} // namespace Core::Kernel +} // namespace Libraries::Kernel diff --git a/src/core/hle/libraries/libkernel/thread_management.cpp b/src/core/libraries/kernel/thread_management.cpp similarity index 99% rename from src/core/hle/libraries/libkernel/thread_management.cpp rename to src/core/libraries/kernel/thread_management.cpp index 180077c5..a2d7d7ee 100644 --- a/src/core/hle/libraries/libkernel/thread_management.cpp +++ b/src/core/libraries/kernel/thread_management.cpp @@ -2,13 +2,14 @@ // SPDX-License-Identifier: GPL-2.0-or-later #include +#include #include "common/assert.h" #include "common/logging/log.h" -#include "core/hle/error_codes.h" -#include "core/hle/libraries/libkernel/thread_management.h" -#include "core/hle/libraries/libs.h" +#include "core/libraries/error_codes.h" +#include "core/libraries/kernel/thread_management.h" +#include "core/libraries/libs.h" -namespace Core::Libraries::LibKernel { +namespace Libraries::Kernel { thread_local ScePthread g_pthread_self{}; PThreadCxt* g_pthread_cxt = nullptr; @@ -885,7 +886,7 @@ void PS4_SYSV_ABI scePthreadYield() { sched_yield(); } -void pthreadSymbolsRegister(Loader::SymbolsResolver* sym) { +void pthreadSymbolsRegister(Core::Loader::SymbolsResolver* sym) { LIB_FUNCTION("4+h9EzwKF4I", "libkernel", 1, "libkernel", 1, 1, scePthreadAttrSetschedpolicy); LIB_FUNCTION("-Wreprtu0Qs", "libkernel", 1, "libkernel", 1, 1, scePthreadAttrSetdetachstate); LIB_FUNCTION("eXbUSpEaTsA", "libkernel", 1, "libkernel", 1, 1, scePthreadAttrSetinheritsched); @@ -931,4 +932,4 @@ void pthreadSymbolsRegister(Loader::SymbolsResolver* sym) { LIB_FUNCTION("mkx2fVhNMsg", "libkernel", 1, "libkernel", 1, 1, posix_pthread_cond_broadcast); } -} // namespace Core::Libraries::LibKernel +} // namespace Libraries::Kernel diff --git a/src/core/hle/libraries/libkernel/thread_management.h b/src/core/libraries/kernel/thread_management.h similarity index 96% rename from src/core/hle/libraries/libkernel/thread_management.h rename to src/core/libraries/kernel/thread_management.h index 83e1a58d..b086a7e4 100644 --- a/src/core/hle/libraries/libkernel/thread_management.h +++ b/src/core/libraries/kernel/thread_management.h @@ -6,7 +6,6 @@ #include #include #include -#include #include #include #include @@ -16,7 +15,7 @@ namespace Core::Loader { class SymbolsResolver; } -namespace Core::Libraries::LibKernel { +namespace Libraries::Kernel { struct PthreadInternal; struct PthreadAttrInternal; @@ -169,5 +168,5 @@ int PS4_SYSV_ABI posix_pthread_mutex_lock(ScePthreadMutex* mutex); int PS4_SYSV_ABI posix_pthread_mutex_unlock(ScePthreadMutex* mutex); int PS4_SYSV_ABI posix_pthread_cond_broadcast(ScePthreadCond* cond); -void pthreadSymbolsRegister(Loader::SymbolsResolver* sym); -} // namespace Core::Libraries::LibKernel +void pthreadSymbolsRegister(Core::Loader::SymbolsResolver* sym); +} // namespace Libraries::Kernel diff --git a/src/core/hle/libraries/libkernel/time_management.cpp b/src/core/libraries/kernel/time_management.cpp similarity index 82% rename from src/core/hle/libraries/libkernel/time_management.cpp rename to src/core/libraries/kernel/time_management.cpp index 6d003868..2e3d8896 100644 --- a/src/core/hle/libraries/libkernel/time_management.cpp +++ b/src/core/libraries/kernel/time_management.cpp @@ -2,10 +2,10 @@ // SPDX-License-Identifier: GPL-2.0-or-later #include "common/native_clock.h" -#include "core/hle/libraries/libkernel/time_management.h" -#include "core/hle/libraries/libs.h" +#include "core/libraries/kernel/time_management.h" +#include "core/libraries/libs.h" -namespace Core::Libraries::LibKernel { +namespace Libraries::Kernel { static u64 initial_ptc; static std::unique_ptr clock; @@ -26,7 +26,7 @@ u64 PS4_SYSV_ABI sceKernelReadTsc() { return clock->GetUptime(); } -void timeSymbolsRegister(Loader::SymbolsResolver* sym) { +void timeSymbolsRegister(Core::Loader::SymbolsResolver* sym) { clock = std::make_unique(); initial_ptc = clock->GetUptime(); LIB_FUNCTION("4J2sUJmuHZQ", "libkernel", 1, "libkernel", 1, 1, sceKernelGetProcessTime); @@ -36,4 +36,4 @@ void timeSymbolsRegister(Loader::SymbolsResolver* sym) { LIB_FUNCTION("-2IRUCO--PM", "libkernel", 1, "libkernel", 1, 1, sceKernelReadTsc); } -} // namespace Core::Libraries::LibKernel +} // namespace Libraries::Kernel diff --git a/src/core/hle/libraries/libkernel/time_management.h b/src/core/libraries/kernel/time_management.h similarity index 74% rename from src/core/hle/libraries/libkernel/time_management.h rename to src/core/libraries/kernel/time_management.h index d8b7bf80..91436195 100644 --- a/src/core/hle/libraries/libkernel/time_management.h +++ b/src/core/libraries/kernel/time_management.h @@ -9,13 +9,13 @@ namespace Core::Loader { class SymbolsResolver; } -namespace Core::Libraries::LibKernel { +namespace Libraries::Kernel { u64 PS4_SYSV_ABI sceKernelGetProcessTime(); u64 PS4_SYSV_ABI sceKernelGetProcessTimeCounter(); u64 PS4_SYSV_ABI sceKernelGetProcessTimeCounterFrequency(); u64 PS4_SYSV_ABI sceKernelReadTsc(); -void timeSymbolsRegister(Loader::SymbolsResolver* sym); +void timeSymbolsRegister(Core::Loader::SymbolsResolver* sym); -} // namespace Core::Libraries::LibKernel +} // namespace Libraries::Kernel diff --git a/src/core/hle/libraries/libc/libc.cpp b/src/core/libraries/libc/libc.cpp similarity index 98% rename from src/core/hle/libraries/libc/libc.cpp rename to src/core/libraries/libc/libc.cpp index b73e1d8f..fc2e14ce 100644 --- a/src/core/hle/libraries/libc/libc.cpp +++ b/src/core/libraries/libc/libc.cpp @@ -5,13 +5,13 @@ #include "common/debug.h" #include "common/logging/log.h" #include "common/singleton.h" -#include "core/hle/libraries/libc/libc.h" -#include "core/hle/libraries/libc/libc_cxa.h" -#include "core/hle/libraries/libc/libc_math.h" -#include "core/hle/libraries/libc/libc_stdio.h" -#include "core/hle/libraries/libc/libc_stdlib.h" -#include "core/hle/libraries/libc/libc_string.h" -#include "core/hle/libraries/libs.h" +#include "core/libraries/libc/libc.h" +#include "core/libraries/libc/libc_cxa.h" +#include "core/libraries/libc/libc_math.h" +#include "core/libraries/libc/libc_stdio.h" +#include "core/libraries/libc/libc_stdlib.h" +#include "core/libraries/libc/libc_string.h" +#include "core/libraries/libs.h" namespace Core::Libraries::LibC { diff --git a/src/core/hle/libraries/libc/libc.h b/src/core/libraries/libc/libc.h similarity index 100% rename from src/core/hle/libraries/libc/libc.h rename to src/core/libraries/libc/libc.h diff --git a/src/core/hle/libraries/libc/libc_cxa.cpp b/src/core/libraries/libc/libc_cxa.cpp similarity index 99% rename from src/core/hle/libraries/libc/libc_cxa.cpp rename to src/core/libraries/libc/libc_cxa.cpp index e1e693ae..eb6aaa4e 100644 --- a/src/core/hle/libraries/libc/libc_cxa.cpp +++ b/src/core/libraries/libc/libc_cxa.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: GPL-2.0-or-later #include "common/logging/log.h" -#include "core/hle/libraries/libc/libc_cxa.h" +#include "core/libraries/libc/libc_cxa.h" // adapted from // https://opensource.apple.com/source/libcppabi/libcppabi-14/src/cxa_guard.cxx.auto.html diff --git a/src/core/hle/libraries/libc/libc_cxa.h b/src/core/libraries/libc/libc_cxa.h similarity index 100% rename from src/core/hle/libraries/libc/libc_cxa.h rename to src/core/libraries/libc/libc_cxa.h diff --git a/src/core/hle/libraries/libc/libc_math.cpp b/src/core/libraries/libc/libc_math.cpp similarity index 94% rename from src/core/hle/libraries/libc/libc_math.cpp rename to src/core/libraries/libc/libc_math.cpp index e3965445..935fc82d 100644 --- a/src/core/hle/libraries/libc/libc_math.cpp +++ b/src/core/libraries/libc/libc_math.cpp @@ -2,7 +2,7 @@ // SPDX-License-Identifier: GPL-2.0-or-later #include -#include "core/hle/libraries/libc/libc_math.h" +#include "core/libraries/libc/libc_math.h" namespace Core::Libraries::LibC { diff --git a/src/core/hle/libraries/libc/libc_math.h b/src/core/libraries/libc/libc_math.h similarity index 100% rename from src/core/hle/libraries/libc/libc_math.h rename to src/core/libraries/libc/libc_math.h diff --git a/src/core/hle/libraries/libc/libc_stdio.cpp b/src/core/libraries/libc/libc_stdio.cpp similarity index 97% rename from src/core/hle/libraries/libc/libc_stdio.cpp rename to src/core/libraries/libc/libc_stdio.cpp index c8ca8352..97715025 100644 --- a/src/core/hle/libraries/libc/libc_stdio.cpp +++ b/src/core/libraries/libc/libc_stdio.cpp @@ -4,7 +4,7 @@ #include "common/assert.h" #include "common/singleton.h" #include "core/file_sys/fs.h" -#include "core/hle/libraries/libc/libc_stdio.h" +#include "core/libraries/libc/libc_stdio.h" namespace Core::Libraries::LibC { diff --git a/src/core/hle/libraries/libc/libc_stdio.h b/src/core/libraries/libc/libc_stdio.h similarity index 95% rename from src/core/hle/libraries/libc/libc_stdio.h rename to src/core/libraries/libc/libc_stdio.h index 4ba18e9f..a14e2f67 100644 --- a/src/core/hle/libraries/libc/libc_stdio.h +++ b/src/core/libraries/libc/libc_stdio.h @@ -4,7 +4,7 @@ #pragma once #include "common/types.h" -#include "core/hle/libraries/libc/printf.h" +#include "core/libraries/libc/printf.h" namespace Core::Libraries::LibC { diff --git a/src/core/hle/libraries/libc/libc_stdlib.cpp b/src/core/libraries/libc/libc_stdlib.cpp similarity index 95% rename from src/core/hle/libraries/libc/libc_stdlib.cpp rename to src/core/libraries/libc/libc_stdlib.cpp index 0ec3de08..2d0e4b63 100644 --- a/src/core/hle/libraries/libc/libc_stdlib.cpp +++ b/src/core/libraries/libc/libc_stdlib.cpp @@ -3,7 +3,7 @@ #include #include "common/assert.h" -#include "core/hle/libraries/libc/libc_stdlib.h" +#include "core/libraries/libc/libc_stdlib.h" namespace Core::Libraries::LibC { diff --git a/src/core/hle/libraries/libc/libc_stdlib.h b/src/core/libraries/libc/libc_stdlib.h similarity index 100% rename from src/core/hle/libraries/libc/libc_stdlib.h rename to src/core/libraries/libc/libc_stdlib.h diff --git a/src/core/hle/libraries/libc/libc_string.cpp b/src/core/libraries/libc/libc_string.cpp similarity index 96% rename from src/core/hle/libraries/libc/libc_string.cpp rename to src/core/libraries/libc/libc_string.cpp index ce4038d8..71ee9ff8 100644 --- a/src/core/hle/libraries/libc/libc_string.cpp +++ b/src/core/libraries/libc/libc_string.cpp @@ -3,7 +3,7 @@ #include #include -#include "core/hle/libraries/libc/libc_string.h" +#include "core/libraries/libc/libc_string.h" namespace Core::Libraries::LibC { diff --git a/src/core/hle/libraries/libc/libc_string.h b/src/core/libraries/libc/libc_string.h similarity index 100% rename from src/core/hle/libraries/libc/libc_string.h rename to src/core/libraries/libc/libc_string.h diff --git a/src/core/hle/libraries/libc/printf.h b/src/core/libraries/libc/printf.h similarity index 100% rename from src/core/hle/libraries/libc/printf.h rename to src/core/libraries/libc/printf.h diff --git a/src/core/hle/libraries/libc/va_ctx.h b/src/core/libraries/libc/va_ctx.h similarity index 100% rename from src/core/hle/libraries/libc/va_ctx.h rename to src/core/libraries/libc/va_ctx.h diff --git a/src/core/libraries/libkernel.cpp b/src/core/libraries/libkernel.cpp deleted file mode 100644 index 5ce0bd00..00000000 --- a/src/core/libraries/libkernel.cpp +++ /dev/null @@ -1,6774 +0,0 @@ -// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project -// SPDX-License-Identifier: GPL-2.0-or-later - -// Generated By moduleGenerator -#include -#include -#include "common/logging/log.h" -#include "error_codes.h" -#include "libkernel.h" - -namespace Libraries::Kernel { - -/* -int PS4_SYSV_ABI __elf_phdr_match_addr() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __error() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __freeze() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __inet_ntop() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __inet_pton() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __progname() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __pthread_cleanup_pop_imp() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __pthread_cleanup_push_imp() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __pthread_cxa_finalize() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __sceKernelGetGPI() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __stack_chk_fail() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __stack_chk_guard() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __sys_debug_init() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __sys_dl_get_info() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __sys_dl_get_list() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __sys_dl_get_metadata() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __sys_dynlib_get_info_for_libdbg() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __sys_dynlib_get_info2() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __sys_dynlib_get_list_for_libdbg() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __sys_dynlib_get_list2() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __sys_dynlib_load_prx() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __sys_get_proc_type_info() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __sys_is_development_mode() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __sys_kqueueex() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __sys_namedobj_create() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __sys_namedobj_delete() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __sys_netabort() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __sys_netcontrol() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __sys_netgetiflist() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __sys_netgetsockinfo() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __sys_opmc_disable() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __sys_opmc_enable() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __sys_opmc_get_ctr() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __sys_opmc_get_hw() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __sys_opmc_set_ctl() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __sys_opmc_set_ctr() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __sys_opmc_set_hw() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __sys_osem_close() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __sys_osem_open() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __sys_randomized_path() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __sys_rdup() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __sys_regmgr_call() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __sys_set_uevt() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __sys_socketclose() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __sys_socketex() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __sys_test_debug_rwmem() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __sys_workaround8849() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __tls_get_addr() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI __Ux86_64_setcontext() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI _accept() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI _bind() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI _close() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI _connect() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI _dup2() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI _execve() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI _execvpe() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI _exit() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI _fcntl() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI _fpathconf() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI _fstat() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI _fstatfs() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI _getdirentries() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI _getpeername() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI _getsockname() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI _getsockopt() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI _ioctl() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI _is_signal_return() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI _listen() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI _nanosleep() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI _open() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI _openat() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI _read() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI _readv() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI _recvfrom() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI _recvmsg() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI _sceKernelRtldSetApplicationHeapAPI() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI _sceKernelRtldThreadAtexitDecrement() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI _sceKernelRtldThreadAtexitIncrement() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI _sceKernelSetThreadAtexitCount() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI _sceKernelSetThreadAtexitReport() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI _sceKernelSetThreadDtors() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI _sendmsg() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI _sendto() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI _setsockopt() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI _sigaction() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI _sigintr() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI _sigprocmask() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI _sigsuspend() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI _umtx_op() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI _wait4() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} -*/ -s64 PS4_SYSV_ABI ps4__write(int d, const void* buf, std::size_t nbytes) { - if (d <= 2) { // stdin,stdout,stderr - char* str = strdup((const char*)buf); - if (str[nbytes - 1] == '\n') - str[nbytes - 1] = 0; - LOG_INFO(Tty, "{}", str); - free(str); - return nbytes; - } - LOG_ERROR(Kernel, "(STUBBED) called d = {} nbytes = {} ", d, nbytes); - UNREACHABLE(); // normal write , is it a posix call?? - return ORBIS_OK; -} -/* -int PS4_SYSV_ABI _writev() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI accept() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI access() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI amd64_set_fsbase() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI bind() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI blockpool_batch() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI blockpool_map() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI blockpool_open() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI blockpool_unmap() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI chdir() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI chflags() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI chmod() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI clock_getres() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI clock_gettime() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI clock_settime() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI close() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI connect() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI cpuset_getaffinity() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI cpuset_getid() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI cpuset_setaffinity() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI creat() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI dlclose() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI dlerror() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI dlopen() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI dlsym() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI dup() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI dup2() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI dynlib_get_obj_member() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI ps4_environ() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI ps4_errno() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI execv() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI execve() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI execvp() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI fchflags() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI fchmod() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI fcntl() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI fdatasync() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI flock() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI fstat() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI fsync() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI ftruncate() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI futimes() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI get_authinfo() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI get_module_info_list() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI get_page_table_stats() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI get_sdk_compiled_version() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI get_self_auth_info() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI get_vm_map_timestamp() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI getargc() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI getargv() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI getcontext() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI getdents() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI getdirentries() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI getdtablesize() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI getegid() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI geteuid() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI getgid() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI getgroups() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI getitimer() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI getlogin() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI getlogin_r() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI getpagesize() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI getpeername() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI getpid() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI getppid() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI getpriority() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI getrlimit() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI getrusage() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI getsid() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI getsockname() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI getsockopt() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI gettimeofday() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI getuid() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI htonl() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI htons() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI inet_ntop() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI inet_pton() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI ioctl() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI ipmimgr_call() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI is_in_sandbox() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI issetugid() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI kevent() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI kill() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI kqueue() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI ksem_close() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI ksem_destroy() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI ksem_getvalue() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI ksem_init() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI ksem_open() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI ksem_post() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI ksem_timedwait() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI ksem_trywait() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI ksem_unlink() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI ksem_wait() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI ktimer_create() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI ktimer_delete() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI ktimer_getoverrun() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI ktimer_gettime() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI ktimer_settime() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI listen() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI lseek() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI lstat() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI madvise() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI mdbg_service() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI mincore() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI mkdir() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI mlock() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI mlockall() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI mmap() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI mprotect() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI msync() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI munlock() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI munlockall() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI munmap() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI nanosleep() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI ntohl() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI ntohs() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI open() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pause() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI physhm_open() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI physhm_unlink() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pipe() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI poll() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pread() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI preadv() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI profil() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pselect() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_atfork() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_attr_destroy() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_attr_get_np() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_attr_getaffinity_np() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_attr_getdetachstate() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_attr_getguardsize() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_attr_getinheritsched() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_attr_getschedparam() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_attr_getschedpolicy() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_attr_getscope() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_attr_getstack() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_attr_getstackaddr() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_attr_getstacksize() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_attr_init() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_attr_setaffinity_np() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_attr_setcreatesuspend_np() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_attr_setdetachstate() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_attr_setguardsize() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_attr_setinheritsched() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_attr_setschedparam() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_attr_setschedpolicy() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_attr_setscope() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_attr_setstack() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_attr_setstackaddr() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_attr_setstacksize() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_barrier_destroy() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_barrier_init() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_barrier_setname_np() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_barrier_wait() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_barrierattr_destroy() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_barrierattr_getpshared() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_barrierattr_init() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_barrierattr_setpshared() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_cancel() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_cleanup_pop() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_cleanup_push() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_cond_broadcast() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_cond_destroy() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_cond_init() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_cond_reltimedwait_np() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_cond_setname_np() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_cond_signal() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_cond_signalto_np() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_cond_timedwait() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_cond_wait() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_condattr_destroy() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_condattr_getclock() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_condattr_getpshared() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_condattr_init() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_condattr_setclock() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_condattr_setpshared() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_create() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_create_name_np() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_detach() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_equal() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_exit() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_get_specificarray_np() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_get_user_context_np() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_getaffinity_np() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_getconcurrency() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_getcpuclockid() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_getname_np() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_getprio() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_getschedparam() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_getspecific() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_getstack_np() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_getthreadid_np() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_join() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_key_create() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_key_delete() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_kill() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_main_np() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_multi_np() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_mutex_destroy() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_mutex_getprioceiling() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_mutex_getspinloops_np() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_mutex_getyieldloops_np() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_mutex_init() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_mutex_init_for_mono() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_mutex_isowned_np() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_mutex_lock() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_mutex_reltimedlock_np() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_mutex_setname_np() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_mutex_setprioceiling() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_mutex_setspinloops_np() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_mutex_setyieldloops_np() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_mutex_timedlock() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_mutex_trylock() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_mutex_unlock() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_mutexattr_destroy() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_mutexattr_getkind_np() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_mutexattr_getprioceiling() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_mutexattr_getprotocol() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_mutexattr_getpshared() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_mutexattr_gettype() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_mutexattr_init() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_mutexattr_setkind_np() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_mutexattr_setprioceiling() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_mutexattr_setprotocol() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_mutexattr_setpshared() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_mutexattr_settype() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_once() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_rename_np() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_resume_all_np() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_resume_np() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_resume_user_context_np() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_rwlock_destroy() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_rwlock_init() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_rwlock_rdlock() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_rwlock_reltimedrdlock_np() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_rwlock_reltimedwrlock_np() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_rwlock_setname_np() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_rwlock_timedrdlock() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_rwlock_timedwrlock() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_rwlock_tryrdlock() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_rwlock_trywrlock() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_rwlock_unlock() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_rwlock_wrlock() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_rwlockattr_destroy() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_rwlockattr_getpshared() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_rwlockattr_gettype_np() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_rwlockattr_init() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_rwlockattr_setpshared() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_rwlockattr_settype_np() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_self() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_set_defaultstacksize_np() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_set_name_np() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_set_user_context_np() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_setaffinity_np() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_setcancelstate() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_setcanceltype() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_setconcurrency() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_setprio() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_setschedparam() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_setspecific() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_sigmask() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_single_np() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_spin_destroy() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_spin_init() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_spin_lock() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_spin_trylock() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_spin_unlock() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_suspend_all_np() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_suspend_np() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_suspend_user_context_np() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_switch_add_np() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_switch_delete_np() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_testcancel() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_timedjoin_np() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pthread_yield() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pwrite() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI pwritev() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI raise() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI read() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI readv() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI recv() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI recvfrom() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI recvmsg() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI rename() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI rfork_thread() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI rmdir() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI rtld_printf() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI rtprio_thread() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelAddCpumodeEvent() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelAddFileEvent() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelAddGpuExceptionEvent() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelAddHRTimerEvent() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelAddReadEvent() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelAddTimerEvent() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelAddUserEvent() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelAddUserEventEdge() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelAddWriteEvent() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelAioCancelRequest() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelAioCancelRequests() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelAioDeleteRequest() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelAioDeleteRequests() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelAioInitializeImpl() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelAioInitializeParam() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelAioPollRequest() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelAioPollRequests() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelAioSetParam() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelAioSubmitReadCommands() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelAioSubmitReadCommandsMultiple() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelAioSubmitWriteCommands() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelAioSubmitWriteCommandsMultiple() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelAioWaitRequest() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelAioWaitRequests() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelAllocateDirectMemory() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelAllocateDirectMemoryForMiniApp() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelAllocateMainDirectMemory() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelAllocateTraceDirectMemory() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelAvailableDirectMemorySize() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelAvailableFlexibleMemorySize() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelBacktraceSelf() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelBatchMap() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelBatchMap2() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelCancelEventFlag() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelCancelSema() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelCheckedReleaseDirectMemory() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelCheckReachability() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelChmod() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelClearBootReqNotifyCount() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelClearEventFlag() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelClearGameDirectMemory() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelClockGetres() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelClockGettime() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelClose() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelCloseEport() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelCloseEventFlag() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelCloseSema() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelConfiguredFlexibleMemorySize() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelConvertLocaltimeToUtc() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelConvertUtcToLocaltime() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelCreateEport() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelCreateEqueue() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelCreateEventFlag() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelCreateSema() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelDebugAcquireAndUpdateDebugRegister() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelDebugGetAppStatus() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelDebugGetPauseCount() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelDebugGpuPaDebugIsInProgress() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelDebugOutText() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelDebugRaiseException() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelDebugRaiseExceptionOnReleaseMode() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelDebugRaiseExceptionWithContext() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelDebugRaiseExceptionWithInfo() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelDebugReleaseDebugContext() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelDeleteCpumodeEvent() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelDeleteEport() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelDeleteEqueue() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelDeleteEventFlag() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelDeleteFileEvent() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelDeleteGpuExceptionEvent() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelDeleteHRTimerEvent() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelDeleteReadEvent() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelDeleteSema() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelDeleteTimerEvent() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelDeleteUserEvent() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelDeleteWriteEvent() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelDirectMemoryQuery() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelDirectMemoryQueryForId() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelDlsym() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelEnableDmemAliasing() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelEnableDmemAliasing2() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelEnablePthreadObjectCheck() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelError() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelEventLogInit() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelEventLogPread() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelEventLogRead() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelEventLogWrite() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelFchmod() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelFcntl() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelFdatasync() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelFlock() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelFstat() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelFsync() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelFtruncate() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelFutimes() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetAllowedSdkVersionOnSystem() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetAppInfo() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetAslrStatus() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetBackupRestoreMode() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetBackupRestoreModeOfNextBoot() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetBasicProductShape() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetBetaUpdateTestForRcmgr() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetBioUsageAll() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetBootReqNotifyCount() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetCallRecord() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetCompiledSdkVersion() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetCompiledSdkVersionByPath() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetCompiledSdkVersionByPid() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetCpuFrequency() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetCpumode() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetCpumodeGame() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetCpuTemperature() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetCpuUsage() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetCpuUsageAll() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetCpuUsageProc() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetCpuUsageProc2() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetCpuUsageThread() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetCurrentCpu() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetDataTransferMode() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetDebugMenuMiniModeForRcmgr() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetDebugMenuModeForPsmForRcmgr() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetDebugMenuModeForRcmgr() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetdents() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetDirectMemorySize() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetDirectMemoryType() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetdirentries() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetEventData() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetEventError() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetEventFflags() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetEventFilter() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetEventId() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetEventUserData() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetExecutableModuleHandle() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetExtLibcHandle() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetFakeFinalizeMenuForRcmgr() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetFlagedUpdaterForRcmgr() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetForceUpdateModeForRcmgr() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetFsSandboxRandomWord() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetGPI() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetGPO() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetHwFeatureInfoForDecid() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetIdPs() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetIdTableCurrentCount() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetIpcPath() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetLibkernelTextLocation() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetMainSocId() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetModuleInfo() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetModuleInfoForUnwind() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetModuleInfoFromAddr() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetModuleInfoInternal() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetModuleList() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetModuleListInternal() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetOpenPsIdForSystem() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetPageTableStats() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetPagingStatsOfAllObjects() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetPagingStatsOfAllThreads() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetPhysPageSize() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetProcessName() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetProcessTime() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetProcessTimeCounter() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetProcessTimeCounterFrequency() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetProcessType() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetProcParam() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetProductCode() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetProductStr() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetPrtAperture() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetPsmIntdevModeForRcmgr() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetPsnAccessTraceLogForRcmgr() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetQafExpirationTimeNotafterForRcmgr() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetQafExpirationTimeNotbeforeForRcmgr() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetQafGenerationForRcmgr() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetQafNameForRcmgr() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetRenderingMode() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetResidentCount() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetResidentFmemCount() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetSafemode() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetSanitizerMallocReplace() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetSanitizerMallocReplaceExternal() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetSanitizerNewReplace() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetSanitizerNewReplaceExternal() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetSocPowerConsumption() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetSocSensorTemperature() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetSpecialIForRcmgr() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetSubsysId() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetSystemExVersion() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetSystemLevelDebuggerModeForRcmgr() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetSystemSwBeta() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetSystemSwVersion() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetThreadName() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGettimeofday() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGettimezone() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetTraceMemoryStats() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetTscFrequency() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetUtokenDataExecutionForRcmgr() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetUtokenExpirationTimeNotafterForRcmgr() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetUtokenExpirationTimeNotbeforeForRcmgr() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetUtokenFakeSharefactoryForRcmgr() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetUtokenFlagedUpdaterForRcmgr() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetUtokenNpEnvSwitchingForRcmgr() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetUtokenSaveDataRepairForRcmgr() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetUtokenStoreModeForRcmgr() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetUtokenUseSoftwagnerForAcmgr() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetUtokenUseSoftwagnerForRcmgr() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetUtokenWeakenedPortRestrictionForRcmgr() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetVrCaptureSize() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelHasNeoMode() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelHwHasOpticalOut() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelHwHasWlanBt() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelIccControlBDPowerState() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelIccControlUSBPowerState() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelIccGetBDPowerState() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelIccGetCountTime() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelIccGetCPMode() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelIccGetCpuInfoBit() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelIccGetErrLog() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelIccGetHwInfo() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelIccGetPowerNumberOfBootShutdown() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelIccGetPowerOperatingTime() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelIccGetPowerUpCause() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelIccGetSysEventLog() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelIccGetThermalAlert() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelIccGetUSBPowerState() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelIccIndicatorBootDone() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelIccIndicatorShutdown() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelIccIndicatorStandby() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelIccIndicatorStandbyBoot() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelIccIndicatorStandbyShutdown() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelIccNotifyBootStatus() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelIccNvsFlush() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelIccReadPowerBootMessage() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelIccSetBuzzer() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelIccSetCPMode() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelIccSetCpuInfoBit() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelIccSetDownloadMode() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelInstallExceptionHandler() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelInternalGetKmemStatistics() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelInternalGetMapStatistics() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelInternalHeapPrintBacktraceWithModuleInfo() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelInternalMapDirectMemory() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelInternalMapNamedDirectMemory() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelInternalMemoryGetAvailableSize() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelInternalMemoryGetModuleSegmentInfo() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelInternalResumeDirectMemoryRelease() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelInternalSuspendDirectMemoryRelease() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelIsAddressSanitizerEnabled() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelIsAllowedToSelectDvdRegion() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelIsAuthenticNeo() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelIsCEX() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelIsDebuggerAttached() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelIsDevKit() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelIsExperimentalBeta() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelIsGenuineCEX() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelIsGenuineDevKit() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelIsGenuineKratosCex() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelIsGenuineN() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelIsGenuineTestKit() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelIsInSandbox() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelIsKratos() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelIsMainOnStanbyMode() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelIsMainOnStandbyMode() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelIsNeoMode() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelIsStack() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelIsTestKit() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelJitCreateAliasOfSharedMemory() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelJitCreateSharedMemory() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelJitGetSharedMemoryInfo() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelJitMapSharedMemory() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelKernelHeapUsage() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelLoadStartModule() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelLoadStartModuleForSysmodule() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelLseek() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelLwfsAllocateBlock() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelLwfsLseek() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelLwfsSetAttribute() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelLwfsTrimBlock() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelLwfsWrite() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelMapDirectMemory() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelMapDirectMemory2() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelMapFlexibleMemory() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelMapNamedDirectMemory() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelMapNamedFlexibleMemory() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelMapNamedSystemFlexibleMemory() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelMapSanitizerShadowMemory() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelMapTraceMemory() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelMemoryPoolBatch() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelMemoryPoolCommit() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelMemoryPoolDecommit() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelMemoryPoolExpand() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelMemoryPoolGetBlockStats() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelMemoryPoolMove() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelMemoryPoolReserve() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelMkdir() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelMlock() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelMlockall() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelMmap() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelMprotect() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelMsync() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelMtypeprotect() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelMunlock() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelMunlockall() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelMunmap() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelNanosleep() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelNormalizePath() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelNotifyAppStateChanged() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelNotifySystemSuspendResumeProgress() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelNotifySystemSuspendStart() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelOpen() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelOpenEport() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelOpenEventFlag() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelOpenSema() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelPollEventFlag() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelPollSema() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelPread() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelPreadv() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelPrintBacktraceWithModuleInfo() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelProtectDirectMemory() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelProtectDirectMemoryForPID() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelPwrite() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelPwritev() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelQueryMemoryProtection() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelQueryTraceMemory() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelRaiseException() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelRandomizedPath() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelRdup() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelRead() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelReadTsc() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelReadv() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelReboot() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelReleaseDirectMemory() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelReleaseFlexibleMemory() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelReleaseTraceDirectMemory() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelRemoveExceptionHandler() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelRename() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelReportUnpatchedFunctionCall() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelReserve2mbPage() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelReserveSystemDirectMemory() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelReserveVirtualRange() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelResumeDirectMemoryRelease() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelRmdir() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelRtldControl() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelSandboxPath() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelSendNotificationRequest() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelSetAppInfo() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelSetBackupRestoreMode() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelSetBaseModeClock() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelSetBesteffort() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelSetBootReqNotify() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelSetCallRecord() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelSetCompressionAttribute() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelSetCpumodeGame() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelSetDataTransferMode() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelSetEventFlag() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelSetFsstParam() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelSetGameDirectMemoryLimit() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelSetGPI() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelSetGPO() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelSetGpuCu() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelSetMemoryPstate() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelSetNeoModeClock() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelSetPhysFmemLimit() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelSetProcessName() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelSetProcessProperty() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelSetProcessPropertyString() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelSetPrtAperture() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelSetSafemode() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelSettimeofday() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelSetTimezoneInfo() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelSetVirtualRangeName() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelSetVmContainer() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelSignalSema() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelSleep() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelSlvNotifyError() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelStat() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelStopUnloadModule() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelSuspendDirectMemoryRelease() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelSwitchToBaseMode() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelSwitchToNeoMode() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelSync() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelTerminateSysCore() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelTitleWorkaroundIsEnabled() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelTitleWorkdaroundIsEnabled() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelTraceMemoryTypeProtect() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelTriggerEport() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelTriggerUserEvent() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelTruncate() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelUnlink() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelUsleep() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelUtimes() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelUuidCreate() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelVirtualQuery() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelVirtualQueryAll() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelWaitEqueue() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelWaitEventFlag() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelWaitSema() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelWrite() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelWriteSdkEventLog() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelWritev() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelYieldCpumode() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceLibcMspaceCreateForMonoMutex() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadAtfork() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadAttrDestroy() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadAttrGet() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadAttrGetaffinity() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadAttrGetdetachstate() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadAttrGetguardsize() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadAttrGetinheritsched() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadAttrGetschedparam() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadAttrGetschedpolicy() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadAttrGetscope() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadAttrGetstack() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadAttrGetstackaddr() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadAttrGetstacksize() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadAttrInit() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadAttrSetaffinity() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadAttrSetcreatesuspend() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadAttrSetdetachstate() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadAttrSetguardsize() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadAttrSetinheritsched() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadAttrSetschedparam() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadAttrSetschedpolicy() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadAttrSetscope() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadAttrSetstack() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadAttrSetstackaddr() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadAttrSetstacksize() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadBarrierattrDestroy() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadBarrierattrGetpshared() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadBarrierattrInit() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadBarrierattrSetpshared() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadBarrierDestroy() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadBarrierInit() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadBarrierWait() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadCancel() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadCondattrDestroy() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadCondattrGetclock() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadCondattrGetpshared() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadCondattrInit() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadCondattrSetclock() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadCondattrSetpshared() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadCondBroadcast() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadCondDestroy() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadCondInit() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadCondSignal() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadCondSignalto() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadCondTimedwait() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadCondWait() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadCreate() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadDetach() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadEqual() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadExit() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadGetaffinity() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadGetconcurrency() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadGetcpuclockid() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadGetname() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadGetprio() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadGetschedparam() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadGetspecific() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadGetthreadid() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadJoin() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadKeyCreate() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadKeyDelete() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadMain() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadMulti() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadMutexattrDestroy() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadMutexattrGetkind() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadMutexattrGetprioceiling() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadMutexattrGetprotocol() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadMutexattrGetpshared() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadMutexattrGettype() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadMutexattrInit() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadMutexattrInitForInternalLibc() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadMutexattrSetkind() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadMutexattrSetprioceiling() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadMutexattrSetprotocol() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadMutexattrSetpshared() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadMutexattrSettype() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadMutexDestroy() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadMutexGetprioceiling() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadMutexGetspinloops() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadMutexGetyieldloops() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadMutexInit() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadMutexInitForInternalLibc() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadMutexIsowned() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadMutexLock() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadMutexSetprioceiling() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadMutexSetspinloops() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadMutexSetyieldloops() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadMutexTimedlock() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadMutexTrylock() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadMutexUnlock() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadOnce() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadRename() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadResume() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadResumeAll() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadRwlockattrDestroy() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadRwlockattrGetpshared() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadRwlockattrGettype() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadRwlockattrInit() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadRwlockattrSetpshared() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadRwlockattrSettype() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadRwlockDestroy() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadRwlockInit() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadRwlockRdlock() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadRwlockTimedrdlock() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadRwlockTimedwrlock() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadRwlockTryrdlock() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadRwlockTrywrlock() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadRwlockUnlock() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadRwlockWrlock() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadSelf() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadSemDestroy() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadSemGetvalue() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadSemInit() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadSemPost() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadSemTimedwait() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadSemTrywait() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadSemWait() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadSetaffinity() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadSetBesteffort() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadSetcancelstate() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadSetcanceltype() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadSetconcurrency() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadSetDefaultstacksize() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadSetName() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadSetprio() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadSetschedparam() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadSetspecific() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadSingle() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadSuspend() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadSuspendAll() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadTestcancel() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadTimedjoin() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI scePthreadYield() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sched_get_priority_max() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sched_get_priority_min() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sched_getparam() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sched_getscheduler() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sched_rr_get_interval() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sched_setparam() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sched_setscheduler() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sched_yield() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI select() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sem_close() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sem_destroy() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sem_getvalue() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sem_init() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sem_open() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sem_post() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sem_reltimedwait_np() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sem_setname() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sem_timedwait() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sem_trywait() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sem_unlink() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sem_wait() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI send() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sendfile() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sendmsg() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sendto() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI set_phys_fmem_limit() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI setcontext() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI setegid() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI seteuid() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI setgroups() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI setitimer() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI setpriority() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI setregid() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI setreuid() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI setrlimit() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI setsockopt() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI settimeofday() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI setuid() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI shm_open() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI shm_unlink() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI shutdown() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sigaction() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sigaddset() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sigaltstack() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sigdelset() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sigemptyset() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sigfillset() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sigismember() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI siglongjmp() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI signal() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sigpending() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sigprocmask() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sigqueue() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sigreturn() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sigsetjmp() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sigsuspend() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sigtimedwait() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sigwait() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sigwaitinfo() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sleep() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI socket() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI socketpair() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI stat() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI swapcontext() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sync() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sysarch() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sysconf() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sysctl() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sysctlbyname() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sysctlnametomib() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sysKernelGetIntdevModeForRcmgr() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sysKernelGetLowerLimitSysexVersion() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sysKernelGetLowerLimitUpdVersion() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sysKernelGetManufacturingMode() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sysKernelGetUpdVersion() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI system() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI tcdrain() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI tcflow() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI tcflush() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI tcgetattr() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI tcgetpgrp() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI tcgetsid() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI tcsendbreak() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI tcsetattr() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI tcsetpgrp() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI tcsetsid() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI truncate() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI unlink() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI usleep() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI utimes() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI uuidgen() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI wait() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI wait3() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI waitpid() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI write() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI writev() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI Func_37DE1AD13E05E3E5() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI Func_71A7C3C5AEB8B0EE() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI Func_829822FC6C04D88B() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI Func_866AB0F0694DFAD2() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI Func_8CCB8DA014423D48() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI Func_AAD1CE2ED156ABB6() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI Func_B95F988A5707A80B() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI Func_BDF61AC64C672574() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI Func_BFEA9394D8C5EA41() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI Func_C740D02B44D70E4D() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI Func_D6FDB7C3B4679227() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI Func_DB02A3203D221953() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI Func_DB1838257BDA27A9() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI Func_FCF341DED7E70FC7() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI Func_FEE3EAF3655B44C2() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelIsProspero() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetOpenPsId() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI Func_0A531D1EEBBE4750() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetModuleInfo2() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelGetModuleList2() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceKernelIsModuleLoaded() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sysc_e00() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sysc_s00() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceCoredumpAttachMemoryRegion() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceCoredumpAttachMemoryRegionAsUserFile() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceCoredumpAttachUserFile() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceCoredumpAttachUserMemoryFile() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceCoredumpConfigDumpMode() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceCoredumpDebugTextOut() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceCoredumpGetStopInfoCpu() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceCoredumpGetStopInfoGpu() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceCoredumpGetThreadContextInfo() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceCoredumpInternalGetThreadContextInfo() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceCoredumpRegisterCoredumpHandler() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceCoredumpSetUserDataType() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceCoredumpUnregisterCoredumpHandler() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceCoredumpWriteUserData() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI Func_9889095293F9BCAA() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceCoredumpDebugForceCoredumpOnAppClose() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} - -int PS4_SYSV_ABI sceCoredumpDebugTriggerCoredump() { - LOG_ERROR(Kernel, "(STUBBED) called"); - return ORBIS_OK; -} -*/ -void Registerlibkernel(Core::Loader::SymbolsResolver* sym) { - /* LIB_FUNCTION("Fjc4-n1+y2g", "libkernel", 1, "libkernel", 1, 1, __elf_phdr_match_addr); - LIB_FUNCTION("9BcDykPmo1I", "libkernel", 1, "libkernel", 1, 1, __error); - LIB_FUNCTION("nSSPVGJLMjE", "libkernel", 1, "libkernel", 1, 1, __freeze); - LIB_FUNCTION("4pYihoPggn8", "libkernel", 1, "libkernel", 1, 1, __inet_ntop); - LIB_FUNCTION("fyPeCKJ94Hg", "libkernel", 1, "libkernel", 1, 1, __inet_pton); - LIB_FUNCTION("djxxOmW6-aw", "libkernel", 1, "libkernel", 1, 1, __progname); - LIB_FUNCTION("iWsFlYMf3Kw", "libkernel", 1, "libkernel", 1, 1, __pthread_cleanup_pop_imp); - LIB_FUNCTION("1xvtUVx1-Sg", "libkernel", 1, "libkernel", 1, 1, __pthread_cleanup_push_imp); - LIB_FUNCTION("kbw4UHHSYy0", "libkernel", 1, "libkernel", 1, 1, __pthread_cxa_finalize); - LIB_FUNCTION("3JYhkiIHkJc", "libkernel", 1, "libkernel", 1, 1, __sceKernelGetGPI); - LIB_FUNCTION("Ou3iL1abvng", "libkernel", 1, "libkernel", 1, 1, __stack_chk_fail); - LIB_FUNCTION("f7uOxY9mM1U", "libkernel", 1, "libkernel", 1, 1, __stack_chk_guard); - LIB_FUNCTION("zdaF5N-Xe2M", "libkernel", 1, "libkernel", 1, 1, __sys_debug_init); - LIB_FUNCTION("YbAunrti+54", "libkernel", 1, "libkernel", 1, 1, __sys_dl_get_info); - LIB_FUNCTION("XujojypwYYc", "libkernel", 1, "libkernel", 1, 1, __sys_dl_get_list); - LIB_FUNCTION("7OpNDDNMJyo", "libkernel", 1, "libkernel", 1, 1, __sys_dl_get_metadata); - LIB_FUNCTION("K7xiuldOPKw", "libkernel", 1, "libkernel", 1, 1, - __sys_dynlib_get_info_for_libdbg); - LIB_FUNCTION("nTc+tFajGqQ", "libkernel", 1, "libkernel", 1, 1, __sys_dynlib_get_info2); - LIB_FUNCTION("vpo3SbGFuEk", "libkernel", 1, "libkernel", 1, 1, - __sys_dynlib_get_list_for_libdbg); - LIB_FUNCTION("P0jjY6bxakI", "libkernel", 1, "libkernel", 1, 1, __sys_dynlib_get_list2); - LIB_FUNCTION("nZHk+lpqwVQ", "libkernel", 1, "libkernel", 1, 1, __sys_dynlib_load_prx); - LIB_FUNCTION("nG-FYqFutUo", "libkernel", 1, "libkernel", 1, 1, __sys_get_proc_type_info); - LIB_FUNCTION("O-hEvSnv2o4", "libkernel", 1, "libkernel", 1, 1, __sys_is_development_mode); - LIB_FUNCTION("2M+dFM8Wmq4", "libkernel", 1, "libkernel", 1, 1, __sys_kqueueex); - LIB_FUNCTION("3CNY4Z0Luc8", "libkernel", 1, "libkernel", 1, 1, __sys_namedobj_create); - LIB_FUNCTION("E7CmfLfeSuQ", "libkernel", 1, "libkernel", 1, 1, __sys_namedobj_delete); - LIB_FUNCTION("UTR6wAkajxk", "libkernel", 1, "libkernel", 1, 1, __sys_netabort); - LIB_FUNCTION("zsTvhCDrOjQ", "libkernel", 1, "libkernel", 1, 1, __sys_netcontrol); - LIB_FUNCTION("X86Q0qQJ1m0", "libkernel", 1, "libkernel", 1, 1, __sys_netgetiflist); - LIB_FUNCTION("Wx2+2t1mX1E", "libkernel", 1, "libkernel", 1, 1, __sys_netgetsockinfo); - LIB_FUNCTION("iZFJYJJoZS8", "libkernel", 1, "libkernel", 1, 1, __sys_opmc_disable); - LIB_FUNCTION("MGrj20+EK+U", "libkernel", 1, "libkernel", 1, 1, __sys_opmc_enable); - LIB_FUNCTION("h+4DJpAXs4I", "libkernel", 1, "libkernel", 1, 1, __sys_opmc_get_ctr); - LIB_FUNCTION("IglowNcOePQ", "libkernel", 1, "libkernel", 1, 1, __sys_opmc_get_hw); - LIB_FUNCTION("vS-RnoD1BSY", "libkernel", 1, "libkernel", 1, 1, __sys_opmc_set_ctl); - LIB_FUNCTION("ztNqqNCl1Tw", "libkernel", 1, "libkernel", 1, 1, __sys_opmc_set_ctr); - LIB_FUNCTION("PIt9WYaoBqU", "libkernel", 1, "libkernel", 1, 1, __sys_opmc_set_hw); - LIB_FUNCTION("raO+bB7q2cY", "libkernel", 1, "libkernel", 1, 1, __sys_osem_close); - LIB_FUNCTION("kPGXeSQeoWc", "libkernel", 1, "libkernel", 1, 1, __sys_osem_open); - LIB_FUNCTION("n0ErFZ2hmKs", "libkernel", 1, "libkernel", 1, 1, __sys_randomized_path); - LIB_FUNCTION("9Iem9Wk07xU", "libkernel", 1, "libkernel", 1, 1, __sys_rdup); - LIB_FUNCTION("7NwggrWJ5cA", "libkernel", 1, "libkernel", 1, 1, __sys_regmgr_call); - LIB_FUNCTION("ByogDrS-Xw8", "libkernel", 1, "libkernel", 1, 1, __sys_set_uevt); - LIB_FUNCTION("t+rTx5NW+qU", "libkernel", 1, "libkernel", 1, 1, __sys_socketclose); - LIB_FUNCTION("pG70GT5yRo4", "libkernel", 1, "libkernel", 1, 1, __sys_socketex); - LIB_FUNCTION("EeVthQocE3Y", "libkernel", 1, "libkernel", 1, 1, __sys_test_debug_rwmem); - LIB_FUNCTION("jTPE1AS7uak", "libkernel", 1, "libkernel", 1, 1, __sys_workaround8849); - LIB_FUNCTION("vNe1w4diLCs", "libkernel", 1, "libkernel", 1, 1, __tls_get_addr); - LIB_FUNCTION("OjWstbIRPUo", "libkernel", 1, "libkernel", 1, 1, __Ux86_64_setcontext); - LIB_FUNCTION("B+zfF7bMswI", "libkernel", 1, "libkernel", 1, 1, _accept); - LIB_FUNCTION("4boImm4wxu0", "libkernel", 1, "libkernel", 1, 1, _bind); - LIB_FUNCTION("NNtFaKJbPt0", "libkernel", 1, "libkernel", 1, 1, _close); - LIB_FUNCTION("KFDGyLj80MY", "libkernel", 1, "libkernel", 1, 1, _connect); - LIB_FUNCTION("W8f1adVl+48", "libkernel", 1, "libkernel", 1, 1, _dup2); - LIB_FUNCTION("-3nj+K1elI0", "libkernel", 1, "libkernel", 1, 1, _execve); - LIB_FUNCTION("ScfDTOqLOMw", "libkernel", 1, "libkernel", 1, 1, _execvpe); - LIB_FUNCTION("6Z83sYWFlA8", "libkernel", 1, "libkernel", 1, 1, _exit); - LIB_FUNCTION("t0fXUzq61Z4", "libkernel", 1, "libkernel", 1, 1, _fcntl); - LIB_FUNCTION("cZq1zIzFN7s", "libkernel", 1, "libkernel", 1, 1, _fpathconf); - LIB_FUNCTION("A0O5kF5x4LQ", "libkernel", 1, "libkernel", 1, 1, _fstat); - LIB_FUNCTION("17Mfe1B3X6U", "libkernel", 1, "libkernel", 1, 1, _fstatfs); - LIB_FUNCTION("sfKygSjIbI8", "libkernel", 1, "libkernel", 1, 1, _getdirentries); - LIB_FUNCTION("rTNM7adVYog", "libkernel", 1, "libkernel", 1, 1, _getpeername); - LIB_FUNCTION("6Gwl39KKUEI", "libkernel", 1, "libkernel", 1, 1, _getsockname); - LIB_FUNCTION("cL2QUlo9Vnk", "libkernel", 1, "libkernel", 1, 1, _getsockopt); - LIB_FUNCTION("wW+k21cmbwQ", "libkernel", 1, "libkernel", 1, 1, _ioctl); - LIB_FUNCTION("crb5j7mkk1c", "libkernel", 1, "libkernel", 1, 1, _is_signal_return); - LIB_FUNCTION("6EYF3tXjXbU", "libkernel", 1, "libkernel", 1, 1, _listen); - LIB_FUNCTION("NhpspxdjEKU", "libkernel", 1, "libkernel", 1, 1, _nanosleep); - LIB_FUNCTION("6c3rCVE-fTU", "libkernel", 1, "libkernel", 1, 1, _open); - LIB_FUNCTION("bGVEgWXy6dg", "libkernel", 1, "libkernel", 1, 1, _openat); - LIB_FUNCTION("DRuBt2pvICk", "libkernel", 1, "libkernel", 1, 1, _read); - LIB_FUNCTION("+WRlkKjZvag", "libkernel", 1, "libkernel", 1, 1, _readv); - LIB_FUNCTION("gPcQ3OrFBUA", "libkernel", 1, "libkernel", 1, 1, _recvfrom); - LIB_FUNCTION("PcKApW9kVoQ", "libkernel", 1, "libkernel", 1, 1, _recvmsg); - LIB_FUNCTION("p5EcQeEeJAE", "libkernel", 1, "libkernel", 1, 1, - _sceKernelRtldSetApplicationHeapAPI); - LIB_FUNCTION("8OnWXlgQlvo", "libkernel", 1, "libkernel", 1, 1, - _sceKernelRtldThreadAtexitDecrement); - LIB_FUNCTION("Tz4RNUCBbGI", "libkernel", 1, "libkernel", 1, 1, - _sceKernelRtldThreadAtexitIncrement); - LIB_FUNCTION("pB-yGZ2nQ9o", "libkernel", 1, "libkernel", 1, 1, _sceKernelSetThreadAtexitCount); - LIB_FUNCTION("WhCc1w3EhSI", "libkernel", 1, "libkernel", 1, 1, _sceKernelSetThreadAtexitReport); - LIB_FUNCTION("rNhWz+lvOMU", "libkernel", 1, "libkernel", 1, 1, _sceKernelSetThreadDtors); - LIB_FUNCTION("+L22kkFiXok", "libkernel", 1, "libkernel", 1, 1, _sendmsg); - LIB_FUNCTION("lvDhwhUC05E", "libkernel", 1, "libkernel", 1, 1, _sendto); - LIB_FUNCTION("a4KKvF-ME4M", "libkernel", 1, "libkernel", 1, 1, _setsockopt); - LIB_FUNCTION("UDCI-WazohQ", "libkernel", 1, "libkernel", 1, 1, _sigaction); - LIB_FUNCTION("nQVWJEGHObc", "libkernel", 1, "libkernel", 1, 1, _sigintr); - LIB_FUNCTION("6xVpy0Fdq+I", "libkernel", 1, "libkernel", 1, 1, _sigprocmask); - LIB_FUNCTION("9zpLsLESzTs", "libkernel", 1, "libkernel", 1, 1, _sigsuspend); - LIB_FUNCTION("04AjkP0jO9U", "libkernel", 1, "libkernel", 1, 1, _umtx_op); - LIB_FUNCTION("RFlsu7nfopM", "libkernel", 1, "libkernel", 1, 1, _wait4);*/ - LIB_FUNCTION("FxVZqBAA7ks", "libkernel", 1, "libkernel", 1, 1, ps4__write); - /* LIB_FUNCTION("YSHRBRLn2pI", "libkernel", 1, "libkernel", 1, 1, _writev); - LIB_FUNCTION("3e+4Iv7IJ8U", "libkernel", 1, "libkernel", 1, 1, accept); - LIB_FUNCTION("8vE6Z6VEYyk", "libkernel", 1, "libkernel", 1, 1, access); - LIB_FUNCTION("3SVaehJvYFk", "libkernel", 1, "libkernel", 1, 1, amd64_set_fsbase); - LIB_FUNCTION("KuOmgKoqCdY", "libkernel", 1, "libkernel", 1, 1, bind); - LIB_FUNCTION("-pOg5A6Yr6g", "libkernel", 1, "libkernel", 1, 1, blockpool_batch); - LIB_FUNCTION("99XpfyBTg9c", "libkernel", 1, "libkernel", 1, 1, blockpool_map); - LIB_FUNCTION("JVgZfJt3ZqQ", "libkernel", 1, "libkernel", 1, 1, blockpool_open); - LIB_FUNCTION("KZchfealTT4", "libkernel", 1, "libkernel", 1, 1, blockpool_unmap); - LIB_FUNCTION("6mMQ1MSPW-Q", "libkernel", 1, "libkernel", 1, 1, chdir); - LIB_FUNCTION("ixrw0h2tWuI", "libkernel", 1, "libkernel", 1, 1, chflags); - LIB_FUNCTION("z0dtnPxYgtg", "libkernel", 1, "libkernel", 1, 1, chmod); - LIB_FUNCTION("smIj7eqzZE8", "libkernel", 1, "libkernel", 1, 1, clock_getres); - LIB_FUNCTION("lLMT9vJAck0", "libkernel", 1, "libkernel", 1, 1, clock_gettime); - LIB_FUNCTION("d7nUj1LOdDU", "libkernel", 1, "libkernel", 1, 1, clock_settime); - LIB_FUNCTION("bY-PO6JhzhQ", "libkernel", 1, "libkernel", 1, 1, close); - LIB_FUNCTION("XVL8So3QJUk", "libkernel", 1, "libkernel", 1, 1, connect); - LIB_FUNCTION("Pdgml4rbxYk", "libkernel", 1, "libkernel", 1, 1, cpuset_getaffinity); - LIB_FUNCTION("DGY7qWLcHGA", "libkernel", 1, "libkernel", 1, 1, cpuset_getid); - LIB_FUNCTION("0Ma-LQjv6So", "libkernel", 1, "libkernel", 1, 1, cpuset_setaffinity); - LIB_FUNCTION("5AMS0IntU8I", "libkernel", 1, "libkernel", 1, 1, creat); - LIB_FUNCTION("oiT0vgzmW0M", "libkernel", 1, "libkernel", 1, 1, dlclose); - LIB_FUNCTION("ucFJiTO1EUw", "libkernel", 1, "libkernel", 1, 1, dlerror); - LIB_FUNCTION("UteVS6B1ZrU", "libkernel", 1, "libkernel", 1, 1, dlopen); - LIB_FUNCTION("biY+kcVB5D4", "libkernel", 1, "libkernel", 1, 1, dlsym); - LIB_FUNCTION("iiQjzvfWDq0", "libkernel", 1, "libkernel", 1, 1, dup); - LIB_FUNCTION("wdUufa9g-D8", "libkernel", 1, "libkernel", 1, 1, dup2); - LIB_FUNCTION("6eh9QGpaRWw", "libkernel", 1, "libkernel", 1, 1, dynlib_get_obj_member); - LIB_FUNCTION("+2thxYZ4syk", "libkernel", 1, "libkernel", 1, 1, _environ); - LIB_FUNCTION("8KHh+VefZDM", "libkernel", 1, "libkernel", 1, 1, _errno); - LIB_FUNCTION("KaK52lYTBIs", "libkernel", 1, "libkernel", 1, 1, execv); - LIB_FUNCTION("kdguLiAheLI", "libkernel", 1, "libkernel", 1, 1, execve); - LIB_FUNCTION("0NJDcQ2B8vE", "libkernel", 1, "libkernel", 1, 1, execvp); - LIB_FUNCTION("UJrQCyYpyic", "libkernel", 1, "libkernel", 1, 1, fchflags); - LIB_FUNCTION("n01yNbQO5W4", "libkernel", 1, "libkernel", 1, 1, fchmod); - LIB_FUNCTION("8nY19bKoiZk", "libkernel", 1, "libkernel", 1, 1, fcntl); - LIB_FUNCTION("KIbJFQ0I1Cg", "libkernel", 1, "libkernel", 1, 1, fdatasync); - LIB_FUNCTION("9eMlfusH4sU", "libkernel", 1, "libkernel", 1, 1, flock); - LIB_FUNCTION("mqQMh1zPPT8", "libkernel", 1, "libkernel", 1, 1, fstat); - LIB_FUNCTION("juWbTNM+8hw", "libkernel", 1, "libkernel", 1, 1, fsync); - LIB_FUNCTION("ih4CD9-gghM", "libkernel", 1, "libkernel", 1, 1, ftruncate); - LIB_FUNCTION("+0EDo7YzcoU", "libkernel", 1, "libkernel", 1, 1, futimes); - LIB_FUNCTION("igMefp4SAv0", "libkernel", 1, "libkernel", 1, 1, get_authinfo); - LIB_FUNCTION("wwyXc68wvnA", "libkernel", 1, "libkernel", 1, 1, get_module_info_list); - LIB_FUNCTION("WtR7OVvUgSo", "libkernel", 1, "libkernel", 1, 1, get_page_table_stats); - LIB_FUNCTION("fi+JX2wq2XU", "libkernel", 1, "libkernel", 1, 1, get_sdk_compiled_version); - LIB_FUNCTION("p2xgfB-30g8", "libkernel", 1, "libkernel", 1, 1, get_self_auth_info); - LIB_FUNCTION("Hx-KCms9n4s", "libkernel", 1, "libkernel", 1, 1, get_vm_map_timestamp); - LIB_FUNCTION("iKJMWrAumPE", "libkernel", 1, "libkernel", 1, 1, getargc); - LIB_FUNCTION("FJmglmTMdr4", "libkernel", 1, "libkernel", 1, 1, getargv); - LIB_FUNCTION("dar03AOn+nM", "libkernel", 1, "libkernel", 1, 1, getcontext); - LIB_FUNCTION("2G6i6hMIUUY", "libkernel", 1, "libkernel", 1, 1, getdents); - LIB_FUNCTION("f09KvIPy-QY", "libkernel", 1, "libkernel", 1, 1, getdirentries); - LIB_FUNCTION("sZuwaDPATKs", "libkernel", 1, "libkernel", 1, 1, getdtablesize); - LIB_FUNCTION("72rYuYoDTWk", "libkernel", 1, "libkernel", 1, 1, getegid); - LIB_FUNCTION("tvpHe5kBO4E", "libkernel", 1, "libkernel", 1, 1, geteuid); - LIB_FUNCTION("AfuS23bX6kg", "libkernel", 1, "libkernel", 1, 1, getgid); - LIB_FUNCTION("3yjZbSvan2g", "libkernel", 1, "libkernel", 1, 1, getgroups); - LIB_FUNCTION("J1H1QRCJf2Q", "libkernel", 1, "libkernel", 1, 1, getitimer); - LIB_FUNCTION("AfMxh2e9V3Q", "libkernel", 1, "libkernel", 1, 1, getlogin); - LIB_FUNCTION("78FiHequa9U", "libkernel", 1, "libkernel", 1, 1, getlogin_r); - LIB_FUNCTION("k+AXqu2-eBc", "libkernel", 1, "libkernel", 1, 1, getpagesize); - LIB_FUNCTION("TXFFFiNldU8", "libkernel", 1, "libkernel", 1, 1, getpeername); - LIB_FUNCTION("HoLVWNanBBc", "libkernel", 1, "libkernel", 1, 1, getpid); - LIB_FUNCTION("e6ovBo9ZvJc", "libkernel", 1, "libkernel", 1, 1, getppid); - LIB_FUNCTION("miQ1wVwSexE", "libkernel", 1, "libkernel", 1, 1, getpriority); - LIB_FUNCTION("Wh7HbV7JFqc", "libkernel", 1, "libkernel", 1, 1, getrlimit); - LIB_FUNCTION("hHlZQUnlxSM", "libkernel", 1, "libkernel", 1, 1, getrusage); - LIB_FUNCTION("gokWod7GAH4", "libkernel", 1, "libkernel", 1, 1, getsid); - LIB_FUNCTION("RenI1lL1WFk", "libkernel", 1, "libkernel", 1, 1, getsockname); - LIB_FUNCTION("6O8EwYOgH9Y", "libkernel", 1, "libkernel", 1, 1, getsockopt); - LIB_FUNCTION("n88vx3C5nW8", "libkernel", 1, "libkernel", 1, 1, gettimeofday); - LIB_FUNCTION("kg4x8Prhfxw", "libkernel", 1, "libkernel", 1, 1, getuid); - LIB_FUNCTION("K1S8oc61xiM", "libkernel", 1, "libkernel", 1, 1, htonl); - LIB_FUNCTION("jogUIsOV3-U", "libkernel", 1, "libkernel", 1, 1, htons); - LIB_FUNCTION("5jRCs2axtr4", "libkernel", 1, "libkernel", 1, 1, inet_ntop); - LIB_FUNCTION("4n51s0zEf0c", "libkernel", 1, "libkernel", 1, 1, inet_pton); - LIB_FUNCTION("PfccT7qURYE", "libkernel", 1, "libkernel", 1, 1, ioctl); - LIB_FUNCTION("Hk7iHmGxB18", "libkernel", 1, "libkernel", 1, 1, ipmimgr_call); - LIB_FUNCTION("WaThXSvAQNc", "libkernel", 1, "libkernel", 1, 1, is_in_sandbox); - LIB_FUNCTION("AxUhC3zNrhk", "libkernel", 1, "libkernel", 1, 1, issetugid); - LIB_FUNCTION("RW-GEfpnsqg", "libkernel", 1, "libkernel", 1, 1, kevent); - LIB_FUNCTION("W0xkN0+ZkCE", "libkernel", 1, "libkernel", 1, 1, kill); - LIB_FUNCTION("nh2IFMgKTv8", "libkernel", 1, "libkernel", 1, 1, kqueue); - LIB_FUNCTION("pv9M2jHJ6iw", "libkernel", 1, "libkernel", 1, 1, ksem_close); - LIB_FUNCTION("asSKL30+heA", "libkernel", 1, "libkernel", 1, 1, ksem_destroy); - LIB_FUNCTION("rOT0UMvtCCA", "libkernel", 1, "libkernel", 1, 1, ksem_getvalue); - LIB_FUNCTION("TEwqtzAmezo", "libkernel", 1, "libkernel", 1, 1, ksem_init); - LIB_FUNCTION("k5QQrJEpRYY", "libkernel", 1, "libkernel", 1, 1, ksem_open); - LIB_FUNCTION("s8gWJrY1W-k", "libkernel", 1, "libkernel", 1, 1, ksem_post); - LIB_FUNCTION("vE+WlomLSh4", "libkernel", 1, "libkernel", 1, 1, ksem_timedwait); - LIB_FUNCTION("gVaofuRvLdU", "libkernel", 1, "libkernel", 1, 1, ksem_trywait); - LIB_FUNCTION("tvkQRDe6hNo", "libkernel", 1, "libkernel", 1, 1, ksem_unlink); - LIB_FUNCTION("rQvMIxmFD6A", "libkernel", 1, "libkernel", 1, 1, ksem_wait); - LIB_FUNCTION("SFjw4+HOVOQ", "libkernel", 1, "libkernel", 1, 1, ktimer_create); - LIB_FUNCTION("Uyss1eAFtWo", "libkernel", 1, "libkernel", 1, 1, ktimer_delete); - LIB_FUNCTION("tj-nUlJCp-8", "libkernel", 1, "libkernel", 1, 1, ktimer_getoverrun); - LIB_FUNCTION("mZlElqorITk", "libkernel", 1, "libkernel", 1, 1, ktimer_gettime); - LIB_FUNCTION("ZWNwgNgglzA", "libkernel", 1, "libkernel", 1, 1, ktimer_settime); - LIB_FUNCTION("pxnCmagrtao", "libkernel", 1, "libkernel", 1, 1, listen); - LIB_FUNCTION("Oy6IpwgtYOk", "libkernel", 1, "libkernel", 1, 1, lseek); - LIB_FUNCTION("DRGXpDDh8Ng", "libkernel", 1, "libkernel", 1, 1, lstat); - LIB_FUNCTION("Jahsnh4KKkg", "libkernel", 1, "libkernel", 1, 1, madvise); - LIB_FUNCTION("LYbbZxXNAns", "libkernel", 1, "libkernel", 1, 1, mdbg_service); - LIB_FUNCTION("+hFjyohmOU0", "libkernel", 1, "libkernel", 1, 1, mincore); - LIB_FUNCTION("JGMio+21L4c", "libkernel", 1, "libkernel", 1, 1, mkdir); - LIB_FUNCTION("mTBZfEal2Bw", "libkernel", 1, "libkernel", 1, 1, mlock); - LIB_FUNCTION("x7g7Ebeo8-U", "libkernel", 1, "libkernel", 1, 1, mlockall); - LIB_FUNCTION("BPE9s9vQQXo", "libkernel", 1, "libkernel", 1, 1, mmap); - LIB_FUNCTION("YQOfxL4QfeU", "libkernel", 1, "libkernel", 1, 1, mprotect); - LIB_FUNCTION("tZY4+SZNFhA", "libkernel", 1, "libkernel", 1, 1, msync); - LIB_FUNCTION("OG4RsDwLguo", "libkernel", 1, "libkernel", 1, 1, munlock); - LIB_FUNCTION("NpLBpgVV7PU", "libkernel", 1, "libkernel", 1, 1, munlockall); - LIB_FUNCTION("UqDGjXA5yUM", "libkernel", 1, "libkernel", 1, 1, munmap); - LIB_FUNCTION("yS8U2TGCe1A", "libkernel", 1, "libkernel", 1, 1, nanosleep); - LIB_FUNCTION("jct5WjixLgk", "libkernel", 1, "libkernel", 1, 1, ntohl); - LIB_FUNCTION("oLFi+HuZ7hY", "libkernel", 1, "libkernel", 1, 1, ntohs); - LIB_FUNCTION("wuCroIGjt2g", "libkernel", 1, "libkernel", 1, 1, open); - LIB_FUNCTION("EDyhWelj7UY", "libkernel", 1, "libkernel", 1, 1, pause); - LIB_FUNCTION("n371J5cP+uo", "libkernel", 1, "libkernel", 1, 1, physhm_open); - LIB_FUNCTION("AUqJNkobQ1c", "libkernel", 1, "libkernel", 1, 1, physhm_unlink); - LIB_FUNCTION("-Jp7F+pXxNg", "libkernel", 1, "libkernel", 1, 1, pipe); - LIB_FUNCTION("ku7D4q1Y9PI", "libkernel", 1, "libkernel", 1, 1, poll); - LIB_FUNCTION("ezv-RSBNKqI", "libkernel", 1, "libkernel", 1, 1, pread); - LIB_FUNCTION("ZaRzaapAZwM", "libkernel", 1, "libkernel", 1, 1, preadv); - LIB_FUNCTION("CpF21FIEKVQ", "libkernel", 1, "libkernel", 1, 1, profil); - LIB_FUNCTION("ZO2nWoTAv60", "libkernel", 1, "libkernel", 1, 1, pselect); - LIB_FUNCTION("U9t5kJAWPnA", "libkernel", 1, "libkernel", 1, 1, pthread_atfork); - LIB_FUNCTION("zHchY8ft5pk", "libkernel", 1, "libkernel", 1, 1, pthread_attr_destroy); - LIB_FUNCTION("Ucsu-OK+els", "libkernel", 1, "libkernel", 1, 1, pthread_attr_get_np); - LIB_FUNCTION("-wzZ7dvA7UU", "libkernel", 1, "libkernel", 1, 1, pthread_attr_getaffinity_np); - LIB_FUNCTION("VUT1ZSrHT0I", "libkernel", 1, "libkernel", 1, 1, pthread_attr_getdetachstate); - LIB_FUNCTION("JNkVVsVDmOk", "libkernel", 1, "libkernel", 1, 1, pthread_attr_getguardsize); - LIB_FUNCTION("oLjPqUKhzes", "libkernel", 1, "libkernel", 1, 1, pthread_attr_getinheritsched); - LIB_FUNCTION("qlk9pSLsUmM", "libkernel", 1, "libkernel", 1, 1, pthread_attr_getschedparam); - LIB_FUNCTION("RtLRV-pBTTY", "libkernel", 1, "libkernel", 1, 1, pthread_attr_getschedpolicy); - LIB_FUNCTION("e2G+cdEkOmU", "libkernel", 1, "libkernel", 1, 1, pthread_attr_getscope); - LIB_FUNCTION("vQm4fDEsWi8", "libkernel", 1, "libkernel", 1, 1, pthread_attr_getstack); - LIB_FUNCTION("DxmIMUQ-wXY", "libkernel", 1, "libkernel", 1, 1, pthread_attr_getstackaddr); - LIB_FUNCTION("0qOtCR-ZHck", "libkernel", 1, "libkernel", 1, 1, pthread_attr_getstacksize); - LIB_FUNCTION("wtkt-teR1so", "libkernel", 1, "libkernel", 1, 1, pthread_attr_init); - LIB_FUNCTION("o8pd4juNbgc", "libkernel", 1, "libkernel", 1, 1, pthread_attr_setaffinity_np); - LIB_FUNCTION("Q2y5IqSDZGs", "libkernel", 1, "libkernel", 1, 1, - pthread_attr_setcreatesuspend_np); - LIB_FUNCTION("E+tyo3lp5Lw", "libkernel", 1, "libkernel", 1, 1, pthread_attr_setdetachstate); - LIB_FUNCTION("JKyG3SWyA10", "libkernel", 1, "libkernel", 1, 1, pthread_attr_setguardsize); - LIB_FUNCTION("7ZlAakEf0Qg", "libkernel", 1, "libkernel", 1, 1, pthread_attr_setinheritsched); - LIB_FUNCTION("euKRgm0Vn2M", "libkernel", 1, "libkernel", 1, 1, pthread_attr_setschedparam); - LIB_FUNCTION("JarMIy8kKEY", "libkernel", 1, "libkernel", 1, 1, pthread_attr_setschedpolicy); - LIB_FUNCTION("xesmlSI-KCI", "libkernel", 1, "libkernel", 1, 1, pthread_attr_setscope); - LIB_FUNCTION("-SrbXpGR1f0", "libkernel", 1, "libkernel", 1, 1, pthread_attr_setstack); - LIB_FUNCTION("suCrEbr0xIQ", "libkernel", 1, "libkernel", 1, 1, pthread_attr_setstackaddr); - LIB_FUNCTION("2Q0z6rnBrTE", "libkernel", 1, "libkernel", 1, 1, pthread_attr_setstacksize); - LIB_FUNCTION("+Pqub9HZCPo", "libkernel", 1, "libkernel", 1, 1, pthread_barrier_destroy); - LIB_FUNCTION("ZsXLFtd2jqQ", "libkernel", 1, "libkernel", 1, 1, pthread_barrier_init); - LIB_FUNCTION("WwRRAkhjARM", "libkernel", 1, "libkernel", 1, 1, pthread_barrier_setname_np); - LIB_FUNCTION("CawZgCYqXWk", "libkernel", 1, "libkernel", 1, 1, pthread_barrier_wait); - LIB_FUNCTION("AsCQCYTbe80", "libkernel", 1, "libkernel", 1, 1, pthread_barrierattr_destroy); - LIB_FUNCTION("a5JZMyjFV68", "libkernel", 1, "libkernel", 1, 1, pthread_barrierattr_getpshared); - LIB_FUNCTION("4nqCnLJSvck", "libkernel", 1, "libkernel", 1, 1, pthread_barrierattr_init); - LIB_FUNCTION("jqrGJJxFhmU", "libkernel", 1, "libkernel", 1, 1, pthread_barrierattr_setpshared); - LIB_FUNCTION("0D4-FVvEikw", "libkernel", 1, "libkernel", 1, 1, pthread_cancel); - LIB_FUNCTION("RVxb0Ssa5t0", "libkernel", 1, "libkernel", 1, 1, pthread_cleanup_pop); - LIB_FUNCTION("4ZeZWcMsAV0", "libkernel", 1, "libkernel", 1, 1, pthread_cleanup_push); - LIB_FUNCTION("mkx2fVhNMsg", "libkernel", 1, "libkernel", 1, 1, pthread_cond_broadcast); - LIB_FUNCTION("RXXqi4CtF8w", "libkernel", 1, "libkernel", 1, 1, pthread_cond_destroy); - LIB_FUNCTION("0TyVk4MSLt0", "libkernel", 1, "libkernel", 1, 1, pthread_cond_init); - LIB_FUNCTION("K953PF5u6Pc", "libkernel", 1, "libkernel", 1, 1, pthread_cond_reltimedwait_np); - LIB_FUNCTION("EZ8h70dtFLg", "libkernel", 1, "libkernel", 1, 1, pthread_cond_setname_np); - LIB_FUNCTION("2MOy+rUfuhQ", "libkernel", 1, "libkernel", 1, 1, pthread_cond_signal); - LIB_FUNCTION("CI6Qy73ae10", "libkernel", 1, "libkernel", 1, 1, pthread_cond_signalto_np); - LIB_FUNCTION("27bAgiJmOh0", "libkernel", 1, "libkernel", 1, 1, pthread_cond_timedwait); - LIB_FUNCTION("Op8TBGY5KHg", "libkernel", 1, "libkernel", 1, 1, pthread_cond_wait); - LIB_FUNCTION("dJcuQVn6-Iw", "libkernel", 1, "libkernel", 1, 1, pthread_condattr_destroy); - LIB_FUNCTION("cTDYxTUNPhM", "libkernel", 1, "libkernel", 1, 1, pthread_condattr_getclock); - LIB_FUNCTION("h0qUqSuOmC8", "libkernel", 1, "libkernel", 1, 1, pthread_condattr_getpshared); - LIB_FUNCTION("mKoTx03HRWA", "libkernel", 1, "libkernel", 1, 1, pthread_condattr_init); - LIB_FUNCTION("EjllaAqAPZo", "libkernel", 1, "libkernel", 1, 1, pthread_condattr_setclock); - LIB_FUNCTION("3BpP850hBT4", "libkernel", 1, "libkernel", 1, 1, pthread_condattr_setpshared); - LIB_FUNCTION("OxhIB8LB-PQ", "libkernel", 1, "libkernel", 1, 1, pthread_create); - LIB_FUNCTION("Jmi+9w9u0E4", "libkernel", 1, "libkernel", 1, 1, pthread_create_name_np); - LIB_FUNCTION("+U1R4WtXvoc", "libkernel", 1, "libkernel", 1, 1, pthread_detach); - LIB_FUNCTION("7Xl257M4VNI", "libkernel", 1, "libkernel", 1, 1, pthread_equal); - LIB_FUNCTION("FJrT5LuUBAU", "libkernel", 1, "libkernel", 1, 1, pthread_exit); - LIB_FUNCTION("td+DYvbbDfk", "libkernel", 1, "libkernel", 1, 1, pthread_get_specificarray_np); - LIB_FUNCTION("YkGOXpJEtO8", "libkernel", 1, "libkernel", 1, 1, pthread_get_user_context_np); - LIB_FUNCTION("Jb2uGFMr688", "libkernel", 1, "libkernel", 1, 1, pthread_getaffinity_np); - LIB_FUNCTION("s+QHU9RLHS4", "libkernel", 1, "libkernel", 1, 1, pthread_getconcurrency); - LIB_FUNCTION("nnoxZUHK+SA", "libkernel", 1, "libkernel", 1, 1, pthread_getcpuclockid); - LIB_FUNCTION("9HzfhdtESio", "libkernel", 1, "libkernel", 1, 1, pthread_getname_np); - LIB_FUNCTION("aO+WS2xWuo4", "libkernel", 1, "libkernel", 1, 1, pthread_getprio); - LIB_FUNCTION("FIs3-UQT9sg", "libkernel", 1, "libkernel", 1, 1, pthread_getschedparam); - LIB_FUNCTION("0-KXaS70xy4", "libkernel", 1, "libkernel", 1, 1, pthread_getspecific); - LIB_FUNCTION("ruZ9hhQ8oUk", "libkernel", 1, "libkernel", 1, 1, pthread_getstack_np); - LIB_FUNCTION("3eqs37G74-s", "libkernel", 1, "libkernel", 1, 1, pthread_getthreadid_np); - LIB_FUNCTION("h9CcP3J0oVM", "libkernel", 1, "libkernel", 1, 1, pthread_join); - LIB_FUNCTION("mqULNdimTn0", "libkernel", 1, "libkernel", 1, 1, pthread_key_create); - LIB_FUNCTION("6BpEZuDT7YI", "libkernel", 1, "libkernel", 1, 1, pthread_key_delete); - LIB_FUNCTION("yH-uQW3LbX0", "libkernel", 1, "libkernel", 1, 1, pthread_kill); - LIB_FUNCTION("D1D6GFIYYGs", "libkernel", 1, "libkernel", 1, 1, pthread_main_np); - LIB_FUNCTION("vhcrecqZy-k", "libkernel", 1, "libkernel", 1, 1, pthread_multi_np); - LIB_FUNCTION("ltCfaGr2JGE", "libkernel", 1, "libkernel", 1, 1, pthread_mutex_destroy); - LIB_FUNCTION("itv-U5mFPso", "libkernel", 1, "libkernel", 1, 1, pthread_mutex_getprioceiling); - LIB_FUNCTION("x4vQj3JKKmc", "libkernel", 1, "libkernel", 1, 1, pthread_mutex_getspinloops_np); - LIB_FUNCTION("OxEIUqkByy4", "libkernel", 1, "libkernel", 1, 1, pthread_mutex_getyieldloops_np); - LIB_FUNCTION("ttHNfU+qDBU", "libkernel", 1, "libkernel", 1, 1, pthread_mutex_init); - LIB_FUNCTION("hLoEhSBhi84", "libkernel", 1, "libkernel", 1, 1, pthread_mutex_init_for_mono); - LIB_FUNCTION("gKqzW-zWhvY", "libkernel", 1, "libkernel", 1, 1, pthread_mutex_isowned_np); - LIB_FUNCTION("7H0iTOciTLo", "libkernel", 1, "libkernel", 1, 1, pthread_mutex_lock); - LIB_FUNCTION("nbQ0bXMRlhk", "libkernel", 1, "libkernel", 1, 1, pthread_mutex_reltimedlock_np); - LIB_FUNCTION("nTxZBp8YNGc", "libkernel", 1, "libkernel", 1, 1, pthread_mutex_setname_np); - LIB_FUNCTION("XS3kGVt4q+4", "libkernel", 1, "libkernel", 1, 1, pthread_mutex_setprioceiling); - LIB_FUNCTION("5-ncLMtL5+g", "libkernel", 1, "libkernel", 1, 1, pthread_mutex_setspinloops_np); - LIB_FUNCTION("frFuGprJmPc", "libkernel", 1, "libkernel", 1, 1, pthread_mutex_setyieldloops_np); - LIB_FUNCTION("Io9+nTKXZtA", "libkernel", 1, "libkernel", 1, 1, pthread_mutex_timedlock); - LIB_FUNCTION("K-jXhbt2gn4", "libkernel", 1, "libkernel", 1, 1, pthread_mutex_trylock); - LIB_FUNCTION("2Z+PpY6CaJg", "libkernel", 1, "libkernel", 1, 1, pthread_mutex_unlock); - LIB_FUNCTION("HF7lK46xzjY", "libkernel", 1, "libkernel", 1, 1, pthread_mutexattr_destroy); - LIB_FUNCTION("U6SNV+RnyLQ", "libkernel", 1, "libkernel", 1, 1, pthread_mutexattr_getkind_np); - LIB_FUNCTION("+m8+quqOwhM", "libkernel", 1, "libkernel", 1, 1, - pthread_mutexattr_getprioceiling); - LIB_FUNCTION("yDaWxUE50s0", "libkernel", 1, "libkernel", 1, 1, pthread_mutexattr_getprotocol); - LIB_FUNCTION("PmL-TwKUzXI", "libkernel", 1, "libkernel", 1, 1, pthread_mutexattr_getpshared); - LIB_FUNCTION("GZFlI7RhuQo", "libkernel", 1, "libkernel", 1, 1, pthread_mutexattr_gettype); - LIB_FUNCTION("dQHWEsJtoE4", "libkernel", 1, "libkernel", 1, 1, pthread_mutexattr_init); - LIB_FUNCTION("J9rlRuQ8H5s", "libkernel", 1, "libkernel", 1, 1, pthread_mutexattr_setkind_np); - LIB_FUNCTION("ZLvf6lVAc4M", "libkernel", 1, "libkernel", 1, 1, - pthread_mutexattr_setprioceiling); - LIB_FUNCTION("5txKfcMUAok", "libkernel", 1, "libkernel", 1, 1, pthread_mutexattr_setprotocol); - LIB_FUNCTION("EXv3ztGqtDM", "libkernel", 1, "libkernel", 1, 1, pthread_mutexattr_setpshared); - LIB_FUNCTION("mDmgMOGVUqg", "libkernel", 1, "libkernel", 1, 1, pthread_mutexattr_settype); - LIB_FUNCTION("Z4QosVuAsA0", "libkernel", 1, "libkernel", 1, 1, pthread_once); - LIB_FUNCTION("9vyP6Z7bqzc", "libkernel", 1, "libkernel", 1, 1, pthread_rename_np); - LIB_FUNCTION("3gY5B0FCkNY", "libkernel", 1, "libkernel", 1, 1, pthread_resume_all_np); - LIB_FUNCTION("BYM3L--ojzI", "libkernel", 1, "libkernel", 1, 1, pthread_resume_np); - LIB_FUNCTION("QRdE7dBfNks", "libkernel", 1, "libkernel", 1, 1, pthread_resume_user_context_np); - LIB_FUNCTION("1471ajPzxh0", "libkernel", 1, "libkernel", 1, 1, pthread_rwlock_destroy); - LIB_FUNCTION("ytQULN-nhL4", "libkernel", 1, "libkernel", 1, 1, pthread_rwlock_init); - LIB_FUNCTION("iGjsr1WAtI0", "libkernel", 1, "libkernel", 1, 1, pthread_rwlock_rdlock); - LIB_FUNCTION("dYv-+If2GPk", "libkernel", 1, "libkernel", 1, 1, - pthread_rwlock_reltimedrdlock_np); - LIB_FUNCTION("RRnSj8h8VR4", "libkernel", 1, "libkernel", 1, 1, - pthread_rwlock_reltimedwrlock_np); - LIB_FUNCTION("Uwxgnsi3xeM", "libkernel", 1, "libkernel", 1, 1, pthread_rwlock_setname_np); - LIB_FUNCTION("lb8lnYo-o7k", "libkernel", 1, "libkernel", 1, 1, pthread_rwlock_timedrdlock); - LIB_FUNCTION("9zklzAl9CGM", "libkernel", 1, "libkernel", 1, 1, pthread_rwlock_timedwrlock); - LIB_FUNCTION("SFxTMOfuCkE", "libkernel", 1, "libkernel", 1, 1, pthread_rwlock_tryrdlock); - LIB_FUNCTION("XhWHn6P5R7U", "libkernel", 1, "libkernel", 1, 1, pthread_rwlock_trywrlock); - LIB_FUNCTION("EgmLo6EWgso", "libkernel", 1, "libkernel", 1, 1, pthread_rwlock_unlock); - LIB_FUNCTION("sIlRvQqsN2Y", "libkernel", 1, "libkernel", 1, 1, pthread_rwlock_wrlock); - LIB_FUNCTION("qsdmgXjqSgk", "libkernel", 1, "libkernel", 1, 1, pthread_rwlockattr_destroy); - LIB_FUNCTION("VqEMuCv-qHY", "libkernel", 1, "libkernel", 1, 1, pthread_rwlockattr_getpshared); - LIB_FUNCTION("l+bG5fsYkhg", "libkernel", 1, "libkernel", 1, 1, pthread_rwlockattr_gettype_np); - LIB_FUNCTION("xFebsA4YsFI", "libkernel", 1, "libkernel", 1, 1, pthread_rwlockattr_init); - LIB_FUNCTION("OuKg+kRDD7U", "libkernel", 1, "libkernel", 1, 1, pthread_rwlockattr_setpshared); - LIB_FUNCTION("8NuOHiTr1Vw", "libkernel", 1, "libkernel", 1, 1, pthread_rwlockattr_settype_np); - LIB_FUNCTION("EotR8a3ASf4", "libkernel", 1, "libkernel", 1, 1, pthread_self); - LIB_FUNCTION("tG+805b1Njk", "libkernel", 1, "libkernel", 1, 1, pthread_set_defaultstacksize_np); - LIB_FUNCTION("oxMp8uPqa+U", "libkernel", 1, "libkernel", 1, 1, pthread_set_name_np); - LIB_FUNCTION("el9stmu6290", "libkernel", 1, "libkernel", 1, 1, pthread_set_user_context_np); - LIB_FUNCTION("5KWrg7-ZqvE", "libkernel", 1, "libkernel", 1, 1, pthread_setaffinity_np); - LIB_FUNCTION("lZzFeSxPl08", "libkernel", 1, "libkernel", 1, 1, pthread_setcancelstate); - LIB_FUNCTION("2dEhvvjlq30", "libkernel", 1, "libkernel", 1, 1, pthread_setcanceltype); - LIB_FUNCTION("fBG1gHx1RlI", "libkernel", 1, "libkernel", 1, 1, pthread_setconcurrency); - LIB_FUNCTION("a2P9wYGeZvc", "libkernel", 1, "libkernel", 1, 1, pthread_setprio); - LIB_FUNCTION("Xs9hdiD7sAA", "libkernel", 1, "libkernel", 1, 1, pthread_setschedparam); - LIB_FUNCTION("WrOLvHU0yQM", "libkernel", 1, "libkernel", 1, 1, pthread_setspecific); - LIB_FUNCTION("JZKw5+Wrnaw", "libkernel", 1, "libkernel", 1, 1, pthread_sigmask); - LIB_FUNCTION("4Q8db4pIRV0", "libkernel", 1, "libkernel", 1, 1, pthread_single_np); - LIB_FUNCTION("IJIggoPZExk", "libkernel", 1, "libkernel", 1, 1, pthread_spin_destroy); - LIB_FUNCTION("ZMn3clnAGBA", "libkernel", 1, "libkernel", 1, 1, pthread_spin_init); - LIB_FUNCTION("pw+70ClLYlY", "libkernel", 1, "libkernel", 1, 1, pthread_spin_lock); - LIB_FUNCTION("rCTGkBIHfPY", "libkernel", 1, "libkernel", 1, 1, pthread_spin_trylock); - LIB_FUNCTION("LEfMMCT+SlM", "libkernel", 1, "libkernel", 1, 1, pthread_spin_unlock); - LIB_FUNCTION("iWAnZ3ger+8", "libkernel", 1, "libkernel", 1, 1, pthread_suspend_all_np); - LIB_FUNCTION("4e9dMKt+UYA", "libkernel", 1, "libkernel", 1, 1, pthread_suspend_np); - LIB_FUNCTION("cfjAjVTFG6A", "libkernel", 1, "libkernel", 1, 1, pthread_suspend_user_context_np); - LIB_FUNCTION("Q9DhUQxNCwI", "libkernel", 1, "libkernel", 1, 1, pthread_switch_add_np); - LIB_FUNCTION("neZ60m-+Baw", "libkernel", 1, "libkernel", 1, 1, pthread_switch_delete_np); - LIB_FUNCTION("nYBrkGDqxh8", "libkernel", 1, "libkernel", 1, 1, pthread_testcancel); - LIB_FUNCTION("PkS44IGrDkM", "libkernel", 1, "libkernel", 1, 1, pthread_timedjoin_np); - LIB_FUNCTION("B5GmVDKwpn0", "libkernel", 1, "libkernel", 1, 1, pthread_yield); - LIB_FUNCTION("C2kJ-byS5rM", "libkernel", 1, "libkernel", 1, 1, pwrite); - LIB_FUNCTION("FCcmRZhWtOk", "libkernel", 1, "libkernel", 1, 1, pwritev); - LIB_FUNCTION("0t0-MxQNwK4", "libkernel", 1, "libkernel", 1, 1, raise); - LIB_FUNCTION("AqBioC2vF3I", "libkernel", 1, "libkernel", 1, 1, read); - LIB_FUNCTION("I7ImcLds-uU", "libkernel", 1, "libkernel", 1, 1, readv); - LIB_FUNCTION("Ez8xjo9UF4E", "libkernel", 1, "libkernel", 1, 1, recv); - LIB_FUNCTION("lUk6wrGXyMw", "libkernel", 1, "libkernel", 1, 1, recvfrom); - LIB_FUNCTION("hI7oVeOluPM", "libkernel", 1, "libkernel", 1, 1, recvmsg); - LIB_FUNCTION("NN01qLRhiqU", "libkernel", 1, "libkernel", 1, 1, rename); - LIB_FUNCTION("bSDxEpGzmUE", "libkernel", 1, "libkernel", 1, 1, rfork_thread); - LIB_FUNCTION("c7ZnT7V1B98", "libkernel", 1, "libkernel", 1, 1, rmdir); - LIB_FUNCTION("u8M56qpqTtw", "libkernel", 1, "libkernel", 1, 1, rtld_printf); - LIB_FUNCTION("2I2RV6LyNng", "libkernel", 1, "libkernel", 1, 1, rtprio_thread); - LIB_FUNCTION("NhL5qID2iho", "libkernel", 1, "libkernel", 1, 1, sceKernelAddCpumodeEvent); - LIB_FUNCTION("cG3t15OK4Ow", "libkernel", 1, "libkernel", 1, 1, sceKernelAddFileEvent); - LIB_FUNCTION("YJ7JscWubcU", "libkernel", 1, "libkernel", 1, 1, sceKernelAddGpuExceptionEvent); - LIB_FUNCTION("R74tt43xP6k", "libkernel", 1, "libkernel", 1, 1, sceKernelAddHRTimerEvent); - LIB_FUNCTION("VHCS3rCd0PM", "libkernel", 1, "libkernel", 1, 1, sceKernelAddReadEvent); - LIB_FUNCTION("57ZK+ODEXWY", "libkernel", 1, "libkernel", 1, 1, sceKernelAddTimerEvent); - LIB_FUNCTION("4R6-OvI2cEA", "libkernel", 1, "libkernel", 1, 1, sceKernelAddUserEvent); - LIB_FUNCTION("WDszmSbWuDk", "libkernel", 1, "libkernel", 1, 1, sceKernelAddUserEventEdge); - LIB_FUNCTION("R-tyYMpYaxY", "libkernel", 1, "libkernel", 1, 1, sceKernelAddWriteEvent); - LIB_FUNCTION("fR521KIGgb8", "libkernel", 1, "libkernel", 1, 1, sceKernelAioCancelRequest); - LIB_FUNCTION("3Lca1XBrQdY", "libkernel", 1, "libkernel", 1, 1, sceKernelAioCancelRequests); - LIB_FUNCTION("5TgME6AYty4", "libkernel", 1, "libkernel", 1, 1, sceKernelAioDeleteRequest); - LIB_FUNCTION("Ft3EtsZzAoY", "libkernel", 1, "libkernel", 1, 1, sceKernelAioDeleteRequests); - LIB_FUNCTION("vYU8P9Td2Zo", "libkernel", 1, "libkernel", 1, 1, sceKernelAioInitializeImpl); - LIB_FUNCTION("nu4a0-arQis", "libkernel", 1, "libkernel", 1, 1, sceKernelAioInitializeParam); - LIB_FUNCTION("2pOuoWoCxdk", "libkernel", 1, "libkernel", 1, 1, sceKernelAioPollRequest); - LIB_FUNCTION("o7O4z3jwKzo", "libkernel", 1, "libkernel", 1, 1, sceKernelAioPollRequests); - LIB_FUNCTION("9WK-vhNXimw", "libkernel", 1, "libkernel", 1, 1, sceKernelAioSetParam); - LIB_FUNCTION("HgX7+AORI58", "libkernel", 1, "libkernel", 1, 1, sceKernelAioSubmitReadCommands); - LIB_FUNCTION("lXT0m3P-vs4", "libkernel", 1, "libkernel", 1, 1, - sceKernelAioSubmitReadCommandsMultiple); - LIB_FUNCTION("XQ8C8y+de+E", "libkernel", 1, "libkernel", 1, 1, sceKernelAioSubmitWriteCommands); - LIB_FUNCTION("xT3Cpz0yh6Y", "libkernel", 1, "libkernel", 1, 1, - sceKernelAioSubmitWriteCommandsMultiple); - LIB_FUNCTION("KOF-oJbQVvc", "libkernel", 1, "libkernel", 1, 1, sceKernelAioWaitRequest); - LIB_FUNCTION("lgK+oIWkJyA", "libkernel", 1, "libkernel", 1, 1, sceKernelAioWaitRequests); - LIB_FUNCTION("rTXw65xmLIA", "libkernel", 1, "libkernel", 1, 1, sceKernelAllocateDirectMemory); - LIB_FUNCTION("ll8I9K4RtUM", "libkernel", 1, "libkernel", 1, 1, - sceKernelAllocateDirectMemoryForMiniApp); - LIB_FUNCTION("B+vc2AO2Zrc", "libkernel", 1, "libkernel", 1, 1, - sceKernelAllocateMainDirectMemory); - LIB_FUNCTION("g6fhW-+NuuU", "libkernel", 1, "libkernel", 1, 1, - sceKernelAllocateTraceDirectMemory); - LIB_FUNCTION("C0f7TJcbfac", "libkernel", 1, "libkernel", 1, 1, - sceKernelAvailableDirectMemorySize); - LIB_FUNCTION("aNz11fnnzi4", "libkernel", 1, "libkernel", 1, 1, - sceKernelAvailableFlexibleMemorySize); - LIB_FUNCTION("xRwvvcfZfHM", "libkernel", 1, "libkernel", 1, 1, sceKernelBacktraceSelf); - LIB_FUNCTION("2SKEx6bSq-4", "libkernel", 1, "libkernel", 1, 1, sceKernelBatchMap); - LIB_FUNCTION("kBJzF8x4SyE", "libkernel", 1, "libkernel", 1, 1, sceKernelBatchMap2); - LIB_FUNCTION("PZku4ZrXJqg", "libkernel", 1, "libkernel", 1, 1, sceKernelCancelEventFlag); - LIB_FUNCTION("4DM06U2BNEY", "libkernel", 1, "libkernel", 1, 1, sceKernelCancelSema); - LIB_FUNCTION("hwVSPCmp5tM", "libkernel", 1, "libkernel", 1, 1, - sceKernelCheckedReleaseDirectMemory); - LIB_FUNCTION("uWyW3v98sU4", "libkernel", 1, "libkernel", 1, 1, sceKernelCheckReachability); - LIB_FUNCTION("fgIsQ10xYVA", "libkernel", 1, "libkernel", 1, 1, sceKernelChmod); - LIB_FUNCTION("N9SrpMINuLw", "libkernel", 1, "libkernel", 1, 1, - sceKernelClearBootReqNotifyCount); - LIB_FUNCTION("7uhBFWRAS60", "libkernel", 1, "libkernel", 1, 1, sceKernelClearEventFlag); - LIB_FUNCTION("EgJqC+9VmvM", "libkernel", 1, "libkernel", 1, 1, sceKernelClearGameDirectMemory); - LIB_FUNCTION("wRYVA5Zolso", "libkernel", 1, "libkernel", 1, 1, sceKernelClockGetres); - LIB_FUNCTION("QBi7HCK03hw", "libkernel", 1, "libkernel", 1, 1, sceKernelClockGettime); - LIB_FUNCTION("UK2Tl2DWUns", "libkernel", 1, "libkernel", 1, 1, sceKernelClose); - LIB_FUNCTION("J5RqzZ7nMVc", "libkernel", 1, "libkernel", 1, 1, sceKernelCloseEport); - LIB_FUNCTION("s9-RaxukuzQ", "libkernel", 1, "libkernel", 1, 1, sceKernelCloseEventFlag); - LIB_FUNCTION("HBkUky2PZPA", "libkernel", 1, "libkernel", 1, 1, sceKernelCloseSema); - LIB_FUNCTION("n1-v6FgU7MQ", "libkernel", 1, "libkernel", 1, 1, - sceKernelConfiguredFlexibleMemorySize); - LIB_FUNCTION("0NTHN1NKONI", "libkernel", 1, "libkernel", 1, 1, sceKernelConvertLocaltimeToUtc); - LIB_FUNCTION("-o5uEDpN+oY", "libkernel", 1, "libkernel", 1, 1, sceKernelConvertUtcToLocaltime); - LIB_FUNCTION("KF25CDxFn48", "libkernel", 1, "libkernel", 1, 1, sceKernelCreateEport); - LIB_FUNCTION("D0OdFMjp46I", "libkernel", 1, "libkernel", 1, 1, sceKernelCreateEqueue); - LIB_FUNCTION("BpFoboUJoZU", "libkernel", 1, "libkernel", 1, 1, sceKernelCreateEventFlag); - LIB_FUNCTION("188x57JYp0g", "libkernel", 1, "libkernel", 1, 1, sceKernelCreateSema); - LIB_FUNCTION("FMvo0UFMf-o", "libkernel", 1, "libkernel", 1, 1, - sceKernelDebugAcquireAndUpdateDebugRegister); - LIB_FUNCTION("XECwgo2nbek", "libkernel", 1, "libkernel", 1, 1, sceKernelDebugGetAppStatus); - LIB_FUNCTION("CgfvQDFAtYU", "libkernel", 1, "libkernel", 1, 1, sceKernelDebugGetPauseCount); - LIB_FUNCTION("+iVwFsjXaFQ", "libkernel", 1, "libkernel", 1, 1, - sceKernelDebugGpuPaDebugIsInProgress); - LIB_FUNCTION("9JYNqN6jAKI", "libkernel", 1, "libkernel", 1, 1, sceKernelDebugOutText); - LIB_FUNCTION("OMDRKKAZ8I4", "libkernel", 1, "libkernel", 1, 1, sceKernelDebugRaiseException); - LIB_FUNCTION("zE-wXIZjLoM", "libkernel", 1, "libkernel", 1, 1, - sceKernelDebugRaiseExceptionOnReleaseMode); - LIB_FUNCTION("DKWTYfo-jMY", "libkernel", 1, "libkernel", 1, 1, - sceKernelDebugRaiseExceptionWithContext); - LIB_FUNCTION("HbRSpVkdVF0", "libkernel", 1, "libkernel", 1, 1, - sceKernelDebugRaiseExceptionWithInfo); - LIB_FUNCTION("8rHK-6bbvqM", "libkernel", 1, "libkernel", 1, 1, - sceKernelDebugReleaseDebugContext); - LIB_FUNCTION("OwjivtyfODU", "libkernel", 1, "libkernel", 1, 1, sceKernelDeleteCpumodeEvent); - LIB_FUNCTION("HhGAQ+ffliw", "libkernel", 1, "libkernel", 1, 1, sceKernelDeleteEport); - LIB_FUNCTION("jpFjmgAC5AE", "libkernel", 1, "libkernel", 1, 1, sceKernelDeleteEqueue); - LIB_FUNCTION("8mql9OcQnd4", "libkernel", 1, "libkernel", 1, 1, sceKernelDeleteEventFlag); - LIB_FUNCTION("UmXngHKB6is", "libkernel", 1, "libkernel", 1, 1, sceKernelDeleteFileEvent); - LIB_FUNCTION("8skggWXlSqM", "libkernel", 1, "libkernel", 1, 1, - sceKernelDeleteGpuExceptionEvent); - LIB_FUNCTION("J+LF6LwObXU", "libkernel", 1, "libkernel", 1, 1, sceKernelDeleteHRTimerEvent); - LIB_FUNCTION("JxJ4tfgKlXA", "libkernel", 1, "libkernel", 1, 1, sceKernelDeleteReadEvent); - LIB_FUNCTION("R1Jvn8bSCW8", "libkernel", 1, "libkernel", 1, 1, sceKernelDeleteSema); - LIB_FUNCTION("YWQFUyXIVdU", "libkernel", 1, "libkernel", 1, 1, sceKernelDeleteTimerEvent); - LIB_FUNCTION("LJDwdSNTnDg", "libkernel", 1, "libkernel", 1, 1, sceKernelDeleteUserEvent); - LIB_FUNCTION("cBGTk8S92XM", "libkernel", 1, "libkernel", 1, 1, sceKernelDeleteWriteEvent); - LIB_FUNCTION("BHouLQzh0X0", "libkernel", 1, "libkernel", 1, 1, sceKernelDirectMemoryQuery); - LIB_FUNCTION("ZB9HZnouJrc", "libkernel", 1, "libkernel", 1, 1, sceKernelDirectMemoryQueryForId); - LIB_FUNCTION("LwG8g3niqwA", "libkernel", 1, "libkernel", 1, 1, sceKernelDlsym); - LIB_FUNCTION("usHTMoFoBTM", "libkernel", 1, "libkernel", 1, 1, sceKernelEnableDmemAliasing); - LIB_FUNCTION("v4V7yvdU9zo", "libkernel", 1, "libkernel", 1, 1, sceKernelEnableDmemAliasing2); - LIB_FUNCTION("vhlQXKkQFe0", "libkernel", 1, "libkernel", 1, 1, - sceKernelEnablePthreadObjectCheck); - LIB_FUNCTION("D4yla3vx4tY", "libkernel", 1, "libkernel", 1, 1, sceKernelError); - LIB_FUNCTION("c7noapHDHWU", "libkernel", 1, "libkernel", 1, 1, sceKernelEventLogInit); - LIB_FUNCTION("H6bIN2qvlxY", "libkernel", 1, "libkernel", 1, 1, sceKernelEventLogPread); - LIB_FUNCTION("L6WLBSYfL6k", "libkernel", 1, "libkernel", 1, 1, sceKernelEventLogRead); - LIB_FUNCTION("TmkVz5YgHg8", "libkernel", 1, "libkernel", 1, 1, sceKernelEventLogWrite); - LIB_FUNCTION("UtszJWHrDcA", "libkernel", 1, "libkernel", 1, 1, sceKernelFchmod); - LIB_FUNCTION("SoZkxZkCHaw", "libkernel", 1, "libkernel", 1, 1, sceKernelFcntl); - LIB_FUNCTION("30Rh4ixbKy4", "libkernel", 1, "libkernel", 1, 1, sceKernelFdatasync); - LIB_FUNCTION("YDg-SQj66AQ", "libkernel", 1, "libkernel", 1, 1, sceKernelFlock); - LIB_FUNCTION("kBwCPsYX-m4", "libkernel", 1, "libkernel", 1, 1, sceKernelFstat); - LIB_FUNCTION("fTx66l5iWIA", "libkernel", 1, "libkernel", 1, 1, sceKernelFsync); - LIB_FUNCTION("VW3TVZiM4-E", "libkernel", 1, "libkernel", 1, 1, sceKernelFtruncate); - LIB_FUNCTION("NLq2b1jOaN0", "libkernel", 1, "libkernel", 1, 1, sceKernelFutimes); - LIB_FUNCTION("YeU23Szo3BM", "libkernel", 1, "libkernel", 1, 1, - sceKernelGetAllowedSdkVersionOnSystem); - LIB_FUNCTION("G-MYv5erXaU", "libkernel", 1, "libkernel", 1, 1, sceKernelGetAppInfo); - LIB_FUNCTION("1UOnecNlNW0", "libkernel", 1, "libkernel", 1, 1, sceKernelGetAslrStatus); - LIB_FUNCTION("QtLhuYZf9jg", "libkernel", 1, "libkernel", 1, 1, sceKernelGetBackupRestoreMode); - LIB_FUNCTION("CQ1bzp1ba0k", "libkernel", 1, "libkernel", 1, 1, - sceKernelGetBackupRestoreModeOfNextBoot); - LIB_FUNCTION("wSxRrFKzKXk", "libkernel", 1, "libkernel", 1, 1, sceKernelGetBasicProductShape); - LIB_FUNCTION("tFD04DtJY+g", "libkernel", 1, "libkernel", 1, 1, - sceKernelGetBetaUpdateTestForRcmgr); - LIB_FUNCTION("n0FvTzIPodM", "libkernel", 1, "libkernel", 1, 1, sceKernelGetBioUsageAll); - LIB_FUNCTION("oYr9L7WSCww", "libkernel", 1, "libkernel", 1, 1, sceKernelGetBootReqNotifyCount); - LIB_FUNCTION("ikkTGg4Cshw", "libkernel", 1, "libkernel", 1, 1, sceKernelGetCallRecord); - LIB_FUNCTION("WB66evu8bsU", "libkernel", 1, "libkernel", 1, 1, sceKernelGetCompiledSdkVersion); - LIB_FUNCTION("jgYD8N1DILg", "libkernel", 1, "libkernel", 1, 1, - sceKernelGetCompiledSdkVersionByPath); - LIB_FUNCTION("8BrtU9maWG4", "libkernel", 1, "libkernel", 1, 1, - sceKernelGetCompiledSdkVersionByPid); - LIB_FUNCTION("iUohlUDiGac", "libkernel", 1, "libkernel", 1, 1, sceKernelGetCpuFrequency); - LIB_FUNCTION("VOx8NGmHXTs", "libkernel", 1, "libkernel", 1, 1, sceKernelGetCpumode); - LIB_FUNCTION("F9LZ1EbJnfo", "libkernel", 1, "libkernel", 1, 1, sceKernelGetCpumodeGame); - LIB_FUNCTION("qiL4fFObAxM", "libkernel", 1, "libkernel", 1, 1, sceKernelGetCpuTemperature); - LIB_FUNCTION("ssmH9nMYO4o", "libkernel", 1, "libkernel", 1, 1, sceKernelGetCpuUsage); - LIB_FUNCTION("ToISj0q68Qg", "libkernel", 1, "libkernel", 1, 1, sceKernelGetCpuUsageAll); - LIB_FUNCTION("VS45LnNqyCo", "libkernel", 1, "libkernel", 1, 1, sceKernelGetCpuUsageProc); - LIB_FUNCTION("QbdkmhQQfIM", "libkernel", 1, "libkernel", 1, 1, sceKernelGetCpuUsageProc2); - LIB_FUNCTION("XkEs5rH1bSk", "libkernel", 1, "libkernel", 1, 1, sceKernelGetCpuUsageThread); - LIB_FUNCTION("g0VTBxfJyu0", "libkernel", 1, "libkernel", 1, 1, sceKernelGetCurrentCpu); - LIB_FUNCTION("i-H8tE6wTqI", "libkernel", 1, "libkernel", 1, 1, sceKernelGetDataTransferMode); - LIB_FUNCTION("JVYt1hlHSvo", "libkernel", 1, "libkernel", 1, 1, - sceKernelGetDebugMenuMiniModeForRcmgr); - LIB_FUNCTION("qYwuXe0hTHs", "libkernel", 1, "libkernel", 1, 1, - sceKernelGetDebugMenuModeForPsmForRcmgr); - LIB_FUNCTION("opMiSfTJyJo", "libkernel", 1, "libkernel", 1, 1, - sceKernelGetDebugMenuModeForRcmgr); - LIB_FUNCTION("j2AIqSqJP0w", "libkernel", 1, "libkernel", 1, 1, sceKernelGetdents); - LIB_FUNCTION("pO96TwzOm5E", "libkernel", 1, "libkernel", 1, 1, sceKernelGetDirectMemorySize); - LIB_FUNCTION("BC+OG5m9+bw", "libkernel", 1, "libkernel", 1, 1, sceKernelGetDirectMemoryType); - LIB_FUNCTION("taRWhTJFTgE", "libkernel", 1, "libkernel", 1, 1, sceKernelGetdirentries); - LIB_FUNCTION("kwGyyjohI50", "libkernel", 1, "libkernel", 1, 1, sceKernelGetEventData); - LIB_FUNCTION("Uu-iDFC9aUc", "libkernel", 1, "libkernel", 1, 1, sceKernelGetEventError); - LIB_FUNCTION("Q0qr9AyqJSk", "libkernel", 1, "libkernel", 1, 1, sceKernelGetEventFflags); - LIB_FUNCTION("23CPPI1tyBY", "libkernel", 1, "libkernel", 1, 1, sceKernelGetEventFilter); - LIB_FUNCTION("mJ7aghmgvfc", "libkernel", 1, "libkernel", 1, 1, sceKernelGetEventId); - LIB_FUNCTION("vz+pg2zdopI", "libkernel", 1, "libkernel", 1, 1, sceKernelGetEventUserData); - LIB_FUNCTION("wJABa1X4+ec", "libkernel", 1, "libkernel", 1, 1, - sceKernelGetExecutableModuleHandle); - LIB_FUNCTION("OA7xpGDL8sY", "libkernel", 1, "libkernel", 1, 1, sceKernelGetExtLibcHandle); - LIB_FUNCTION("cVC4JXxpb-s", "libkernel", 1, "libkernel", 1, 1, - sceKernelGetFakeFinalizeMenuForRcmgr); - LIB_FUNCTION("LJVcP+0wRIk", "libkernel", 1, "libkernel", 1, 1, - sceKernelGetFlagedUpdaterForRcmgr); - LIB_FUNCTION("we5t5V4Fc70", "libkernel", 1, "libkernel", 1, 1, - sceKernelGetForceUpdateModeForRcmgr); - LIB_FUNCTION("JGfTMBOdUJo", "libkernel", 1, "libkernel", 1, 1, sceKernelGetFsSandboxRandomWord); - LIB_FUNCTION("4oXYe9Xmk0Q", "libkernel", 1, "libkernel", 1, 1, sceKernelGetGPI); - LIB_FUNCTION("6sy3Y9QjOJw", "libkernel", 1, "libkernel", 1, 1, sceKernelGetGPO); - LIB_FUNCTION("ZTJiZPZvNk4", "libkernel", 1, "libkernel", 1, 1, - sceKernelGetHwFeatureInfoForDecid); - LIB_FUNCTION("lZG-WlKxRqQ", "libkernel", 1, "libkernel", 1, 1, sceKernelGetIdPs); - LIB_FUNCTION("2YsHtbvCrgs", "libkernel", 1, "libkernel", 1, 1, sceKernelGetIdTableCurrentCount); - LIB_FUNCTION("ePRSOZsroIQ", "libkernel", 1, "libkernel", 1, 1, sceKernelGetIpcPath); - LIB_FUNCTION("AmJ0mn2l4lM", "libkernel", 1, "libkernel", 1, 1, - sceKernelGetLibkernelTextLocation); - LIB_FUNCTION("0vTn5IDMU9A", "libkernel", 1, "libkernel", 1, 1, sceKernelGetMainSocId); - LIB_FUNCTION("kUpgrXIrz7Q", "libkernel", 1, "libkernel", 1, 1, sceKernelGetModuleInfo); - LIB_FUNCTION("RpQJJVKTiFM", "libkernel", 1, "libkernel", 1, 1, sceKernelGetModuleInfoForUnwind); - LIB_FUNCTION("f7KBOafysXo", "libkernel", 1, "libkernel", 1, 1, sceKernelGetModuleInfoFromAddr); - LIB_FUNCTION("HZO7xOos4xc", "libkernel", 1, "libkernel", 1, 1, sceKernelGetModuleInfoInternal); - LIB_FUNCTION("IuxnUuXk6Bg", "libkernel", 1, "libkernel", 1, 1, sceKernelGetModuleList); - LIB_FUNCTION("u+mlUkWpU3Y", "libkernel", 1, "libkernel", 1, 1, sceKernelGetModuleListInternal); - LIB_FUNCTION("ul57hvm6mBc", "libkernel", 1, "libkernel", 1, 1, sceKernelGetOpenPsIdForSystem); - LIB_FUNCTION("tZ2yplY8MBY", "libkernel", 1, "libkernel", 1, 1, sceKernelGetPageTableStats); - LIB_FUNCTION("NSw6bEcrtWo", "libkernel", 1, "libkernel", 1, 1, - sceKernelGetPagingStatsOfAllObjects); - LIB_FUNCTION("7hsMq4oz0Sc", "libkernel", 1, "libkernel", 1, 1, - sceKernelGetPagingStatsOfAllThreads); - LIB_FUNCTION("Zzxstsom9-w", "libkernel", 1, "libkernel", 1, 1, sceKernelGetPhysPageSize); - LIB_FUNCTION("fUJRLEbJOuQ", "libkernel", 1, "libkernel", 1, 1, sceKernelGetProcessName); - LIB_FUNCTION("4J2sUJmuHZQ", "libkernel", 1, "libkernel", 1, 1, sceKernelGetProcessTime); - LIB_FUNCTION("fgxnMeTNUtY", "libkernel", 1, "libkernel", 1, 1, sceKernelGetProcessTimeCounter); - LIB_FUNCTION("BNowx2l588E", "libkernel", 1, "libkernel", 1, 1, - sceKernelGetProcessTimeCounterFrequency); - LIB_FUNCTION("+g+UP8Pyfmo", "libkernel", 1, "libkernel", 1, 1, sceKernelGetProcessType); - LIB_FUNCTION("959qrazPIrg", "libkernel", 1, "libkernel", 1, 1, sceKernelGetProcParam); - LIB_FUNCTION("pyAyDVpDOhw", "libkernel", 1, "libkernel", 1, 1, sceKernelGetProductCode); - LIB_FUNCTION("tlLu+KqzgDY", "libkernel", 1, "libkernel", 1, 1, sceKernelGetProductStr); - LIB_FUNCTION("L0v2Go5jOuM", "libkernel", 1, "libkernel", 1, 1, sceKernelGetPrtAperture); - LIB_FUNCTION("C2ltEJILIGE", "libkernel", 1, "libkernel", 1, 1, - sceKernelGetPsmIntdevModeForRcmgr); - LIB_FUNCTION("ZotSeVujZaU", "libkernel", 1, "libkernel", 1, 1, - sceKernelGetPsnAccessTraceLogForRcmgr); - LIB_FUNCTION("58GfHBfwpOY", "libkernel", 1, "libkernel", 1, 1, - sceKernelGetQafExpirationTimeNotafterForRcmgr); - LIB_FUNCTION("QZ3WWIhtNbE", "libkernel", 1, "libkernel", 1, 1, - sceKernelGetQafExpirationTimeNotbeforeForRcmgr); - LIB_FUNCTION("H0hj8V6fJwk", "libkernel", 1, "libkernel", 1, 1, - sceKernelGetQafGenerationForRcmgr); - LIB_FUNCTION("qJnZcaDrZvI", "libkernel", 1, "libkernel", 1, 1, sceKernelGetQafNameForRcmgr); - LIB_FUNCTION("9thKyBzyAR4", "libkernel", 1, "libkernel", 1, 1, sceKernelGetRenderingMode); - LIB_FUNCTION("Q30w46WtYQw", "libkernel", 1, "libkernel", 1, 1, sceKernelGetResidentCount); - LIB_FUNCTION("a7DM+5cDkAg", "libkernel", 1, "libkernel", 1, 1, sceKernelGetResidentFmemCount); - LIB_FUNCTION("bmQaivctXo4", "libkernel", 1, "libkernel", 1, 1, sceKernelGetSafemode); - LIB_FUNCTION("bt0POEUZddE", "libkernel", 1, "libkernel", 1, 1, - sceKernelGetSanitizerMallocReplace); - LIB_FUNCTION("py6L8jiVAN8", "libkernel", 1, "libkernel", 1, 1, - sceKernelGetSanitizerMallocReplaceExternal); - LIB_FUNCTION("F4Kib3Mb0wI", "libkernel", 1, "libkernel", 1, 1, sceKernelGetSanitizerNewReplace); - LIB_FUNCTION("bnZxYgAFeA0", "libkernel", 1, "libkernel", 1, 1, - sceKernelGetSanitizerNewReplaceExternal); - LIB_FUNCTION("CA5jcDb2vYI", "libkernel", 1, "libkernel", 1, 1, sceKernelGetSocPowerConsumption); - LIB_FUNCTION("zzKyvoELf4I", "libkernel", 1, "libkernel", 1, 1, - sceKernelGetSocSensorTemperature); - LIB_FUNCTION("3KIbxxVQv84", "libkernel", 1, "libkernel", 1, 1, sceKernelGetSpecialIForRcmgr); - LIB_FUNCTION("ou2GyAJwJ+Q", "libkernel", 1, "libkernel", 1, 1, sceKernelGetSubsysId); - LIB_FUNCTION("mpbGISNJ6go", "libkernel", 1, "libkernel", 1, 1, sceKernelGetSystemExVersion); - LIB_FUNCTION("fFMg-cBHBBY", "libkernel", 1, "libkernel", 1, 1, - sceKernelGetSystemLevelDebuggerModeForRcmgr); - LIB_FUNCTION("3EDFoWECKOg", "libkernel", 1, "libkernel", 1, 1, sceKernelGetSystemSwBeta); - LIB_FUNCTION("Mv1zUObHvXI", "libkernel", 1, "libkernel", 1, 1, sceKernelGetSystemSwVersion); - LIB_FUNCTION("4vkZwDJbMx0", "libkernel", 1, "libkernel", 1, 1, sceKernelGetThreadName); - LIB_FUNCTION("ejekcaNQNq0", "libkernel", 1, "libkernel", 1, 1, sceKernelGettimeofday); - LIB_FUNCTION("kOcnerypnQA", "libkernel", 1, "libkernel", 1, 1, sceKernelGettimezone); - LIB_FUNCTION("Od0uMJZoVWg", "libkernel", 1, "libkernel", 1, 1, sceKernelGetTraceMemoryStats); - LIB_FUNCTION("1j3S3n-tTW4", "libkernel", 1, "libkernel", 1, 1, sceKernelGetTscFrequency); - LIB_FUNCTION("ToKKfC8tKIk", "libkernel", 1, "libkernel", 1, 1, - sceKernelGetUtokenDataExecutionForRcmgr); - LIB_FUNCTION("8PGQdZFioFQ", "libkernel", 1, "libkernel", 1, 1, - sceKernelGetUtokenExpirationTimeNotafterForRcmgr); - LIB_FUNCTION("Htwoe5tvNYg", "libkernel", 1, "libkernel", 1, 1, - sceKernelGetUtokenExpirationTimeNotbeforeForRcmgr); - LIB_FUNCTION("MaCKSOQDtyU", "libkernel", 1, "libkernel", 1, 1, - sceKernelGetUtokenFakeSharefactoryForRcmgr); - LIB_FUNCTION("0yVJNcMqyXk", "libkernel", 1, "libkernel", 1, 1, - sceKernelGetUtokenFlagedUpdaterForRcmgr); - LIB_FUNCTION("+XuZD9HV0p4", "libkernel", 1, "libkernel", 1, 1, - sceKernelGetUtokenNpEnvSwitchingForRcmgr); - LIB_FUNCTION("VbrTamW6dJs", "libkernel", 1, "libkernel", 1, 1, - sceKernelGetUtokenSaveDataRepairForRcmgr); - LIB_FUNCTION("0NyJTCJWuuk", "libkernel", 1, "libkernel", 1, 1, - sceKernelGetUtokenStoreModeForRcmgr); - LIB_FUNCTION("b0cryxaTM4k", "libkernel", 1, "libkernel", 1, 1, - sceKernelGetUtokenUseSoftwagnerForAcmgr); - LIB_FUNCTION("Vo1qeT4JY6I", "libkernel", 1, "libkernel", 1, 1, - sceKernelGetUtokenUseSoftwagnerForRcmgr); - LIB_FUNCTION("T1t68JwPqME", "libkernel", 1, "libkernel", 1, 1, - sceKernelGetUtokenWeakenedPortRestrictionForRcmgr); - LIB_FUNCTION("heiOpxS1Zio", "libkernel", 1, "libkernel", 1, 1, sceKernelGetVrCaptureSize); - LIB_FUNCTION("rNRtm1uioyY", "libkernel", 1, "libkernel", 1, 1, sceKernelHasNeoMode); - LIB_FUNCTION("l-zbaxNzruE", "libkernel", 1, "libkernel", 1, 1, sceKernelHwHasOpticalOut); - LIB_FUNCTION("+ofrEv1aAU0", "libkernel", 1, "libkernel", 1, 1, sceKernelHwHasWlanBt); - LIB_FUNCTION("1wxFFk3xIhA", "libkernel", 1, "libkernel", 1, 1, sceKernelIccControlBDPowerState); - LIB_FUNCTION("ZqxPUMisNkY", "libkernel", 1, "libkernel", 1, 1, - sceKernelIccControlUSBPowerState); - LIB_FUNCTION("zLEuSU+hl-w", "libkernel", 1, "libkernel", 1, 1, sceKernelIccGetBDPowerState); - LIB_FUNCTION("U0NKl-rjhYA", "libkernel", 1, "libkernel", 1, 1, sceKernelIccGetCountTime); - LIB_FUNCTION("1NlbNxWzn7U", "libkernel", 1, "libkernel", 1, 1, sceKernelIccGetCPMode); - LIB_FUNCTION("Z7NoR9m5SVo", "libkernel", 1, "libkernel", 1, 1, sceKernelIccGetCpuInfoBit); - LIB_FUNCTION("8TqMzIggthc", "libkernel", 1, "libkernel", 1, 1, sceKernelIccGetErrLog); - LIB_FUNCTION("C+i9gJY4A1I", "libkernel", 1, "libkernel", 1, 1, sceKernelIccGetHwInfo); - LIB_FUNCTION("tCQzG0iC8zw", "libkernel", 1, "libkernel", 1, 1, - sceKernelIccGetPowerNumberOfBootShutdown); - LIB_FUNCTION("PA6ZwQM5tNQ", "libkernel", 1, "libkernel", 1, 1, - sceKernelIccGetPowerOperatingTime); - LIB_FUNCTION("wXmx+vN8puE", "libkernel", 1, "libkernel", 1, 1, sceKernelIccGetPowerUpCause); - LIB_FUNCTION("L21PBFwqIiM", "libkernel", 1, "libkernel", 1, 1, sceKernelIccGetSysEventLog); - LIB_FUNCTION("zEmi6zvei2k", "libkernel", 1, "libkernel", 1, 1, sceKernelIccGetThermalAlert); - LIB_FUNCTION("NtOA+0RApBg", "libkernel", 1, "libkernel", 1, 1, sceKernelIccGetUSBPowerState); - LIB_FUNCTION("qWoGe2XqwVw", "libkernel", 1, "libkernel", 1, 1, sceKernelIccIndicatorBootDone); - LIB_FUNCTION("gQXxz1IoL5U", "libkernel", 1, "libkernel", 1, 1, sceKernelIccIndicatorShutdown); - LIB_FUNCTION("98LV9dS2Fvw", "libkernel", 1, "libkernel", 1, 1, sceKernelIccIndicatorStandby); - LIB_FUNCTION("7Q-U-8yN1Hk", "libkernel", 1, "libkernel", 1, 1, - sceKernelIccIndicatorStandbyBoot); - LIB_FUNCTION("Eye1lgCj9yo", "libkernel", 1, "libkernel", 1, 1, - sceKernelIccIndicatorStandbyShutdown); - LIB_FUNCTION("wNeGsNes5ck", "libkernel", 1, "libkernel", 1, 1, sceKernelIccNotifyBootStatus); - LIB_FUNCTION("xXj0rnNUYIk", "libkernel", 1, "libkernel", 1, 1, sceKernelIccNvsFlush); - LIB_FUNCTION("0gkGdPk8dXw", "libkernel", 1, "libkernel", 1, 1, - sceKernelIccReadPowerBootMessage); - LIB_FUNCTION("iBQ2omlTuls", "libkernel", 1, "libkernel", 1, 1, sceKernelIccSetBuzzer); - LIB_FUNCTION("hc0GFWwSrR4", "libkernel", 1, "libkernel", 1, 1, sceKernelIccSetCPMode); - LIB_FUNCTION("RP9ImTNDfP8", "libkernel", 1, "libkernel", 1, 1, sceKernelIccSetCpuInfoBit); - LIB_FUNCTION("o4NI2wpFhbI", "libkernel", 1, "libkernel", 1, 1, sceKernelIccSetDownloadMode); - LIB_FUNCTION("WkwEd3N7w0Y", "libkernel", 1, "libkernel", 1, 1, - sceKernelInstallExceptionHandler); - LIB_FUNCTION("L7aj7caj8+s", "libkernel", 1, "libkernel", 1, 1, - sceKernelInternalGetKmemStatistics); - LIB_FUNCTION("n2nyhRL5uUg", "libkernel", 1, "libkernel", 1, 1, - sceKernelInternalGetMapStatistics); - LIB_FUNCTION("rb8JKArrzc0", "libkernel", 1, "libkernel", 1, 1, - sceKernelInternalHeapPrintBacktraceWithModuleInfo); - LIB_FUNCTION("xAKAe6kFk90", "libkernel", 1, "libkernel", 1, 1, - sceKernelInternalMapDirectMemory); - LIB_FUNCTION("0ttVHjPWLsE", "libkernel", 1, "libkernel", 1, 1, - sceKernelInternalMapNamedDirectMemory); - LIB_FUNCTION("rjEuM0nb8xg", "libkernel", 1, "libkernel", 1, 1, - sceKernelInternalMemoryGetAvailableSize); - LIB_FUNCTION("-YTW+qXc3CQ", "libkernel", 1, "libkernel", 1, 1, - sceKernelInternalMemoryGetModuleSegmentInfo); - LIB_FUNCTION("1vCEy8EP+gc", "libkernel", 1, "libkernel", 1, 1, - sceKernelInternalResumeDirectMemoryRelease); - LIB_FUNCTION("3+E-5EFZxDo", "libkernel", 1, "libkernel", 1, 1, - sceKernelInternalSuspendDirectMemoryRelease); - LIB_FUNCTION("jh+8XiK4LeE", "libkernel", 1, "libkernel", 1, 1, - sceKernelIsAddressSanitizerEnabled); - LIB_FUNCTION("oU4h4oBe2l0", "libkernel", 1, "libkernel", 1, 1, - sceKernelIsAllowedToSelectDvdRegion); - LIB_FUNCTION("cbn9Di01j0k", "libkernel", 1, "libkernel", 1, 1, sceKernelIsAuthenticNeo); - LIB_FUNCTION("8aCOCGoRkUI", "libkernel", 1, "libkernel", 1, 1, sceKernelIsCEX); - LIB_FUNCTION("K0ZTCJ-wFrM", "libkernel", 1, "libkernel", 1, 1, sceKernelIsDebuggerAttached); - LIB_FUNCTION("QNjGUdj1HPM", "libkernel", 1, "libkernel", 1, 1, sceKernelIsDevKit); - LIB_FUNCTION("B1K98ubk6V8", "libkernel", 1, "libkernel", 1, 1, sceKernelIsExperimentalBeta); - LIB_FUNCTION("ts25M0mp2uY", "libkernel", 1, "libkernel", 1, 1, sceKernelIsGenuineCEX); - LIB_FUNCTION("lFf3UU811v4", "libkernel", 1, "libkernel", 1, 1, sceKernelIsGenuineDevKit); - LIB_FUNCTION("H54cSDvjryI", "libkernel", 1, "libkernel", 1, 1, sceKernelIsGenuineKratosCex); - LIB_FUNCTION("u3h77G+tFVc", "libkernel", 1, "libkernel", 1, 1, sceKernelIsGenuineN); - LIB_FUNCTION("S4XWKGFp+bc", "libkernel", 1, "libkernel", 1, 1, sceKernelIsGenuineTestKit); - LIB_FUNCTION("xeu-pV8wkKs", "libkernel", 1, "libkernel", 1, 1, sceKernelIsInSandbox); - LIB_FUNCTION("miPa6vSAqos", "libkernel", 1, "libkernel", 1, 1, sceKernelIsKratos); - LIB_FUNCTION("Jp76d0USJeM", "libkernel", 1, "libkernel", 1, 1, sceKernelIsMainOnStanbyMode); - LIB_FUNCTION("vZser6ysSbM", "libkernel", 1, "libkernel", 1, 1, sceKernelIsMainOnStandbyMode); - LIB_FUNCTION("WslcK1FQcGI", "libkernel", 1, "libkernel", 1, 1, sceKernelIsNeoMode); - LIB_FUNCTION("yDBwVAolDgg", "libkernel", 1, "libkernel", 1, 1, sceKernelIsStack); - LIB_FUNCTION("1CVP7E-WFKk", "libkernel", 1, "libkernel", 1, 1, sceKernelIsTestKit); - LIB_FUNCTION("MR221Mwo0Pc", "libkernel", 1, "libkernel", 1, 1, - sceKernelJitCreateAliasOfSharedMemory); - LIB_FUNCTION("avvJ3J0H0EY", "libkernel", 1, "libkernel", 1, 1, sceKernelJitCreateSharedMemory); - LIB_FUNCTION("9yxlvURJU6U", "libkernel", 1, "libkernel", 1, 1, sceKernelJitGetSharedMemoryInfo); - LIB_FUNCTION("YKT49TOLQWs", "libkernel", 1, "libkernel", 1, 1, sceKernelJitMapSharedMemory); - LIB_FUNCTION("m5zDvD-LLjo", "libkernel", 1, "libkernel", 1, 1, sceKernelKernelHeapUsage); - LIB_FUNCTION("wzvqT4UqKX8", "libkernel", 1, "libkernel", 1, 1, sceKernelLoadStartModule); - LIB_FUNCTION("Gg3+yWL6DWU", "libkernel", 1, "libkernel", 1, 1, - sceKernelLoadStartModuleForSysmodule); - LIB_FUNCTION("oib76F-12fk", "libkernel", 1, "libkernel", 1, 1, sceKernelLseek); - LIB_FUNCTION("LFbwY8r50o8", "libkernel", 1, "libkernel", 1, 1, sceKernelLwfsAllocateBlock); - LIB_FUNCTION("s2PjRq4By9U", "libkernel", 1, "libkernel", 1, 1, sceKernelLwfsLseek); - LIB_FUNCTION("T4osaR3EDkI", "libkernel", 1, "libkernel", 1, 1, sceKernelLwfsSetAttribute); - LIB_FUNCTION("kHOS+St2y7M", "libkernel", 1, "libkernel", 1, 1, sceKernelLwfsTrimBlock); - LIB_FUNCTION("FNigDX9ue0g", "libkernel", 1, "libkernel", 1, 1, sceKernelLwfsWrite); - LIB_FUNCTION("L-Q3LEjIbgA", "libkernel", 1, "libkernel", 1, 1, sceKernelMapDirectMemory); - LIB_FUNCTION("BQQniolj9tQ", "libkernel", 1, "libkernel", 1, 1, sceKernelMapDirectMemory2); - LIB_FUNCTION("IWIBBdTHit4", "libkernel", 1, "libkernel", 1, 1, sceKernelMapFlexibleMemory); - LIB_FUNCTION("NcaWUxfMNIQ", "libkernel", 1, "libkernel", 1, 1, sceKernelMapNamedDirectMemory); - LIB_FUNCTION("mL8NDH86iQI", "libkernel", 1, "libkernel", 1, 1, sceKernelMapNamedFlexibleMemory); - LIB_FUNCTION("kc+LEEIYakc", "libkernel", 1, "libkernel", 1, 1, - sceKernelMapNamedSystemFlexibleMemory); - LIB_FUNCTION("8cAlCzoOiic", "libkernel", 1, "libkernel", 1, 1, - sceKernelMapSanitizerShadowMemory); - LIB_FUNCTION("DpDnfM6StzA", "libkernel", 1, "libkernel", 1, 1, sceKernelMapTraceMemory); - LIB_FUNCTION("YN878uKRBbE", "libkernel", 1, "libkernel", 1, 1, sceKernelMemoryPoolBatch); - LIB_FUNCTION("Vzl66WmfLvk", "libkernel", 1, "libkernel", 1, 1, sceKernelMemoryPoolCommit); - LIB_FUNCTION("LXo1tpFqJGs", "libkernel", 1, "libkernel", 1, 1, sceKernelMemoryPoolDecommit); - LIB_FUNCTION("qCSfqDILlns", "libkernel", 1, "libkernel", 1, 1, sceKernelMemoryPoolExpand); - LIB_FUNCTION("bvD+95Q6asU", "libkernel", 1, "libkernel", 1, 1, - sceKernelMemoryPoolGetBlockStats); - LIB_FUNCTION("e1GIcX4AlY4", "libkernel", 1, "libkernel", 1, 1, sceKernelMemoryPoolMove); - LIB_FUNCTION("pU-QydtGcGY", "libkernel", 1, "libkernel", 1, 1, sceKernelMemoryPoolReserve); - LIB_FUNCTION("1-LFLmRFxxM", "libkernel", 1, "libkernel", 1, 1, sceKernelMkdir); - LIB_FUNCTION("3k6kx-zOOSQ", "libkernel", 1, "libkernel", 1, 1, sceKernelMlock); - LIB_FUNCTION("EfqmKkirJF0", "libkernel", 1, "libkernel", 1, 1, sceKernelMlockall); - LIB_FUNCTION("PGhQHd-dzv8", "libkernel", 1, "libkernel", 1, 1, sceKernelMmap); - LIB_FUNCTION("vSMAm3cxYTY", "libkernel", 1, "libkernel", 1, 1, sceKernelMprotect); - LIB_FUNCTION("DkNebxmJyVI", "libkernel", 1, "libkernel", 1, 1, sceKernelMsync); - LIB_FUNCTION("9bfdLIyuwCY", "libkernel", 1, "libkernel", 1, 1, sceKernelMtypeprotect); - LIB_FUNCTION("xQIIfJ860sk", "libkernel", 1, "libkernel", 1, 1, sceKernelMunlock); - LIB_FUNCTION("lvD71jP2Mnk", "libkernel", 1, "libkernel", 1, 1, sceKernelMunlockall); - LIB_FUNCTION("cQke9UuBQOk", "libkernel", 1, "libkernel", 1, 1, sceKernelMunmap); - LIB_FUNCTION("QvsZxomvUHs", "libkernel", 1, "libkernel", 1, 1, sceKernelNanosleep); - LIB_FUNCTION("KB7Vc2+5S54", "libkernel", 1, "libkernel", 1, 1, sceKernelNormalizePath); - LIB_FUNCTION("2z1Tkrqh8jE", "libkernel", 1, "libkernel", 1, 1, sceKernelNotifyAppStateChanged); - LIB_FUNCTION("hjErHT1CwJM", "libkernel", 1, "libkernel", 1, 1, - sceKernelNotifySystemSuspendResumeProgress); - LIB_FUNCTION("da6-yq0GbLg", "libkernel", 1, "libkernel", 1, 1, - sceKernelNotifySystemSuspendStart); - LIB_FUNCTION("1G3lF1Gg1k8", "libkernel", 1, "libkernel", 1, 1, sceKernelOpen); - LIB_FUNCTION("wibWed78GyY", "libkernel", 1, "libkernel", 1, 1, sceKernelOpenEport); - LIB_FUNCTION("1vDaenmJtyA", "libkernel", 1, "libkernel", 1, 1, sceKernelOpenEventFlag); - LIB_FUNCTION("MwhHNKdBXq8", "libkernel", 1, "libkernel", 1, 1, sceKernelOpenSema); - LIB_FUNCTION("9lvj5DjHZiA", "libkernel", 1, "libkernel", 1, 1, sceKernelPollEventFlag); - LIB_FUNCTION("12wOHk8ywb0", "libkernel", 1, "libkernel", 1, 1, sceKernelPollSema); - LIB_FUNCTION("+r3rMFwItV4", "libkernel", 1, "libkernel", 1, 1, sceKernelPread); - LIB_FUNCTION("yTj62I7kw4s", "libkernel", 1, "libkernel", 1, 1, sceKernelPreadv); - LIB_FUNCTION("Wl2o5hOVZdw", "libkernel", 1, "libkernel", 1, 1, - sceKernelPrintBacktraceWithModuleInfo); - LIB_FUNCTION("k1jIkFHa9OU", "libkernel", 1, "libkernel", 1, 1, sceKernelProtectDirectMemory); - LIB_FUNCTION("cBp0Ad-24LA", "libkernel", 1, "libkernel", 1, 1, - sceKernelProtectDirectMemoryForPID); - LIB_FUNCTION("nKWi-N2HBV4", "libkernel", 1, "libkernel", 1, 1, sceKernelPwrite); - LIB_FUNCTION("mBd4AfLP+u8", "libkernel", 1, "libkernel", 1, 1, sceKernelPwritev); - LIB_FUNCTION("WFcfL2lzido", "libkernel", 1, "libkernel", 1, 1, sceKernelQueryMemoryProtection); - LIB_FUNCTION("+8GCeq43o7c", "libkernel", 1, "libkernel", 1, 1, sceKernelQueryTraceMemory); - LIB_FUNCTION("il03nluKfMk", "libkernel", 1, "libkernel", 1, 1, sceKernelRaiseException); - LIB_FUNCTION("p2suRCR4KqE", "libkernel", 1, "libkernel", 1, 1, sceKernelRandomizedPath); - LIB_FUNCTION("LxIacrWiJ3w", "libkernel", 1, "libkernel", 1, 1, sceKernelRdup); - LIB_FUNCTION("Cg4srZ6TKbU", "libkernel", 1, "libkernel", 1, 1, sceKernelRead); - LIB_FUNCTION("-2IRUCO--PM", "libkernel", 1, "libkernel", 1, 1, sceKernelReadTsc); - LIB_FUNCTION("QqxBetgJH+g", "libkernel", 1, "libkernel", 1, 1, sceKernelReadv); - LIB_FUNCTION("bXxVDD3VuWc", "libkernel", 1, "libkernel", 1, 1, sceKernelReboot); - LIB_FUNCTION("MBuItvba6z8", "libkernel", 1, "libkernel", 1, 1, sceKernelReleaseDirectMemory); - LIB_FUNCTION("teiItL2boFw", "libkernel", 1, "libkernel", 1, 1, sceKernelReleaseFlexibleMemory); - LIB_FUNCTION("Alqa9RE0Y5k", "libkernel", 1, "libkernel", 1, 1, - sceKernelReleaseTraceDirectMemory); - LIB_FUNCTION("Qhv5ARAoOEc", "libkernel", 1, "libkernel", 1, 1, sceKernelRemoveExceptionHandler); - LIB_FUNCTION("52NcYU9+lEo", "libkernel", 1, "libkernel", 1, 1, sceKernelRename); - LIB_FUNCTION("M0z6Dr6TNnM", "libkernel", 1, "libkernel", 1, 1, - sceKernelReportUnpatchedFunctionCall); - LIB_FUNCTION("VjWR6g9qL2k", "libkernel", 1, "libkernel", 1, 1, sceKernelReserve2mbPage); - LIB_FUNCTION("4zUh1kGuaiw", "libkernel", 1, "libkernel", 1, 1, - sceKernelReserveSystemDirectMemory); - LIB_FUNCTION("7oxv3PPCumo", "libkernel", 1, "libkernel", 1, 1, sceKernelReserveVirtualRange); - LIB_FUNCTION("PS5hxxGEVB8", "libkernel", 1, "libkernel", 1, 1, - sceKernelResumeDirectMemoryRelease); - LIB_FUNCTION("naInUjYt3so", "libkernel", 1, "libkernel", 1, 1, sceKernelRmdir); - LIB_FUNCTION("Kf10sqhOoRY", "libkernel", 1, "libkernel", 1, 1, sceKernelRtldControl); - LIB_FUNCTION("ASVb7Y-pR4Y", "libkernel", 1, "libkernel", 1, 1, sceKernelSandboxPath); - LIB_FUNCTION("zl7hupSO0C0", "libkernel", 1, "libkernel", 1, 1, - sceKernelSendNotificationRequest); - LIB_FUNCTION("CkomU+GYCQ8", "libkernel", 1, "libkernel", 1, 1, sceKernelSetAppInfo); - LIB_FUNCTION("9xRIkqnNibE", "libkernel", 1, "libkernel", 1, 1, sceKernelSetBackupRestoreMode); - LIB_FUNCTION("V0ey5Vz5F7k", "libkernel", 1, "libkernel", 1, 1, sceKernelSetBaseModeClock); - LIB_FUNCTION("WS7uPTZ0WCs", "libkernel", 1, "libkernel", 1, 1, sceKernelSetBesteffort); - LIB_FUNCTION("c8J3uxxQTl4", "libkernel", 1, "libkernel", 1, 1, sceKernelSetBootReqNotify); - LIB_FUNCTION("P6dUEXUHXjo", "libkernel", 1, "libkernel", 1, 1, sceKernelSetCallRecord); - LIB_FUNCTION("FeBOnMEm0SY", "libkernel", 1, "libkernel", 1, 1, - sceKernelSetCompressionAttribute); - LIB_FUNCTION("KCwXUKT269I", "libkernel", 1, "libkernel", 1, 1, sceKernelSetCpumodeGame); - LIB_FUNCTION("+rSNKzU+aNQ", "libkernel", 1, "libkernel", 1, 1, sceKernelSetDataTransferMode); - LIB_FUNCTION("IOnSvHzqu6A", "libkernel", 1, "libkernel", 1, 1, sceKernelSetEventFlag); - LIB_FUNCTION("VjBtg5Btl94", "libkernel", 1, "libkernel", 1, 1, sceKernelSetFsstParam); - LIB_FUNCTION("ej7DGZDhuAk", "libkernel", 1, "libkernel", 1, 1, - sceKernelSetGameDirectMemoryLimit); - LIB_FUNCTION("rzEsC81gurc", "libkernel", 1, "libkernel", 1, 1, sceKernelSetGPI); - LIB_FUNCTION("ca7v6Cxulzs", "libkernel", 1, "libkernel", 1, 1, sceKernelSetGPO); - LIB_FUNCTION("4nAp4pZgV1A", "libkernel", 1, "libkernel", 1, 1, sceKernelSetGpuCu); - LIB_FUNCTION("A1zOC17L80g", "libkernel", 1, "libkernel", 1, 1, sceKernelSetMemoryPstate); - LIB_FUNCTION("EA4bmgm02o8", "libkernel", 1, "libkernel", 1, 1, sceKernelSetNeoModeClock); - LIB_FUNCTION("BDLSyH7y6Mo", "libkernel", 1, "libkernel", 1, 1, sceKernelSetPhysFmemLimit); - LIB_FUNCTION("8UVYwy0F2Hk", "libkernel", 1, "libkernel", 1, 1, sceKernelSetProcessName); - LIB_FUNCTION("-W4xI5aVI8w", "libkernel", 1, "libkernel", 1, 1, sceKernelSetProcessProperty); - LIB_FUNCTION("U5HG6wD4smU", "libkernel", 1, "libkernel", 1, 1, - sceKernelSetProcessPropertyString); - LIB_FUNCTION("BohYr-F7-is", "libkernel", 1, "libkernel", 1, 1, sceKernelSetPrtAperture); - LIB_FUNCTION("As-JdqyUuMs", "libkernel", 1, "libkernel", 1, 1, sceKernelSetSafemode); - LIB_FUNCTION("ChCOChPU-YM", "libkernel", 1, "libkernel", 1, 1, sceKernelSettimeofday); - LIB_FUNCTION("cxdklXtQcqA", "libkernel", 1, "libkernel", 1, 1, sceKernelSetTimezoneInfo); - LIB_FUNCTION("DGMG3JshrZU", "libkernel", 1, "libkernel", 1, 1, sceKernelSetVirtualRangeName); - LIB_FUNCTION("R7Xj-th93gs", "libkernel", 1, "libkernel", 1, 1, sceKernelSetVmContainer); - LIB_FUNCTION("4czppHBiriw", "libkernel", 1, "libkernel", 1, 1, sceKernelSignalSema); - LIB_FUNCTION("-ZR+hG7aDHw", "libkernel", 1, "libkernel", 1, 1, sceKernelSleep); - LIB_FUNCTION("8KDMful7g1Y", "libkernel", 1, "libkernel", 1, 1, sceKernelSlvNotifyError); - LIB_FUNCTION("eV9wAD2riIA", "libkernel", 1, "libkernel", 1, 1, sceKernelStat); - LIB_FUNCTION("QKd0qM58Qes", "libkernel", 1, "libkernel", 1, 1, sceKernelStopUnloadModule); - LIB_FUNCTION("C8wi8QOUQQk", "libkernel", 1, "libkernel", 1, 1, - sceKernelSuspendDirectMemoryRelease); - LIB_FUNCTION("KK6B72YC-js", "libkernel", 1, "libkernel", 1, 1, sceKernelSwitchToBaseMode); - LIB_FUNCTION("+DVcq4YF6Xg", "libkernel", 1, "libkernel", 1, 1, sceKernelSwitchToNeoMode); - LIB_FUNCTION("uvT2iYBBnkY", "libkernel", 1, "libkernel", 1, 1, sceKernelSync); - LIB_FUNCTION("hUN72ocX6gM", "libkernel", 1, "libkernel", 1, 1, sceKernelTerminateSysCore); - LIB_FUNCTION("1yca4VvfcNA", "libkernel", 1, "libkernel", 1, 1, - sceKernelTitleWorkaroundIsEnabled); - LIB_FUNCTION("GST42pfUfMc", "libkernel", 1, "libkernel", 1, 1, - sceKernelTitleWorkdaroundIsEnabled); - LIB_FUNCTION("eESTogkCMPE", "libkernel", 1, "libkernel", 1, 1, sceKernelTraceMemoryTypeProtect); - LIB_FUNCTION("is-XQhYPRaQ", "libkernel", 1, "libkernel", 1, 1, sceKernelTriggerEport); - LIB_FUNCTION("F6e0kwo4cnk", "libkernel", 1, "libkernel", 1, 1, sceKernelTriggerUserEvent); - LIB_FUNCTION("WlyEA-sLDf0", "libkernel", 1, "libkernel", 1, 1, sceKernelTruncate); - LIB_FUNCTION("AUXVxWeJU-A", "libkernel", 1, "libkernel", 1, 1, sceKernelUnlink); - LIB_FUNCTION("1jfXLRVzisc", "libkernel", 1, "libkernel", 1, 1, sceKernelUsleep); - LIB_FUNCTION("0Cq8ipKr9n0", "libkernel", 1, "libkernel", 1, 1, sceKernelUtimes); - LIB_FUNCTION("Xjoosiw+XPI", "libkernel", 1, "libkernel", 1, 1, sceKernelUuidCreate); - LIB_FUNCTION("rVjRvHJ0X6c", "libkernel", 1, "libkernel", 1, 1, sceKernelVirtualQuery); - LIB_FUNCTION("f77qlxIbqu0", "libkernel", 1, "libkernel", 1, 1, sceKernelVirtualQueryAll); - LIB_FUNCTION("fzyMKs9kim0", "libkernel", 1, "libkernel", 1, 1, sceKernelWaitEqueue); - LIB_FUNCTION("JTvBflhYazQ", "libkernel", 1, "libkernel", 1, 1, sceKernelWaitEventFlag); - LIB_FUNCTION("Zxa0VhQVTsk", "libkernel", 1, "libkernel", 1, 1, sceKernelWaitSema); - LIB_FUNCTION("4wSze92BhLI", "libkernel", 1, "libkernel", 1, 1, sceKernelWrite); - LIB_FUNCTION("I111PPn2g18", "libkernel", 1, "libkernel", 1, 1, sceKernelWriteSdkEventLog); - LIB_FUNCTION("kAt6VDbHmro", "libkernel", 1, "libkernel", 1, 1, sceKernelWritev); - LIB_FUNCTION("BtJ3gH33xss", "libkernel", 1, "libkernel", 1, 1, sceKernelYieldCpumode); - LIB_FUNCTION("pi90NsG3zPA", "libkernel", 1, "libkernel", 1, 1, sceLibcMspaceCreateForMonoMutex); - LIB_FUNCTION("i1kREW2pchs", "libkernel", 1, "libkernel", 1, 1, scePthreadAtfork); - LIB_FUNCTION("62KCwEMmzcM", "libkernel", 1, "libkernel", 1, 1, scePthreadAttrDestroy); - LIB_FUNCTION("x1X76arYMxU", "libkernel", 1, "libkernel", 1, 1, scePthreadAttrGet); - LIB_FUNCTION("8+s5BzZjxSg", "libkernel", 1, "libkernel", 1, 1, scePthreadAttrGetaffinity); - LIB_FUNCTION("JaRMy+QcpeU", "libkernel", 1, "libkernel", 1, 1, scePthreadAttrGetdetachstate); - LIB_FUNCTION("txHtngJ+eyc", "libkernel", 1, "libkernel", 1, 1, scePthreadAttrGetguardsize); - LIB_FUNCTION("lpMP8HhkBbg", "libkernel", 1, "libkernel", 1, 1, scePthreadAttrGetinheritsched); - LIB_FUNCTION("FXPWHNk8Of0", "libkernel", 1, "libkernel", 1, 1, scePthreadAttrGetschedparam); - LIB_FUNCTION("NMyIQ9WgWbU", "libkernel", 1, "libkernel", 1, 1, scePthreadAttrGetschedpolicy); - LIB_FUNCTION("+7B2AEKKns8", "libkernel", 1, "libkernel", 1, 1, scePthreadAttrGetscope); - LIB_FUNCTION("-quPa4SEJUw", "libkernel", 1, "libkernel", 1, 1, scePthreadAttrGetstack); - LIB_FUNCTION("Ru36fiTtJzA", "libkernel", 1, "libkernel", 1, 1, scePthreadAttrGetstackaddr); - LIB_FUNCTION("-fA+7ZlGDQs", "libkernel", 1, "libkernel", 1, 1, scePthreadAttrGetstacksize); - LIB_FUNCTION("nsYoNRywwNg", "libkernel", 1, "libkernel", 1, 1, scePthreadAttrInit); - LIB_FUNCTION("3qxgM4ezETA", "libkernel", 1, "libkernel", 1, 1, scePthreadAttrSetaffinity); - LIB_FUNCTION("GZSR0Ooae9Q", "libkernel", 1, "libkernel", 1, 1, scePthreadAttrSetcreatesuspend); - LIB_FUNCTION("-Wreprtu0Qs", "libkernel", 1, "libkernel", 1, 1, scePthreadAttrSetdetachstate); - LIB_FUNCTION("El+cQ20DynU", "libkernel", 1, "libkernel", 1, 1, scePthreadAttrSetguardsize); - LIB_FUNCTION("eXbUSpEaTsA", "libkernel", 1, "libkernel", 1, 1, scePthreadAttrSetinheritsched); - LIB_FUNCTION("DzES9hQF4f4", "libkernel", 1, "libkernel", 1, 1, scePthreadAttrSetschedparam); - LIB_FUNCTION("4+h9EzwKF4I", "libkernel", 1, "libkernel", 1, 1, scePthreadAttrSetschedpolicy); - LIB_FUNCTION("YdZfEZfRnPk", "libkernel", 1, "libkernel", 1, 1, scePthreadAttrSetscope); - LIB_FUNCTION("Bvn74vj6oLo", "libkernel", 1, "libkernel", 1, 1, scePthreadAttrSetstack); - LIB_FUNCTION("F+yfmduIBB8", "libkernel", 1, "libkernel", 1, 1, scePthreadAttrSetstackaddr); - LIB_FUNCTION("UTXzJbWhhTE", "libkernel", 1, "libkernel", 1, 1, scePthreadAttrSetstacksize); - LIB_FUNCTION("oT-j4DqJHY8", "libkernel", 1, "libkernel", 1, 1, scePthreadBarrierattrDestroy); - LIB_FUNCTION("SkutDtgqJ9g", "libkernel", 1, "libkernel", 1, 1, scePthreadBarrierattrGetpshared); - LIB_FUNCTION("SDkV9xhINKI", "libkernel", 1, "libkernel", 1, 1, scePthreadBarrierattrInit); - LIB_FUNCTION("NpfpcLf5PYM", "libkernel", 1, "libkernel", 1, 1, scePthreadBarrierattrSetpshared); - LIB_FUNCTION("HudB2Jv2MPY", "libkernel", 1, "libkernel", 1, 1, scePthreadBarrierDestroy); - LIB_FUNCTION("5dgOEPsEGqw", "libkernel", 1, "libkernel", 1, 1, scePthreadBarrierInit); - LIB_FUNCTION("t9vVyTglqHQ", "libkernel", 1, "libkernel", 1, 1, scePthreadBarrierWait); - LIB_FUNCTION("qBDmpCyGssE", "libkernel", 1, "libkernel", 1, 1, scePthreadCancel); - LIB_FUNCTION("waPcxYiR3WA", "libkernel", 1, "libkernel", 1, 1, scePthreadCondattrDestroy); - LIB_FUNCTION("6qM3kO5S3Oo", "libkernel", 1, "libkernel", 1, 1, scePthreadCondattrGetclock); - LIB_FUNCTION("Dn-DRWi9t54", "libkernel", 1, "libkernel", 1, 1, scePthreadCondattrGetpshared); - LIB_FUNCTION("m5-2bsNfv7s", "libkernel", 1, "libkernel", 1, 1, scePthreadCondattrInit); - LIB_FUNCTION("c-bxj027czs", "libkernel", 1, "libkernel", 1, 1, scePthreadCondattrSetclock); - LIB_FUNCTION("6xMew9+rZwI", "libkernel", 1, "libkernel", 1, 1, scePthreadCondattrSetpshared); - LIB_FUNCTION("JGgj7Uvrl+A", "libkernel", 1, "libkernel", 1, 1, scePthreadCondBroadcast); - LIB_FUNCTION("g+PZd2hiacg", "libkernel", 1, "libkernel", 1, 1, scePthreadCondDestroy); - LIB_FUNCTION("2Tb92quprl0", "libkernel", 1, "libkernel", 1, 1, scePthreadCondInit); - LIB_FUNCTION("kDh-NfxgMtE", "libkernel", 1, "libkernel", 1, 1, scePthreadCondSignal); - LIB_FUNCTION("o69RpYO-Mu0", "libkernel", 1, "libkernel", 1, 1, scePthreadCondSignalto); - LIB_FUNCTION("BmMjYxmew1w", "libkernel", 1, "libkernel", 1, 1, scePthreadCondTimedwait); - LIB_FUNCTION("WKAXJ4XBPQ4", "libkernel", 1, "libkernel", 1, 1, scePthreadCondWait); - LIB_FUNCTION("6UgtwV+0zb4", "libkernel", 1, "libkernel", 1, 1, scePthreadCreate); - LIB_FUNCTION("4qGrR6eoP9Y", "libkernel", 1, "libkernel", 1, 1, scePthreadDetach); - LIB_FUNCTION("3PtV6p3QNX4", "libkernel", 1, "libkernel", 1, 1, scePthreadEqual); - LIB_FUNCTION("3kg7rT0NQIs", "libkernel", 1, "libkernel", 1, 1, scePthreadExit); - LIB_FUNCTION("rcrVFJsQWRY", "libkernel", 1, "libkernel", 1, 1, scePthreadGetaffinity); - LIB_FUNCTION("zLlLc3h2Prk", "libkernel", 1, "libkernel", 1, 1, scePthreadGetconcurrency); - LIB_FUNCTION("tWFPPuAJxks", "libkernel", 1, "libkernel", 1, 1, scePthreadGetcpuclockid); - LIB_FUNCTION("How7B8Oet6k", "libkernel", 1, "libkernel", 1, 1, scePthreadGetname); - LIB_FUNCTION("1tKyG7RlMJo", "libkernel", 1, "libkernel", 1, 1, scePthreadGetprio); - LIB_FUNCTION("P41kTWUS3EI", "libkernel", 1, "libkernel", 1, 1, scePthreadGetschedparam); - LIB_FUNCTION("eoht7mQOCmo", "libkernel", 1, "libkernel", 1, 1, scePthreadGetspecific); - LIB_FUNCTION("EI-5-jlq2dE", "libkernel", 1, "libkernel", 1, 1, scePthreadGetthreadid); - LIB_FUNCTION("onNY9Byn-W8", "libkernel", 1, "libkernel", 1, 1, scePthreadJoin); - LIB_FUNCTION("geDaqgH9lTg", "libkernel", 1, "libkernel", 1, 1, scePthreadKeyCreate); - LIB_FUNCTION("PrdHuuDekhY", "libkernel", 1, "libkernel", 1, 1, scePthreadKeyDelete); - LIB_FUNCTION("55aShElDfY4", "libkernel", 1, "libkernel", 1, 1, scePthreadMain); - LIB_FUNCTION("JVc71p0lpFs", "libkernel", 1, "libkernel", 1, 1, scePthreadMulti); - LIB_FUNCTION("smWEktiyyG0", "libkernel", 1, "libkernel", 1, 1, scePthreadMutexattrDestroy); - LIB_FUNCTION("rH2mWEndluc", "libkernel", 1, "libkernel", 1, 1, scePthreadMutexattrGetkind); - LIB_FUNCTION("SgjMpyH9Z9I", "libkernel", 1, "libkernel", 1, 1, - scePthreadMutexattrGetprioceiling); - LIB_FUNCTION("GoTmFeui+hQ", "libkernel", 1, "libkernel", 1, 1, scePthreadMutexattrGetprotocol); - LIB_FUNCTION("losEubHc64c", "libkernel", 1, "libkernel", 1, 1, scePthreadMutexattrGetpshared); - LIB_FUNCTION("gquEhBrS2iw", "libkernel", 1, "libkernel", 1, 1, scePthreadMutexattrGettype); - LIB_FUNCTION("F8bUHwAG284", "libkernel", 1, "libkernel", 1, 1, scePthreadMutexattrInit); - LIB_FUNCTION("n2MMpvU8igI", "libkernel", 1, "libkernel", 1, 1, - scePthreadMutexattrInitForInternalLibc); - LIB_FUNCTION("UWZbVSFze24", "libkernel", 1, "libkernel", 1, 1, scePthreadMutexattrSetkind); - LIB_FUNCTION("532IaQguwMg", "libkernel", 1, "libkernel", 1, 1, - scePthreadMutexattrSetprioceiling); - LIB_FUNCTION("1FGvU0i9saQ", "libkernel", 1, "libkernel", 1, 1, scePthreadMutexattrSetprotocol); - LIB_FUNCTION("mxKx9bxXF2I", "libkernel", 1, "libkernel", 1, 1, scePthreadMutexattrSetpshared); - LIB_FUNCTION("iMp8QpE+XO4", "libkernel", 1, "libkernel", 1, 1, scePthreadMutexattrSettype); - LIB_FUNCTION("2Of0f+3mhhE", "libkernel", 1, "libkernel", 1, 1, scePthreadMutexDestroy); - LIB_FUNCTION("5mO+cXIAaRI", "libkernel", 1, "libkernel", 1, 1, scePthreadMutexGetprioceiling); - LIB_FUNCTION("pOmNmyRKlIE", "libkernel", 1, "libkernel", 1, 1, scePthreadMutexGetspinloops); - LIB_FUNCTION("AWS3NyViL9o", "libkernel", 1, "libkernel", 1, 1, scePthreadMutexGetyieldloops); - LIB_FUNCTION("cmo1RIYva9o", "libkernel", 1, "libkernel", 1, 1, scePthreadMutexInit); - LIB_FUNCTION("qH1gXoq71RY", "libkernel", 1, "libkernel", 1, 1, - scePthreadMutexInitForInternalLibc); - LIB_FUNCTION("W6OrTBO95UY", "libkernel", 1, "libkernel", 1, 1, scePthreadMutexIsowned); - LIB_FUNCTION("9UK1vLZQft4", "libkernel", 1, "libkernel", 1, 1, scePthreadMutexLock); - LIB_FUNCTION("XAzZo12sbN8", "libkernel", 1, "libkernel", 1, 1, scePthreadMutexSetprioceiling); - LIB_FUNCTION("42YkUouoMI0", "libkernel", 1, "libkernel", 1, 1, scePthreadMutexSetspinloops); - LIB_FUNCTION("bP+cqFmBW+A", "libkernel", 1, "libkernel", 1, 1, scePthreadMutexSetyieldloops); - LIB_FUNCTION("IafI2PxcPnQ", "libkernel", 1, "libkernel", 1, 1, scePthreadMutexTimedlock); - LIB_FUNCTION("upoVrzMHFeE", "libkernel", 1, "libkernel", 1, 1, scePthreadMutexTrylock); - LIB_FUNCTION("tn3VlD0hG60", "libkernel", 1, "libkernel", 1, 1, scePthreadMutexUnlock); - LIB_FUNCTION("14bOACANTBo", "libkernel", 1, "libkernel", 1, 1, scePthreadOnce); - LIB_FUNCTION("GBUY7ywdULE", "libkernel", 1, "libkernel", 1, 1, scePthreadRename); - LIB_FUNCTION("DB7Mkm+Pqzw", "libkernel", 1, "libkernel", 1, 1, scePthreadResume); - LIB_FUNCTION("te+MBYMzDhY", "libkernel", 1, "libkernel", 1, 1, scePthreadResumeAll); - LIB_FUNCTION("i2ifZ3fS2fo", "libkernel", 1, "libkernel", 1, 1, scePthreadRwlockattrDestroy); - LIB_FUNCTION("LcOZBHGqbFk", "libkernel", 1, "libkernel", 1, 1, scePthreadRwlockattrGetpshared); - LIB_FUNCTION("Kyls1ChFyrc", "libkernel", 1, "libkernel", 1, 1, scePthreadRwlockattrGettype); - LIB_FUNCTION("yOfGg-I1ZII", "libkernel", 1, "libkernel", 1, 1, scePthreadRwlockattrInit); - LIB_FUNCTION("-ZvQH18j10c", "libkernel", 1, "libkernel", 1, 1, scePthreadRwlockattrSetpshared); - LIB_FUNCTION("h-OifiouBd8", "libkernel", 1, "libkernel", 1, 1, scePthreadRwlockattrSettype); - LIB_FUNCTION("BB+kb08Tl9A", "libkernel", 1, "libkernel", 1, 1, scePthreadRwlockDestroy); - LIB_FUNCTION("6ULAa0fq4jA", "libkernel", 1, "libkernel", 1, 1, scePthreadRwlockInit); - LIB_FUNCTION("Ox9i0c7L5w0", "libkernel", 1, "libkernel", 1, 1, scePthreadRwlockRdlock); - LIB_FUNCTION("iPtZRWICjrM", "libkernel", 1, "libkernel", 1, 1, scePthreadRwlockTimedrdlock); - LIB_FUNCTION("adh--6nIqTk", "libkernel", 1, "libkernel", 1, 1, scePthreadRwlockTimedwrlock); - LIB_FUNCTION("XD3mDeybCnk", "libkernel", 1, "libkernel", 1, 1, scePthreadRwlockTryrdlock); - LIB_FUNCTION("bIHoZCTomsI", "libkernel", 1, "libkernel", 1, 1, scePthreadRwlockTrywrlock); - LIB_FUNCTION("+L98PIbGttk", "libkernel", 1, "libkernel", 1, 1, scePthreadRwlockUnlock); - LIB_FUNCTION("mqdNorrB+gI", "libkernel", 1, "libkernel", 1, 1, scePthreadRwlockWrlock); - LIB_FUNCTION("aI+OeCz8xrQ", "libkernel", 1, "libkernel", 1, 1, scePthreadSelf); - LIB_FUNCTION("Vwc+L05e6oE", "libkernel", 1, "libkernel", 1, 1, scePthreadSemDestroy); - LIB_FUNCTION("DjpBvGlaWbQ", "libkernel", 1, "libkernel", 1, 1, scePthreadSemGetvalue); - LIB_FUNCTION("GEnUkDZoUwY", "libkernel", 1, "libkernel", 1, 1, scePthreadSemInit); - LIB_FUNCTION("aishVAiFaYM", "libkernel", 1, "libkernel", 1, 1, scePthreadSemPost); - LIB_FUNCTION("fjN6NQHhK8k", "libkernel", 1, "libkernel", 1, 1, scePthreadSemTimedwait); - LIB_FUNCTION("H2a+IN9TP0E", "libkernel", 1, "libkernel", 1, 1, scePthreadSemTrywait); - LIB_FUNCTION("C36iRE0F5sE", "libkernel", 1, "libkernel", 1, 1, scePthreadSemWait); - LIB_FUNCTION("bt3CTBKmGyI", "libkernel", 1, "libkernel", 1, 1, scePthreadSetaffinity); - LIB_FUNCTION("i3tB6CuvHb4", "libkernel", 1, "libkernel", 1, 1, scePthreadSetBesteffort); - LIB_FUNCTION("OAmWq+OHSjw", "libkernel", 1, "libkernel", 1, 1, scePthreadSetcancelstate); - LIB_FUNCTION("sCJd99Phct0", "libkernel", 1, "libkernel", 1, 1, scePthreadSetcanceltype); - LIB_FUNCTION("gdnv6wF6hwI", "libkernel", 1, "libkernel", 1, 1, scePthreadSetconcurrency); - LIB_FUNCTION("oVZ+-KgZJGo", "libkernel", 1, "libkernel", 1, 1, scePthreadSetDefaultstacksize); - LIB_FUNCTION("XeTqw+0Zl10", "libkernel", 1, "libkernel", 1, 1, scePthreadSetName); - LIB_FUNCTION("W0Hpm2X0uPE", "libkernel", 1, "libkernel", 1, 1, scePthreadSetprio); - LIB_FUNCTION("oIRFTjoILbg", "libkernel", 1, "libkernel", 1, 1, scePthreadSetschedparam); - LIB_FUNCTION("+BzXYkqYeLE", "libkernel", 1, "libkernel", 1, 1, scePthreadSetspecific); - LIB_FUNCTION("OTb0kHrf1pE", "libkernel", 1, "libkernel", 1, 1, scePthreadSingle); - LIB_FUNCTION("ywmONkF81ok", "libkernel", 1, "libkernel", 1, 1, scePthreadSuspend); - LIB_FUNCTION("HlzHlgqiBo8", "libkernel", 1, "libkernel", 1, 1, scePthreadSuspendAll); - LIB_FUNCTION("LapIb799SSE", "libkernel", 1, "libkernel", 1, 1, scePthreadTestcancel); - LIB_FUNCTION("HLUSF4Oi7Pc", "libkernel", 1, "libkernel", 1, 1, scePthreadTimedjoin); - LIB_FUNCTION("T72hz6ffq08", "libkernel", 1, "libkernel", 1, 1, scePthreadYield); - LIB_FUNCTION("CBNtXOoef-E", "libkernel", 1, "libkernel", 1, 1, sched_get_priority_max); - LIB_FUNCTION("m0iS6jNsXds", "libkernel", 1, "libkernel", 1, 1, sched_get_priority_min); - LIB_FUNCTION("O6gKl8uvGyE", "libkernel", 1, "libkernel", 1, 1, sched_getparam); - LIB_FUNCTION("SD7oNCIQWvE", "libkernel", 1, "libkernel", 1, 1, sched_getscheduler); - LIB_FUNCTION("PrsRaaSO-X0", "libkernel", 1, "libkernel", 1, 1, sched_rr_get_interval); - LIB_FUNCTION("yawdym+zDvw", "libkernel", 1, "libkernel", 1, 1, sched_setparam); - LIB_FUNCTION("puT82CSQzDE", "libkernel", 1, "libkernel", 1, 1, sched_setscheduler); - LIB_FUNCTION("6XG4B33N09g", "libkernel", 1, "libkernel", 1, 1, sched_yield); - LIB_FUNCTION("T8fER+tIGgk", "libkernel", 1, "libkernel", 1, 1, select); - LIB_FUNCTION("5gXnxR+pdUo", "libkernel", 1, "libkernel", 1, 1, sem_close); - LIB_FUNCTION("cDW233RAwWo", "libkernel", 1, "libkernel", 1, 1, sem_destroy); - LIB_FUNCTION("Bq+LRV-N6Hk", "libkernel", 1, "libkernel", 1, 1, sem_getvalue); - LIB_FUNCTION("pDuPEf3m4fI", "libkernel", 1, "libkernel", 1, 1, sem_init); - LIB_FUNCTION("+P6FRnQJc1E", "libkernel", 1, "libkernel", 1, 1, sem_open); - LIB_FUNCTION("IKP8typ0QUk", "libkernel", 1, "libkernel", 1, 1, sem_post); - LIB_FUNCTION("4SbrhCozqQU", "libkernel", 1, "libkernel", 1, 1, sem_reltimedwait_np); - LIB_FUNCTION("-wUggz2S5yk", "libkernel", 1, "libkernel", 1, 1, sem_setname); - LIB_FUNCTION("w5IHyvahg-o", "libkernel", 1, "libkernel", 1, 1, sem_timedwait); - LIB_FUNCTION("WBWzsRifCEA", "libkernel", 1, "libkernel", 1, 1, sem_trywait); - LIB_FUNCTION("OiunYlyJUvc", "libkernel", 1, "libkernel", 1, 1, sem_unlink); - LIB_FUNCTION("YCV5dGGBcCo", "libkernel", 1, "libkernel", 1, 1, sem_wait); - LIB_FUNCTION("fZOeZIOEmLw", "libkernel", 1, "libkernel", 1, 1, send); - LIB_FUNCTION("YA0r4LCkfeY", "libkernel", 1, "libkernel", 1, 1, sendfile); - LIB_FUNCTION("aNeavPDNKzA", "libkernel", 1, "libkernel", 1, 1, sendmsg); - LIB_FUNCTION("oBr313PppNE", "libkernel", 1, "libkernel", 1, 1, sendto); - LIB_FUNCTION("mm0znr-xjqI", "libkernel", 1, "libkernel", 1, 1, set_phys_fmem_limit); - LIB_FUNCTION("2VRU7xiqLO8", "libkernel", 1, "libkernel", 1, 1, setcontext); - LIB_FUNCTION("4oKwKmeOKjM", "libkernel", 1, "libkernel", 1, 1, setegid); - LIB_FUNCTION("HTxb6gmexa0", "libkernel", 1, "libkernel", 1, 1, seteuid); - LIB_FUNCTION("M8VZ3iIlmyg", "libkernel", 1, "libkernel", 1, 1, setgroups); - LIB_FUNCTION("hPWDGx8ioXQ", "libkernel", 1, "libkernel", 1, 1, setitimer); - LIB_FUNCTION("TUC9xC1YQjs", "libkernel", 1, "libkernel", 1, 1, setpriority); - LIB_FUNCTION("ROILLZdYZPc", "libkernel", 1, "libkernel", 1, 1, setregid); - LIB_FUNCTION("6w8tPp+Yk6E", "libkernel", 1, "libkernel", 1, 1, setreuid); - LIB_FUNCTION("4X0QwvuCfjc", "libkernel", 1, "libkernel", 1, 1, setrlimit); - LIB_FUNCTION("fFxGkxF2bVo", "libkernel", 1, "libkernel", 1, 1, setsockopt); - LIB_FUNCTION("VdXIDAbJ3tQ", "libkernel", 1, "libkernel", 1, 1, settimeofday); - LIB_FUNCTION("JVmUZwK-HJU", "libkernel", 1, "libkernel", 1, 1, setuid); - LIB_FUNCTION("QuJYZ2KVGGQ", "libkernel", 1, "libkernel", 1, 1, shm_open); - LIB_FUNCTION("tPWsbOUGO8k", "libkernel", 1, "libkernel", 1, 1, shm_unlink); - LIB_FUNCTION("TUuiYS2kE8s", "libkernel", 1, "libkernel", 1, 1, shutdown); - LIB_FUNCTION("KiJEPEWRyUY", "libkernel", 1, "libkernel", 1, 1, sigaction); - LIB_FUNCTION("JUimFtKe0Kc", "libkernel", 1, "libkernel", 1, 1, sigaddset); - LIB_FUNCTION("sHziAegVp74", "libkernel", 1, "libkernel", 1, 1, sigaltstack); - LIB_FUNCTION("Nd-u09VFSCA", "libkernel", 1, "libkernel", 1, 1, sigdelset); - LIB_FUNCTION("+F7C-hdk7+E", "libkernel", 1, "libkernel", 1, 1, sigemptyset); - LIB_FUNCTION("VkTAsrZDcJ0", "libkernel", 1, "libkernel", 1, 1, sigfillset); - LIB_FUNCTION("JnNl8Xr-z4Y", "libkernel", 1, "libkernel", 1, 1, sigismember); - LIB_FUNCTION("pebqbE5ws8s", "libkernel", 1, "libkernel", 1, 1, siglongjmp); - LIB_FUNCTION("VADc3MNQ3cM", "libkernel", 1, "libkernel", 1, 1, signal); - LIB_FUNCTION("hpoDTzy9Yy0", "libkernel", 1, "libkernel", 1, 1, sigpending); - LIB_FUNCTION("aPcyptbOiZs", "libkernel", 1, "libkernel", 1, 1, sigprocmask); - LIB_FUNCTION("TJG6tf+yJlY", "libkernel", 1, "libkernel", 1, 1, sigqueue); - LIB_FUNCTION("mo0bFmWppIw", "libkernel", 1, "libkernel", 1, 1, sigreturn); - LIB_FUNCTION("aRo9AhFUXcM", "libkernel", 1, "libkernel", 1, 1, sigsetjmp); - LIB_FUNCTION("KZ-4qlqlpmo", "libkernel", 1, "libkernel", 1, 1, sigsuspend); - LIB_FUNCTION("D2-dIoJ0ZtE", "libkernel", 1, "libkernel", 1, 1, sigtimedwait); - LIB_FUNCTION("mrbHXqK8wkg", "libkernel", 1, "libkernel", 1, 1, sigwait); - LIB_FUNCTION("Uq5BGthgbl4", "libkernel", 1, "libkernel", 1, 1, sigwaitinfo); - LIB_FUNCTION("0wu33hunNdE", "libkernel", 1, "libkernel", 1, 1, sleep); - LIB_FUNCTION("TU-d9PfIHPM", "libkernel", 1, "libkernel", 1, 1, socket); - LIB_FUNCTION("MZb0GKT3mo8", "libkernel", 1, "libkernel", 1, 1, socketpair); - LIB_FUNCTION("E6ao34wPw+U", "libkernel", 1, "libkernel", 1, 1, stat); - LIB_FUNCTION("EXH1U-UBywI", "libkernel", 1, "libkernel", 1, 1, swapcontext); - LIB_FUNCTION("Y2OqwJQ3lr8", "libkernel", 1, "libkernel", 1, 1, sync); - LIB_FUNCTION("b7uXQmnfB2s", "libkernel", 1, "libkernel", 1, 1, sysarch); - LIB_FUNCTION("mkawd0NA9ts", "libkernel", 1, "libkernel", 1, 1, sysconf); - LIB_FUNCTION("DFmMT80xcNI", "libkernel", 1, "libkernel", 1, 1, sysctl); - LIB_FUNCTION("MhC53TKmjVA", "libkernel", 1, "libkernel", 1, 1, sysctlbyname); - LIB_FUNCTION("UkEV4hvMo1E", "libkernel", 1, "libkernel", 1, 1, sysctlnametomib); - LIB_FUNCTION("EIZbVQs381s", "libkernel", 1, "libkernel", 1, 1, sysKernelGetIntdevModeForRcmgr); - LIB_FUNCTION("7dulKcLcwHI", "libkernel", 1, "libkernel", 1, 1, - sysKernelGetLowerLimitSysexVersion); - LIB_FUNCTION("MMSo+k+Wp0Y", "libkernel", 1, "libkernel", 1, 1, - sysKernelGetLowerLimitUpdVersion); - LIB_FUNCTION("6jj29MbyzuI", "libkernel", 1, "libkernel", 1, 1, sysKernelGetManufacturingMode); - LIB_FUNCTION("1U-s6o8XOcE", "libkernel", 1, "libkernel", 1, 1, sysKernelGetUpdVersion); - LIB_FUNCTION("Jc6E7N+dHz0", "libkernel", 1, "libkernel", 1, 1, system); - LIB_FUNCTION("brGGJWsZauw", "libkernel", 1, "libkernel", 1, 1, tcdrain); - LIB_FUNCTION("OG8xRaGIpqk", "libkernel", 1, "libkernel", 1, 1, tcflow); - LIB_FUNCTION("FxHW5NuEXsY", "libkernel", 1, "libkernel", 1, 1, tcflush); - LIB_FUNCTION("5kBfZ40bAuk", "libkernel", 1, "libkernel", 1, 1, tcgetattr); - LIB_FUNCTION("5OEl1mRhUm0", "libkernel", 1, "libkernel", 1, 1, tcgetpgrp); - LIB_FUNCTION("7ga3x+36xrU", "libkernel", 1, "libkernel", 1, 1, tcgetsid); - LIB_FUNCTION("vXE-dIUIZlE", "libkernel", 1, "libkernel", 1, 1, tcsendbreak); - LIB_FUNCTION("La7xW-jcZwQ", "libkernel", 1, "libkernel", 1, 1, tcsetattr); - LIB_FUNCTION("YMuesZTyTl4", "libkernel", 1, "libkernel", 1, 1, tcsetpgrp); - LIB_FUNCTION("S76vfDNu6eI", "libkernel", 1, "libkernel", 1, 1, tcsetsid); - LIB_FUNCTION("ayrtszI7GBg", "libkernel", 1, "libkernel", 1, 1, truncate); - LIB_FUNCTION("VAzswvTOCzI", "libkernel", 1, "libkernel", 1, 1, unlink); - LIB_FUNCTION("QcteRwbsnV0", "libkernel", 1, "libkernel", 1, 1, usleep); - LIB_FUNCTION("GDuV00CHrUg", "libkernel", 1, "libkernel", 1, 1, utimes); - LIB_FUNCTION("PlmVIwQdarI", "libkernel", 1, "libkernel", 1, 1, uuidgen); - LIB_FUNCTION("ldVb3lc75PE", "libkernel", 1, "libkernel", 1, 1, wait); - LIB_FUNCTION("NKF4F8SQyx4", "libkernel", 1, "libkernel", 1, 1, wait3); - LIB_FUNCTION("dTnYqqLIQ6c", "libkernel", 1, "libkernel", 1, 1, waitpid); - LIB_FUNCTION("FN4gaPmuFV8", "libkernel", 1, "libkernel", 1, 1, write); - LIB_FUNCTION("Z2aKdxzS4KE", "libkernel", 1, "libkernel", 1, 1, writev); - LIB_FUNCTION("N94a0T4F4+U", "libkernel", 1, "libkernel", 1, 1, Func_37DE1AD13E05E3E5); - LIB_FUNCTION("cafDxa64sO4", "libkernel", 1, "libkernel", 1, 1, Func_71A7C3C5AEB8B0EE); - LIB_FUNCTION("gpgi-GwE2Is", "libkernel", 1, "libkernel", 1, 1, Func_829822FC6C04D88B); - LIB_FUNCTION("hmqw8GlN+tI", "libkernel", 1, "libkernel", 1, 1, Func_866AB0F0694DFAD2); - LIB_FUNCTION("jMuNoBRCPUg", "libkernel", 1, "libkernel", 1, 1, Func_8CCB8DA014423D48); - LIB_FUNCTION("qtHOLtFWq7Y", "libkernel", 1, "libkernel", 1, 1, Func_AAD1CE2ED156ABB6); - LIB_FUNCTION("uV+YilcHqAs", "libkernel", 1, "libkernel", 1, 1, Func_B95F988A5707A80B); - LIB_FUNCTION("vfYaxkxnJXQ", "libkernel", 1, "libkernel", 1, 1, Func_BDF61AC64C672574); - LIB_FUNCTION("v+qTlNjF6kE", "libkernel", 1, "libkernel", 1, 1, Func_BFEA9394D8C5EA41); - LIB_FUNCTION("x0DQK0TXDk0", "libkernel", 1, "libkernel", 1, 1, Func_C740D02B44D70E4D); - LIB_FUNCTION("1v23w7Rnkic", "libkernel", 1, "libkernel", 1, 1, Func_D6FDB7C3B4679227); - LIB_FUNCTION("2wKjID0iGVM", "libkernel", 1, "libkernel", 1, 1, Func_DB02A3203D221953); - LIB_FUNCTION("2xg4JXvaJ6k", "libkernel", 1, "libkernel", 1, 1, Func_DB1838257BDA27A9); - LIB_FUNCTION("-PNB3tfnD8c", "libkernel", 1, "libkernel", 1, 1, Func_FCF341DED7E70FC7); - LIB_FUNCTION("-uPq82VbRMI", "libkernel", 1, "libkernel", 1, 1, Func_FEE3EAF3655B44C2); - LIB_FUNCTION("usHTMoFoBTM", "libkernel_dmem_aliasing", 1, "libkernel", 1, 1, - sceKernelEnableDmemAliasing); - LIB_FUNCTION("MR221Mwo0Pc", "libkernel_ps2emu", 1, "libkernel", 1, 1, - sceKernelJitCreateAliasOfSharedMemory); - LIB_FUNCTION("avvJ3J0H0EY", "libkernel_ps2emu", 1, "libkernel", 1, 1, - sceKernelJitCreateSharedMemory); - LIB_FUNCTION("9yxlvURJU6U", "libkernel_ps2emu", 1, "libkernel", 1, 1, - sceKernelJitGetSharedMemoryInfo); - LIB_FUNCTION("YKT49TOLQWs", "libkernel_ps2emu", 1, "libkernel", 1, 1, - sceKernelJitMapSharedMemory); - LIB_FUNCTION("MZb0GKT3mo8", "libkernel_ps2emu", 1, "libkernel", 1, 1, socketpair); - LIB_FUNCTION("aNz11fnnzi4", "libkernel_avlfmem", 1, "libkernel", 1, 1, - sceKernelAvailableFlexibleMemorySize); - LIB_FUNCTION("NhL5qID2iho", "libkernel_cpumode", 1, "libkernel", 1, 1, - sceKernelAddCpumodeEvent); - LIB_FUNCTION("OwjivtyfODU", "libkernel_cpumode", 1, "libkernel", 1, 1, - sceKernelDeleteCpumodeEvent); - LIB_FUNCTION("VOx8NGmHXTs", "libkernel_cpumode", 1, "libkernel", 1, 1, sceKernelGetCpumode); - LIB_FUNCTION("VjBtg5Btl94", "libkernel_cpumode", 1, "libkernel", 1, 1, sceKernelSetFsstParam); - LIB_FUNCTION("BtJ3gH33xss", "libkernel_cpumode", 1, "libkernel", 1, 1, sceKernelYieldCpumode); - LIB_FUNCTION("YJ7JscWubcU", "libkernel_exception", 1, "libkernel", 1, 1, - sceKernelAddGpuExceptionEvent); - LIB_FUNCTION("xRwvvcfZfHM", "libkernel_exception", 1, "libkernel", 1, 1, - sceKernelBacktraceSelf); - LIB_FUNCTION("8skggWXlSqM", "libkernel_exception", 1, "libkernel", 1, 1, - sceKernelDeleteGpuExceptionEvent); - LIB_FUNCTION("WkwEd3N7w0Y", "libkernel_exception", 1, "libkernel", 1, 1, - sceKernelInstallExceptionHandler); - LIB_FUNCTION("Qhv5ARAoOEc", "libkernel_exception", 1, "libkernel", 1, 1, - sceKernelRemoveExceptionHandler); - LIB_FUNCTION("mpxAdqW7dKY", "libkernel_cpumode_platform", 1, "libkernel", 1, 1, - sceKernelIsProspero); - LIB_FUNCTION("usHTMoFoBTM", "libkernel_dmem_aliasing2", 1, "libkernel", 1, 1, - sceKernelEnableDmemAliasing); - LIB_FUNCTION("usHTMoFoBTM", "libkernel_dmem_aliasing2_for_dev", 1, "libkernel", 1, 1, - sceKernelEnableDmemAliasing); - LIB_FUNCTION("DLORcroUqbc", "libSceOpenPsId", 1, "libkernel", 1, 1, sceKernelGetOpenPsId); - LIB_FUNCTION("wdUufa9g-D8", "libkernel_jvm", 1, "libkernel", 1, 1, dup2); - LIB_FUNCTION("Wh7HbV7JFqc", "libkernel_jvm", 1, "libkernel", 1, 1, getrlimit); - LIB_FUNCTION("PfccT7qURYE", "libkernel_jvm", 1, "libkernel", 1, 1, ioctl); - LIB_FUNCTION("W0xkN0+ZkCE", "libkernel_jvm", 1, "libkernel", 1, 1, kill); - LIB_FUNCTION("ku7D4q1Y9PI", "libkernel_jvm", 1, "libkernel", 1, 1, poll); - LIB_FUNCTION("yH-uQW3LbX0", "libkernel_jvm", 1, "libkernel", 1, 1, pthread_kill); - LIB_FUNCTION("wJABa1X4+ec", "libkernel_jvm", 1, "libkernel", 1, 1, - sceKernelGetExecutableModuleHandle); - LIB_FUNCTION("MR221Mwo0Pc", "libkernel_jvm", 1, "libkernel", 1, 1, - sceKernelJitCreateAliasOfSharedMemory); - LIB_FUNCTION("avvJ3J0H0EY", "libkernel_jvm", 1, "libkernel", 1, 1, - sceKernelJitCreateSharedMemory); - LIB_FUNCTION("9yxlvURJU6U", "libkernel_jvm", 1, "libkernel", 1, 1, - sceKernelJitGetSharedMemoryInfo); - LIB_FUNCTION("YKT49TOLQWs", "libkernel_jvm", 1, "libkernel", 1, 1, sceKernelJitMapSharedMemory); - LIB_FUNCTION("4X0QwvuCfjc", "libkernel_jvm", 1, "libkernel", 1, 1, setrlimit); - LIB_FUNCTION("KiJEPEWRyUY", "libkernel_jvm", 1, "libkernel", 1, 1, sigaction); - LIB_FUNCTION("JUimFtKe0Kc", "libkernel_jvm", 1, "libkernel", 1, 1, sigaddset); - LIB_FUNCTION("Nd-u09VFSCA", "libkernel_jvm", 1, "libkernel", 1, 1, sigdelset); - LIB_FUNCTION("+F7C-hdk7+E", "libkernel_jvm", 1, "libkernel", 1, 1, sigemptyset); - LIB_FUNCTION("VkTAsrZDcJ0", "libkernel_jvm", 1, "libkernel", 1, 1, sigfillset); - LIB_FUNCTION("JnNl8Xr-z4Y", "libkernel_jvm", 1, "libkernel", 1, 1, sigismember); - LIB_FUNCTION("aPcyptbOiZs", "libkernel_jvm", 1, "libkernel", 1, 1, sigprocmask); - LIB_FUNCTION("KZ-4qlqlpmo", "libkernel_jvm", 1, "libkernel", 1, 1, sigsuspend); - LIB_FUNCTION("MZb0GKT3mo8", "libkernel_jvm", 1, "libkernel", 1, 1, socketpair); - LIB_FUNCTION("mkawd0NA9ts", "libkernel_jvm", 1, "libkernel", 1, 1, sysconf); - LIB_FUNCTION("DFmMT80xcNI", "libkernel_jvm", 1, "libkernel", 1, 1, sysctl); - LIB_FUNCTION("ClMdHuu+R1A", "libkernel_module_extension", 1, "libkernel", 1, 1, - Func_0A531D1EEBBE4750); - LIB_FUNCTION("WkwEd3N7w0Y", "libkernel_unity", 1, "libkernel", 1, 1, - sceKernelInstallExceptionHandler); - LIB_FUNCTION("il03nluKfMk", "libkernel_unity", 1, "libkernel", 1, 1, sceKernelRaiseException); - LIB_FUNCTION("Qhv5ARAoOEc", "libkernel_unity", 1, "libkernel", 1, 1, - sceKernelRemoveExceptionHandler); - LIB_FUNCTION("QgsKEUfkqMA", "libkernel_module_info", 1, "libkernel", 1, 1, - sceKernelGetModuleInfo2); - LIB_FUNCTION("ZzzC3ZGVAkc", "libkernel_module_info", 1, "libkernel", 1, 1, - sceKernelGetModuleList2); - LIB_FUNCTION("21+rb7xOlJk", "libkernel_module_load_check", 1, "libkernel", 1, 1, - sceKernelIsModuleLoaded); - LIB_FUNCTION("2SKEx6bSq-4", "libkernel_pre250mmap", 1, "libkernel", 1, 1, sceKernelBatchMap); - LIB_FUNCTION("L-Q3LEjIbgA", "libkernel_pre250mmap", 1, "libkernel", 1, 1, - sceKernelMapDirectMemory); - LIB_FUNCTION("NcaWUxfMNIQ", "libkernel_pre250mmap", 1, "libkernel", 1, 1, - sceKernelMapNamedDirectMemory); - LIB_FUNCTION("8vE6Z6VEYyk", "libkernel_psmkit", 1, "libkernel", 1, 1, access); - LIB_FUNCTION("6mMQ1MSPW-Q", "libkernel_psmkit", 1, "libkernel", 1, 1, chdir); - LIB_FUNCTION("iiQjzvfWDq0", "libkernel_psmkit", 1, "libkernel", 1, 1, dup); - LIB_FUNCTION("wdUufa9g-D8", "libkernel_psmkit", 1, "libkernel", 1, 1, dup2); - LIB_FUNCTION("PfccT7qURYE", "libkernel_psmkit", 1, "libkernel", 1, 1, ioctl); - LIB_FUNCTION("DRGXpDDh8Ng", "libkernel_psmkit", 1, "libkernel", 1, 1, lstat); - LIB_FUNCTION("-Jp7F+pXxNg", "libkernel_psmkit", 1, "libkernel", 1, 1, pipe); - LIB_FUNCTION("ku7D4q1Y9PI", "libkernel_psmkit", 1, "libkernel", 1, 1, poll); - LIB_FUNCTION("EZ8h70dtFLg", "libkernel_psmkit", 1, "libkernel", 1, 1, pthread_cond_setname_np); - LIB_FUNCTION("YkGOXpJEtO8", "libkernel_psmkit", 1, "libkernel", 1, 1, - pthread_get_user_context_np); - LIB_FUNCTION("yH-uQW3LbX0", "libkernel_psmkit", 1, "libkernel", 1, 1, pthread_kill); - LIB_FUNCTION("nbQ0bXMRlhk", "libkernel_psmkit", 1, "libkernel", 1, 1, - pthread_mutex_reltimedlock_np); - LIB_FUNCTION("nTxZBp8YNGc", "libkernel_psmkit", 1, "libkernel", 1, 1, pthread_mutex_setname_np); - LIB_FUNCTION("QRdE7dBfNks", "libkernel_psmkit", 1, "libkernel", 1, 1, - pthread_resume_user_context_np); - LIB_FUNCTION("cfjAjVTFG6A", "libkernel_psmkit", 1, "libkernel", 1, 1, - pthread_suspend_user_context_np); - LIB_FUNCTION("OMDRKKAZ8I4", "libkernel_psmkit", 1, "libkernel", 1, 1, - sceKernelDebugRaiseException); - LIB_FUNCTION("DKWTYfo-jMY", "libkernel_psmkit", 1, "libkernel", 1, 1, - sceKernelDebugRaiseExceptionWithContext); - LIB_FUNCTION("JGfTMBOdUJo", "libkernel_psmkit", 1, "libkernel", 1, 1, - sceKernelGetFsSandboxRandomWord); - LIB_FUNCTION("f7KBOafysXo", "libkernel_psmkit", 1, "libkernel", 1, 1, - sceKernelGetModuleInfoFromAddr); - LIB_FUNCTION("MR221Mwo0Pc", "libkernel_psmkit", 1, "libkernel", 1, 1, - sceKernelJitCreateAliasOfSharedMemory); - LIB_FUNCTION("avvJ3J0H0EY", "libkernel_psmkit", 1, "libkernel", 1, 1, - sceKernelJitCreateSharedMemory); - LIB_FUNCTION("YKT49TOLQWs", "libkernel_psmkit", 1, "libkernel", 1, 1, - sceKernelJitMapSharedMemory); - LIB_FUNCTION("MwhHNKdBXq8", "libkernel_psmkit", 1, "libkernel", 1, 1, sceKernelOpenSema); - LIB_FUNCTION("-W4xI5aVI8w", "libkernel_psmkit", 1, "libkernel", 1, 1, - sceKernelSetProcessProperty); - LIB_FUNCTION("-wUggz2S5yk", "libkernel_psmkit", 1, "libkernel", 1, 1, sem_setname); - LIB_FUNCTION("KiJEPEWRyUY", "libkernel_psmkit", 1, "libkernel", 1, 1, sigaction); - LIB_FUNCTION("JUimFtKe0Kc", "libkernel_psmkit", 1, "libkernel", 1, 1, sigaddset); - LIB_FUNCTION("sHziAegVp74", "libkernel_psmkit", 1, "libkernel", 1, 1, sigaltstack); - LIB_FUNCTION("Nd-u09VFSCA", "libkernel_psmkit", 1, "libkernel", 1, 1, sigdelset); - LIB_FUNCTION("+F7C-hdk7+E", "libkernel_psmkit", 1, "libkernel", 1, 1, sigemptyset); - LIB_FUNCTION("VkTAsrZDcJ0", "libkernel_psmkit", 1, "libkernel", 1, 1, sigfillset); - LIB_FUNCTION("JnNl8Xr-z4Y", "libkernel_psmkit", 1, "libkernel", 1, 1, sigismember); - LIB_FUNCTION("VADc3MNQ3cM", "libkernel_psmkit", 1, "libkernel", 1, 1, signal); - LIB_FUNCTION("aPcyptbOiZs", "libkernel_psmkit", 1, "libkernel", 1, 1, sigprocmask); - LIB_FUNCTION("KZ-4qlqlpmo", "libkernel_psmkit", 1, "libkernel", 1, 1, sigsuspend); - LIB_FUNCTION("MZb0GKT3mo8", "libkernel_psmkit", 1, "libkernel", 1, 1, socketpair); - LIB_FUNCTION("mkawd0NA9ts", "libkernel_psmkit", 1, "libkernel", 1, 1, sysconf); - LIB_FUNCTION("PfccT7qURYE", "libkernel_qadisc", 1, "libkernel", 1, 1, ioctl); - LIB_FUNCTION("CA5jcDb2vYI", "libkernel_qadisc", 1, "libkernel", 1, 1, - sceKernelGetSocPowerConsumption); - LIB_FUNCTION("U0NKl-rjhYA", "libkernel_qadisc", 1, "libkernel", 1, 1, sceKernelIccGetCountTime); - LIB_FUNCTION("8TqMzIggthc", "libkernel_qadisc", 1, "libkernel", 1, 1, sceKernelIccGetErrLog); - LIB_FUNCTION("C+i9gJY4A1I", "libkernel_qadisc", 1, "libkernel", 1, 1, sceKernelIccGetHwInfo); - LIB_FUNCTION("L21PBFwqIiM", "libkernel_qadisc", 1, "libkernel", 1, 1, - sceKernelIccGetSysEventLog); - LIB_FUNCTION("gpgi-GwE2Is", "libkernel_qadisc", 1, "libkernel", 1, 1, Func_829822FC6C04D88B); - LIB_FUNCTION("uV+YilcHqAs", "libkernel_qadisc", 1, "libkernel", 1, 1, Func_B95F988A5707A80B); - LIB_FUNCTION("nSSPVGJLMjE", "libkernel_sysc_se", 1, "libkernel", 1, 1, __freeze); - LIB_FUNCTION("eaiyhIBmf34", "libkernel_sysc_se", 1, "libkernel", 1, 1, sysc_e00); - LIB_FUNCTION("XPlTYt2TOg0", "libkernel_sysc_se", 1, "libkernel", 1, 1, sysc_s00); - LIB_FUNCTION("+YX0z-GUSNw", "libSceCoredump", 1, "libkernel", 1, 1, - sceCoredumpAttachMemoryRegion); - LIB_FUNCTION("MEJ7tc7ThwM", "libSceCoredump", 1, "libkernel", 1, 1, - sceCoredumpAttachMemoryRegionAsUserFile); - LIB_FUNCTION("5nc2gdLNsok", "libSceCoredump", 1, "libkernel", 1, 1, sceCoredumpAttachUserFile); - LIB_FUNCTION("DoKHmUw1yiQ", "libSceCoredump", 1, "libkernel", 1, 1, - sceCoredumpAttachUserMemoryFile); - LIB_FUNCTION("gzLt9Qrauk0", "libSceCoredump", 1, "libkernel", 1, 1, sceCoredumpConfigDumpMode); - LIB_FUNCTION("dei8oUx6DbU", "libSceCoredump", 1, "libkernel", 1, 1, sceCoredumpDebugTextOut); - LIB_FUNCTION("kK0DUW1Ukgc", "libSceCoredump", 1, "libkernel", 1, 1, sceCoredumpGetStopInfoCpu); - LIB_FUNCTION("nsyWCTsI3MY", "libSceCoredump", 1, "libkernel", 1, 1, sceCoredumpGetStopInfoGpu); - LIB_FUNCTION("ShChva57wIM", "libSceCoredump", 1, "libkernel", 1, 1, - sceCoredumpGetThreadContextInfo); - LIB_FUNCTION("qCDIxJL+IN8", "libSceCoredump", 1, "libkernel", 1, 1, - sceCoredumpInternalGetThreadContextInfo); - LIB_FUNCTION("8zLSfEfW5AU", "libSceCoredump", 1, "libkernel", 1, 1, - sceCoredumpRegisterCoredumpHandler); - LIB_FUNCTION("Uxqkdta7wEg", "libSceCoredump", 1, "libkernel", 1, 1, sceCoredumpSetUserDataType); - LIB_FUNCTION("fFkhOgztiCA", "libSceCoredump", 1, "libkernel", 1, 1, - sceCoredumpUnregisterCoredumpHandler); - LIB_FUNCTION("Dbbkj6YHWdo", "libSceCoredump", 1, "libkernel", 1, 1, sceCoredumpWriteUserData); - LIB_FUNCTION("mIkJUpP5vKo", "libSceCoredump", 1, "libkernel", 1, 1, Func_9889095293F9BCAA); - LIB_FUNCTION("1Pw5n31Ayxc", "libSceCoredump_debug", 1, "libkernel", 1, 1, - sceCoredumpDebugForceCoredumpOnAppClose); - LIB_FUNCTION("G420P25pN5Y", "libSceCoredump_debug", 1, "libkernel", 1, 1, - sceCoredumpDebugTriggerCoredump); - LIB_FUNCTION("3e+4Iv7IJ8U", "libScePosix", 1, "libkernel", 1, 1, accept); - LIB_FUNCTION("KuOmgKoqCdY", "libScePosix", 1, "libkernel", 1, 1, bind); - LIB_FUNCTION("ixrw0h2tWuI", "libScePosix", 1, "libkernel", 1, 1, chflags); - LIB_FUNCTION("z0dtnPxYgtg", "libScePosix", 1, "libkernel", 1, 1, chmod); - LIB_FUNCTION("smIj7eqzZE8", "libScePosix", 1, "libkernel", 1, 1, clock_getres); - LIB_FUNCTION("lLMT9vJAck0", "libScePosix", 1, "libkernel", 1, 1, clock_gettime); - LIB_FUNCTION("bY-PO6JhzhQ", "libScePosix", 1, "libkernel", 1, 1, close); - LIB_FUNCTION("XVL8So3QJUk", "libScePosix", 1, "libkernel", 1, 1, connect); - LIB_FUNCTION("5AMS0IntU8I", "libScePosix", 1, "libkernel", 1, 1, creat); - LIB_FUNCTION("UJrQCyYpyic", "libScePosix", 1, "libkernel", 1, 1, fchflags); - LIB_FUNCTION("n01yNbQO5W4", "libScePosix", 1, "libkernel", 1, 1, fchmod); - LIB_FUNCTION("8nY19bKoiZk", "libScePosix", 1, "libkernel", 1, 1, fcntl); - LIB_FUNCTION("9eMlfusH4sU", "libScePosix", 1, "libkernel", 1, 1, flock); - LIB_FUNCTION("mqQMh1zPPT8", "libScePosix", 1, "libkernel", 1, 1, fstat); - LIB_FUNCTION("juWbTNM+8hw", "libScePosix", 1, "libkernel", 1, 1, fsync); - LIB_FUNCTION("ih4CD9-gghM", "libScePosix", 1, "libkernel", 1, 1, ftruncate); - LIB_FUNCTION("+0EDo7YzcoU", "libScePosix", 1, "libkernel", 1, 1, futimes); - LIB_FUNCTION("dar03AOn+nM", "libScePosix", 1, "libkernel", 1, 1, getcontext); - LIB_FUNCTION("2G6i6hMIUUY", "libScePosix", 1, "libkernel", 1, 1, getdents); - LIB_FUNCTION("f09KvIPy-QY", "libScePosix", 1, "libkernel", 1, 1, getdirentries); - LIB_FUNCTION("sZuwaDPATKs", "libScePosix", 1, "libkernel", 1, 1, getdtablesize); - LIB_FUNCTION("k+AXqu2-eBc", "libScePosix", 1, "libkernel", 1, 1, getpagesize); - LIB_FUNCTION("TXFFFiNldU8", "libScePosix", 1, "libkernel", 1, 1, getpeername); - LIB_FUNCTION("HoLVWNanBBc", "libScePosix", 1, "libkernel", 1, 1, getpid); - LIB_FUNCTION("RenI1lL1WFk", "libScePosix", 1, "libkernel", 1, 1, getsockname); - LIB_FUNCTION("6O8EwYOgH9Y", "libScePosix", 1, "libkernel", 1, 1, getsockopt); - LIB_FUNCTION("n88vx3C5nW8", "libScePosix", 1, "libkernel", 1, 1, gettimeofday); - LIB_FUNCTION("K1S8oc61xiM", "libScePosix", 1, "libkernel", 1, 1, htonl); - LIB_FUNCTION("jogUIsOV3-U", "libScePosix", 1, "libkernel", 1, 1, htons); - LIB_FUNCTION("5jRCs2axtr4", "libScePosix", 1, "libkernel", 1, 1, inet_ntop); - LIB_FUNCTION("4n51s0zEf0c", "libScePosix", 1, "libkernel", 1, 1, inet_pton); - LIB_FUNCTION("RW-GEfpnsqg", "libScePosix", 1, "libkernel", 1, 1, kevent); - LIB_FUNCTION("nh2IFMgKTv8", "libScePosix", 1, "libkernel", 1, 1, kqueue); - LIB_FUNCTION("pxnCmagrtao", "libScePosix", 1, "libkernel", 1, 1, listen); - LIB_FUNCTION("Oy6IpwgtYOk", "libScePosix", 1, "libkernel", 1, 1, lseek); - LIB_FUNCTION("Jahsnh4KKkg", "libScePosix", 1, "libkernel", 1, 1, madvise); - LIB_FUNCTION("JGMio+21L4c", "libScePosix", 1, "libkernel", 1, 1, mkdir); - LIB_FUNCTION("mTBZfEal2Bw", "libScePosix", 1, "libkernel", 1, 1, mlock); - LIB_FUNCTION("x7g7Ebeo8-U", "libScePosix", 1, "libkernel", 1, 1, mlockall); - LIB_FUNCTION("BPE9s9vQQXo", "libScePosix", 1, "libkernel", 1, 1, mmap); - LIB_FUNCTION("YQOfxL4QfeU", "libScePosix", 1, "libkernel", 1, 1, mprotect); - LIB_FUNCTION("tZY4+SZNFhA", "libScePosix", 1, "libkernel", 1, 1, msync); - LIB_FUNCTION("OG4RsDwLguo", "libScePosix", 1, "libkernel", 1, 1, munlock); - LIB_FUNCTION("NpLBpgVV7PU", "libScePosix", 1, "libkernel", 1, 1, munlockall); - LIB_FUNCTION("UqDGjXA5yUM", "libScePosix", 1, "libkernel", 1, 1, munmap); - LIB_FUNCTION("yS8U2TGCe1A", "libScePosix", 1, "libkernel", 1, 1, nanosleep); - LIB_FUNCTION("jct5WjixLgk", "libScePosix", 1, "libkernel", 1, 1, ntohl); - LIB_FUNCTION("oLFi+HuZ7hY", "libScePosix", 1, "libkernel", 1, 1, ntohs); - LIB_FUNCTION("wuCroIGjt2g", "libScePosix", 1, "libkernel", 1, 1, open); - LIB_FUNCTION("ezv-RSBNKqI", "libScePosix", 1, "libkernel", 1, 1, pread); - LIB_FUNCTION("ZaRzaapAZwM", "libScePosix", 1, "libkernel", 1, 1, preadv); - LIB_FUNCTION("zHchY8ft5pk", "libScePosix", 1, "libkernel", 1, 1, pthread_attr_destroy); - LIB_FUNCTION("Ucsu-OK+els", "libScePosix", 1, "libkernel", 1, 1, pthread_attr_get_np); - LIB_FUNCTION("VUT1ZSrHT0I", "libScePosix", 1, "libkernel", 1, 1, pthread_attr_getdetachstate); - LIB_FUNCTION("JNkVVsVDmOk", "libScePosix", 1, "libkernel", 1, 1, pthread_attr_getguardsize); - LIB_FUNCTION("oLjPqUKhzes", "libScePosix", 1, "libkernel", 1, 1, pthread_attr_getinheritsched); - LIB_FUNCTION("qlk9pSLsUmM", "libScePosix", 1, "libkernel", 1, 1, pthread_attr_getschedparam); - LIB_FUNCTION("RtLRV-pBTTY", "libScePosix", 1, "libkernel", 1, 1, pthread_attr_getschedpolicy); - LIB_FUNCTION("e2G+cdEkOmU", "libScePosix", 1, "libkernel", 1, 1, pthread_attr_getscope); - LIB_FUNCTION("vQm4fDEsWi8", "libScePosix", 1, "libkernel", 1, 1, pthread_attr_getstack); - LIB_FUNCTION("DxmIMUQ-wXY", "libScePosix", 1, "libkernel", 1, 1, pthread_attr_getstackaddr); - LIB_FUNCTION("0qOtCR-ZHck", "libScePosix", 1, "libkernel", 1, 1, pthread_attr_getstacksize); - LIB_FUNCTION("wtkt-teR1so", "libScePosix", 1, "libkernel", 1, 1, pthread_attr_init); - LIB_FUNCTION("E+tyo3lp5Lw", "libScePosix", 1, "libkernel", 1, 1, pthread_attr_setdetachstate); - LIB_FUNCTION("JKyG3SWyA10", "libScePosix", 1, "libkernel", 1, 1, pthread_attr_setguardsize); - LIB_FUNCTION("7ZlAakEf0Qg", "libScePosix", 1, "libkernel", 1, 1, pthread_attr_setinheritsched); - LIB_FUNCTION("euKRgm0Vn2M", "libScePosix", 1, "libkernel", 1, 1, pthread_attr_setschedparam); - LIB_FUNCTION("JarMIy8kKEY", "libScePosix", 1, "libkernel", 1, 1, pthread_attr_setschedpolicy); - LIB_FUNCTION("xesmlSI-KCI", "libScePosix", 1, "libkernel", 1, 1, pthread_attr_setscope); - LIB_FUNCTION("-SrbXpGR1f0", "libScePosix", 1, "libkernel", 1, 1, pthread_attr_setstack); - LIB_FUNCTION("suCrEbr0xIQ", "libScePosix", 1, "libkernel", 1, 1, pthread_attr_setstackaddr); - LIB_FUNCTION("2Q0z6rnBrTE", "libScePosix", 1, "libkernel", 1, 1, pthread_attr_setstacksize); - LIB_FUNCTION("+Pqub9HZCPo", "libScePosix", 1, "libkernel", 1, 1, pthread_barrier_destroy); - LIB_FUNCTION("ZsXLFtd2jqQ", "libScePosix", 1, "libkernel", 1, 1, pthread_barrier_init); - LIB_FUNCTION("CawZgCYqXWk", "libScePosix", 1, "libkernel", 1, 1, pthread_barrier_wait); - LIB_FUNCTION("AsCQCYTbe80", "libScePosix", 1, "libkernel", 1, 1, pthread_barrierattr_destroy); - LIB_FUNCTION("a5JZMyjFV68", "libScePosix", 1, "libkernel", 1, 1, - pthread_barrierattr_getpshared); - LIB_FUNCTION("4nqCnLJSvck", "libScePosix", 1, "libkernel", 1, 1, pthread_barrierattr_init); - LIB_FUNCTION("jqrGJJxFhmU", "libScePosix", 1, "libkernel", 1, 1, - pthread_barrierattr_setpshared); - LIB_FUNCTION("0D4-FVvEikw", "libScePosix", 1, "libkernel", 1, 1, pthread_cancel); - LIB_FUNCTION("RVxb0Ssa5t0", "libScePosix", 1, "libkernel", 1, 1, pthread_cleanup_pop); - LIB_FUNCTION("4ZeZWcMsAV0", "libScePosix", 1, "libkernel", 1, 1, pthread_cleanup_push); - LIB_FUNCTION("mkx2fVhNMsg", "libScePosix", 1, "libkernel", 1, 1, pthread_cond_broadcast); - LIB_FUNCTION("RXXqi4CtF8w", "libScePosix", 1, "libkernel", 1, 1, pthread_cond_destroy); - LIB_FUNCTION("0TyVk4MSLt0", "libScePosix", 1, "libkernel", 1, 1, pthread_cond_init); - LIB_FUNCTION("2MOy+rUfuhQ", "libScePosix", 1, "libkernel", 1, 1, pthread_cond_signal); - LIB_FUNCTION("CI6Qy73ae10", "libScePosix", 1, "libkernel", 1, 1, pthread_cond_signalto_np); - LIB_FUNCTION("27bAgiJmOh0", "libScePosix", 1, "libkernel", 1, 1, pthread_cond_timedwait); - LIB_FUNCTION("Op8TBGY5KHg", "libScePosix", 1, "libkernel", 1, 1, pthread_cond_wait); - LIB_FUNCTION("dJcuQVn6-Iw", "libScePosix", 1, "libkernel", 1, 1, pthread_condattr_destroy); - LIB_FUNCTION("cTDYxTUNPhM", "libScePosix", 1, "libkernel", 1, 1, pthread_condattr_getclock); - LIB_FUNCTION("h0qUqSuOmC8", "libScePosix", 1, "libkernel", 1, 1, pthread_condattr_getpshared); - LIB_FUNCTION("mKoTx03HRWA", "libScePosix", 1, "libkernel", 1, 1, pthread_condattr_init); - LIB_FUNCTION("EjllaAqAPZo", "libScePosix", 1, "libkernel", 1, 1, pthread_condattr_setclock); - LIB_FUNCTION("3BpP850hBT4", "libScePosix", 1, "libkernel", 1, 1, pthread_condattr_setpshared); - LIB_FUNCTION("OxhIB8LB-PQ", "libScePosix", 1, "libkernel", 1, 1, pthread_create); - LIB_FUNCTION("Jmi+9w9u0E4", "libScePosix", 1, "libkernel", 1, 1, pthread_create_name_np); - LIB_FUNCTION("+U1R4WtXvoc", "libScePosix", 1, "libkernel", 1, 1, pthread_detach); - LIB_FUNCTION("7Xl257M4VNI", "libScePosix", 1, "libkernel", 1, 1, pthread_equal); - LIB_FUNCTION("FJrT5LuUBAU", "libScePosix", 1, "libkernel", 1, 1, pthread_exit); - LIB_FUNCTION("s+QHU9RLHS4", "libScePosix", 1, "libkernel", 1, 1, pthread_getconcurrency); - LIB_FUNCTION("nnoxZUHK+SA", "libScePosix", 1, "libkernel", 1, 1, pthread_getcpuclockid); - LIB_FUNCTION("9HzfhdtESio", "libScePosix", 1, "libkernel", 1, 1, pthread_getname_np); - LIB_FUNCTION("aO+WS2xWuo4", "libScePosix", 1, "libkernel", 1, 1, pthread_getprio); - LIB_FUNCTION("FIs3-UQT9sg", "libScePosix", 1, "libkernel", 1, 1, pthread_getschedparam); - LIB_FUNCTION("0-KXaS70xy4", "libScePosix", 1, "libkernel", 1, 1, pthread_getspecific); - LIB_FUNCTION("h9CcP3J0oVM", "libScePosix", 1, "libkernel", 1, 1, pthread_join); - LIB_FUNCTION("mqULNdimTn0", "libScePosix", 1, "libkernel", 1, 1, pthread_key_create); - LIB_FUNCTION("6BpEZuDT7YI", "libScePosix", 1, "libkernel", 1, 1, pthread_key_delete); - LIB_FUNCTION("ltCfaGr2JGE", "libScePosix", 1, "libkernel", 1, 1, pthread_mutex_destroy); - LIB_FUNCTION("itv-U5mFPso", "libScePosix", 1, "libkernel", 1, 1, pthread_mutex_getprioceiling); - LIB_FUNCTION("ttHNfU+qDBU", "libScePosix", 1, "libkernel", 1, 1, pthread_mutex_init); - LIB_FUNCTION("7H0iTOciTLo", "libScePosix", 1, "libkernel", 1, 1, pthread_mutex_lock); - LIB_FUNCTION("XS3kGVt4q+4", "libScePosix", 1, "libkernel", 1, 1, pthread_mutex_setprioceiling); - LIB_FUNCTION("Io9+nTKXZtA", "libScePosix", 1, "libkernel", 1, 1, pthread_mutex_timedlock); - LIB_FUNCTION("K-jXhbt2gn4", "libScePosix", 1, "libkernel", 1, 1, pthread_mutex_trylock); - LIB_FUNCTION("2Z+PpY6CaJg", "libScePosix", 1, "libkernel", 1, 1, pthread_mutex_unlock); - LIB_FUNCTION("HF7lK46xzjY", "libScePosix", 1, "libkernel", 1, 1, pthread_mutexattr_destroy); - LIB_FUNCTION("+m8+quqOwhM", "libScePosix", 1, "libkernel", 1, 1, - pthread_mutexattr_getprioceiling); - LIB_FUNCTION("yDaWxUE50s0", "libScePosix", 1, "libkernel", 1, 1, pthread_mutexattr_getprotocol); - LIB_FUNCTION("PmL-TwKUzXI", "libScePosix", 1, "libkernel", 1, 1, pthread_mutexattr_getpshared); - LIB_FUNCTION("GZFlI7RhuQo", "libScePosix", 1, "libkernel", 1, 1, pthread_mutexattr_gettype); - LIB_FUNCTION("dQHWEsJtoE4", "libScePosix", 1, "libkernel", 1, 1, pthread_mutexattr_init); - LIB_FUNCTION("ZLvf6lVAc4M", "libScePosix", 1, "libkernel", 1, 1, - pthread_mutexattr_setprioceiling); - LIB_FUNCTION("5txKfcMUAok", "libScePosix", 1, "libkernel", 1, 1, pthread_mutexattr_setprotocol); - LIB_FUNCTION("EXv3ztGqtDM", "libScePosix", 1, "libkernel", 1, 1, pthread_mutexattr_setpshared); - LIB_FUNCTION("mDmgMOGVUqg", "libScePosix", 1, "libkernel", 1, 1, pthread_mutexattr_settype); - LIB_FUNCTION("Z4QosVuAsA0", "libScePosix", 1, "libkernel", 1, 1, pthread_once); - LIB_FUNCTION("9vyP6Z7bqzc", "libScePosix", 1, "libkernel", 1, 1, pthread_rename_np); - LIB_FUNCTION("1471ajPzxh0", "libScePosix", 1, "libkernel", 1, 1, pthread_rwlock_destroy); - LIB_FUNCTION("ytQULN-nhL4", "libScePosix", 1, "libkernel", 1, 1, pthread_rwlock_init); - LIB_FUNCTION("iGjsr1WAtI0", "libScePosix", 1, "libkernel", 1, 1, pthread_rwlock_rdlock); - LIB_FUNCTION("lb8lnYo-o7k", "libScePosix", 1, "libkernel", 1, 1, pthread_rwlock_timedrdlock); - LIB_FUNCTION("9zklzAl9CGM", "libScePosix", 1, "libkernel", 1, 1, pthread_rwlock_timedwrlock); - LIB_FUNCTION("SFxTMOfuCkE", "libScePosix", 1, "libkernel", 1, 1, pthread_rwlock_tryrdlock); - LIB_FUNCTION("XhWHn6P5R7U", "libScePosix", 1, "libkernel", 1, 1, pthread_rwlock_trywrlock); - LIB_FUNCTION("EgmLo6EWgso", "libScePosix", 1, "libkernel", 1, 1, pthread_rwlock_unlock); - LIB_FUNCTION("sIlRvQqsN2Y", "libScePosix", 1, "libkernel", 1, 1, pthread_rwlock_wrlock); - LIB_FUNCTION("qsdmgXjqSgk", "libScePosix", 1, "libkernel", 1, 1, pthread_rwlockattr_destroy); - LIB_FUNCTION("VqEMuCv-qHY", "libScePosix", 1, "libkernel", 1, 1, pthread_rwlockattr_getpshared); - LIB_FUNCTION("l+bG5fsYkhg", "libScePosix", 1, "libkernel", 1, 1, pthread_rwlockattr_gettype_np); - LIB_FUNCTION("xFebsA4YsFI", "libScePosix", 1, "libkernel", 1, 1, pthread_rwlockattr_init); - LIB_FUNCTION("OuKg+kRDD7U", "libScePosix", 1, "libkernel", 1, 1, pthread_rwlockattr_setpshared); - LIB_FUNCTION("8NuOHiTr1Vw", "libScePosix", 1, "libkernel", 1, 1, pthread_rwlockattr_settype_np); - LIB_FUNCTION("EotR8a3ASf4", "libScePosix", 1, "libkernel", 1, 1, pthread_self); - LIB_FUNCTION("lZzFeSxPl08", "libScePosix", 1, "libkernel", 1, 1, pthread_setcancelstate); - LIB_FUNCTION("2dEhvvjlq30", "libScePosix", 1, "libkernel", 1, 1, pthread_setcanceltype); - LIB_FUNCTION("fBG1gHx1RlI", "libScePosix", 1, "libkernel", 1, 1, pthread_setconcurrency); - LIB_FUNCTION("a2P9wYGeZvc", "libScePosix", 1, "libkernel", 1, 1, pthread_setprio); - LIB_FUNCTION("Xs9hdiD7sAA", "libScePosix", 1, "libkernel", 1, 1, pthread_setschedparam); - LIB_FUNCTION("WrOLvHU0yQM", "libScePosix", 1, "libkernel", 1, 1, pthread_setspecific); - LIB_FUNCTION("JZKw5+Wrnaw", "libScePosix", 1, "libkernel", 1, 1, pthread_sigmask); - LIB_FUNCTION("nYBrkGDqxh8", "libScePosix", 1, "libkernel", 1, 1, pthread_testcancel); - LIB_FUNCTION("B5GmVDKwpn0", "libScePosix", 1, "libkernel", 1, 1, pthread_yield); - LIB_FUNCTION("C2kJ-byS5rM", "libScePosix", 1, "libkernel", 1, 1, pwrite); - LIB_FUNCTION("FCcmRZhWtOk", "libScePosix", 1, "libkernel", 1, 1, pwritev); - LIB_FUNCTION("AqBioC2vF3I", "libScePosix", 1, "libkernel", 1, 1, read); - LIB_FUNCTION("I7ImcLds-uU", "libScePosix", 1, "libkernel", 1, 1, readv); - LIB_FUNCTION("Ez8xjo9UF4E", "libScePosix", 1, "libkernel", 1, 1, recv); - LIB_FUNCTION("lUk6wrGXyMw", "libScePosix", 1, "libkernel", 1, 1, recvfrom); - LIB_FUNCTION("hI7oVeOluPM", "libScePosix", 1, "libkernel", 1, 1, recvmsg); - LIB_FUNCTION("NN01qLRhiqU", "libScePosix", 1, "libkernel", 1, 1, rename); - LIB_FUNCTION("c7ZnT7V1B98", "libScePosix", 1, "libkernel", 1, 1, rmdir); - LIB_FUNCTION("CBNtXOoef-E", "libScePosix", 1, "libkernel", 1, 1, sched_get_priority_max); - LIB_FUNCTION("m0iS6jNsXds", "libScePosix", 1, "libkernel", 1, 1, sched_get_priority_min); - LIB_FUNCTION("O6gKl8uvGyE", "libScePosix", 1, "libkernel", 1, 1, sched_getparam); - LIB_FUNCTION("yawdym+zDvw", "libScePosix", 1, "libkernel", 1, 1, sched_setparam); - LIB_FUNCTION("6XG4B33N09g", "libScePosix", 1, "libkernel", 1, 1, sched_yield); - LIB_FUNCTION("T8fER+tIGgk", "libScePosix", 1, "libkernel", 1, 1, select); - LIB_FUNCTION("cDW233RAwWo", "libScePosix", 1, "libkernel", 1, 1, sem_destroy); - LIB_FUNCTION("Bq+LRV-N6Hk", "libScePosix", 1, "libkernel", 1, 1, sem_getvalue); - LIB_FUNCTION("pDuPEf3m4fI", "libScePosix", 1, "libkernel", 1, 1, sem_init); - LIB_FUNCTION("IKP8typ0QUk", "libScePosix", 1, "libkernel", 1, 1, sem_post); - LIB_FUNCTION("4SbrhCozqQU", "libScePosix", 1, "libkernel", 1, 1, sem_reltimedwait_np); - LIB_FUNCTION("w5IHyvahg-o", "libScePosix", 1, "libkernel", 1, 1, sem_timedwait); - LIB_FUNCTION("WBWzsRifCEA", "libScePosix", 1, "libkernel", 1, 1, sem_trywait); - LIB_FUNCTION("OiunYlyJUvc", "libScePosix", 1, "libkernel", 1, 1, sem_unlink); - LIB_FUNCTION("YCV5dGGBcCo", "libScePosix", 1, "libkernel", 1, 1, sem_wait); - LIB_FUNCTION("fZOeZIOEmLw", "libScePosix", 1, "libkernel", 1, 1, send); - LIB_FUNCTION("aNeavPDNKzA", "libScePosix", 1, "libkernel", 1, 1, sendmsg); - LIB_FUNCTION("oBr313PppNE", "libScePosix", 1, "libkernel", 1, 1, sendto); - LIB_FUNCTION("2VRU7xiqLO8", "libScePosix", 1, "libkernel", 1, 1, setcontext); - LIB_FUNCTION("fFxGkxF2bVo", "libScePosix", 1, "libkernel", 1, 1, setsockopt); - LIB_FUNCTION("TUuiYS2kE8s", "libScePosix", 1, "libkernel", 1, 1, shutdown); - LIB_FUNCTION("0wu33hunNdE", "libScePosix", 1, "libkernel", 1, 1, sleep); - LIB_FUNCTION("TU-d9PfIHPM", "libScePosix", 1, "libkernel", 1, 1, socket); - LIB_FUNCTION("E6ao34wPw+U", "libScePosix", 1, "libkernel", 1, 1, stat); - LIB_FUNCTION("EXH1U-UBywI", "libScePosix", 1, "libkernel", 1, 1, swapcontext); - LIB_FUNCTION("Y2OqwJQ3lr8", "libScePosix", 1, "libkernel", 1, 1, sync); - LIB_FUNCTION("ayrtszI7GBg", "libScePosix", 1, "libkernel", 1, 1, truncate); - LIB_FUNCTION("VAzswvTOCzI", "libScePosix", 1, "libkernel", 1, 1, unlink); - LIB_FUNCTION("QcteRwbsnV0", "libScePosix", 1, "libkernel", 1, 1, usleep); - LIB_FUNCTION("GDuV00CHrUg", "libScePosix", 1, "libkernel", 1, 1, utimes); - LIB_FUNCTION("FN4gaPmuFV8", "libScePosix", 1, "libkernel", 1, 1, write); - LIB_FUNCTION("Z2aKdxzS4KE", "libScePosix", 1, "libkernel", 1, 1, writev);*/ -}; - -} // namespace Libraries::Kernel \ No newline at end of file diff --git a/src/core/libraries/libkernel.h b/src/core/libraries/libkernel.h deleted file mode 100644 index 72b6a804..00000000 --- a/src/core/libraries/libkernel.h +++ /dev/null @@ -1,1061 +0,0 @@ -// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once - -#include "library_common.h" - -namespace Libraries::Kernel { -/* -int PS4_SYSV_ABI __elf_phdr_match_addr(); -int PS4_SYSV_ABI __error(); -int PS4_SYSV_ABI __freeze(); -int PS4_SYSV_ABI __inet_ntop(); -int PS4_SYSV_ABI __inet_pton(); -int PS4_SYSV_ABI __progname(); -int PS4_SYSV_ABI __pthread_cleanup_pop_imp(); -int PS4_SYSV_ABI __pthread_cleanup_push_imp(); -int PS4_SYSV_ABI __pthread_cxa_finalize(); -int PS4_SYSV_ABI __sceKernelGetGPI(); -int PS4_SYSV_ABI __stack_chk_fail(); -int PS4_SYSV_ABI __stack_chk_guard(); -int PS4_SYSV_ABI __sys_debug_init(); -int PS4_SYSV_ABI __sys_dl_get_info(); -int PS4_SYSV_ABI __sys_dl_get_list(); -int PS4_SYSV_ABI __sys_dl_get_metadata(); -int PS4_SYSV_ABI __sys_dynlib_get_info_for_libdbg(); -int PS4_SYSV_ABI __sys_dynlib_get_info2(); -int PS4_SYSV_ABI __sys_dynlib_get_list_for_libdbg(); -int PS4_SYSV_ABI __sys_dynlib_get_list2(); -int PS4_SYSV_ABI __sys_dynlib_load_prx(); -int PS4_SYSV_ABI __sys_get_proc_type_info(); -int PS4_SYSV_ABI __sys_is_development_mode(); -int PS4_SYSV_ABI __sys_kqueueex(); -int PS4_SYSV_ABI __sys_namedobj_create(); -int PS4_SYSV_ABI __sys_namedobj_delete(); -int PS4_SYSV_ABI __sys_netabort(); -int PS4_SYSV_ABI __sys_netcontrol(); -int PS4_SYSV_ABI __sys_netgetiflist(); -int PS4_SYSV_ABI __sys_netgetsockinfo(); -int PS4_SYSV_ABI __sys_opmc_disable(); -int PS4_SYSV_ABI __sys_opmc_enable(); -int PS4_SYSV_ABI __sys_opmc_get_ctr(); -int PS4_SYSV_ABI __sys_opmc_get_hw(); -int PS4_SYSV_ABI __sys_opmc_set_ctl(); -int PS4_SYSV_ABI __sys_opmc_set_ctr(); -int PS4_SYSV_ABI __sys_opmc_set_hw(); -int PS4_SYSV_ABI __sys_osem_close(); -int PS4_SYSV_ABI __sys_osem_open(); -int PS4_SYSV_ABI __sys_randomized_path(); -int PS4_SYSV_ABI __sys_rdup(); -int PS4_SYSV_ABI __sys_regmgr_call(); -int PS4_SYSV_ABI __sys_set_uevt(); -int PS4_SYSV_ABI __sys_socketclose(); -int PS4_SYSV_ABI __sys_socketex(); -int PS4_SYSV_ABI __sys_test_debug_rwmem(); -int PS4_SYSV_ABI __sys_workaround8849(); -int PS4_SYSV_ABI __tls_get_addr(); -int PS4_SYSV_ABI __Ux86_64_setcontext(); -int PS4_SYSV_ABI _accept(); -int PS4_SYSV_ABI _bind(); -int PS4_SYSV_ABI _close(); -int PS4_SYSV_ABI _connect(); -int PS4_SYSV_ABI _dup2(); -int PS4_SYSV_ABI _execve(); -int PS4_SYSV_ABI _execvpe(); -int PS4_SYSV_ABI _exit(); -int PS4_SYSV_ABI _fcntl(); -int PS4_SYSV_ABI _fpathconf(); -int PS4_SYSV_ABI _fstat(); -int PS4_SYSV_ABI _fstatfs(); -int PS4_SYSV_ABI _getdirentries(); -int PS4_SYSV_ABI _getpeername(); -int PS4_SYSV_ABI _getsockname(); -int PS4_SYSV_ABI _getsockopt(); -int PS4_SYSV_ABI _ioctl(); -int PS4_SYSV_ABI _is_signal_return(); -int PS4_SYSV_ABI _listen(); -int PS4_SYSV_ABI _nanosleep(); -int PS4_SYSV_ABI _open(); -int PS4_SYSV_ABI _openat(); -int PS4_SYSV_ABI _read(); -int PS4_SYSV_ABI _readv(); -int PS4_SYSV_ABI _recvfrom(); -int PS4_SYSV_ABI _recvmsg(); -int PS4_SYSV_ABI _sceKernelRtldSetApplicationHeapAPI(); -int PS4_SYSV_ABI _sceKernelRtldThreadAtexitDecrement(); -int PS4_SYSV_ABI _sceKernelRtldThreadAtexitIncrement(); -int PS4_SYSV_ABI _sceKernelSetThreadAtexitCount(); -int PS4_SYSV_ABI _sceKernelSetThreadAtexitReport(); -int PS4_SYSV_ABI _sceKernelSetThreadDtors(); -int PS4_SYSV_ABI _sendmsg(); -int PS4_SYSV_ABI _sendto(); -int PS4_SYSV_ABI _setsockopt(); -int PS4_SYSV_ABI _sigaction(); -int PS4_SYSV_ABI _sigintr(); -int PS4_SYSV_ABI _sigprocmask(); -int PS4_SYSV_ABI _sigsuspend(); -int PS4_SYSV_ABI _umtx_op(); -int PS4_SYSV_ABI _wait4();*/ -s64 PS4_SYSV_ABI ps4__write(int d, const void* buf, std::size_t nbytes); -/* int PS4_SYSV_ABI _writev(); -int PS4_SYSV_ABI accept(); -int PS4_SYSV_ABI access(); -int PS4_SYSV_ABI amd64_set_fsbase(); -int PS4_SYSV_ABI bind(); -int PS4_SYSV_ABI blockpool_batch(); -int PS4_SYSV_ABI blockpool_map(); -int PS4_SYSV_ABI blockpool_open(); -int PS4_SYSV_ABI blockpool_unmap(); -int PS4_SYSV_ABI chdir(); -int PS4_SYSV_ABI chflags(); -int PS4_SYSV_ABI chmod(); -int PS4_SYSV_ABI clock_getres(); -int PS4_SYSV_ABI clock_gettime(); -int PS4_SYSV_ABI clock_settime(); -int PS4_SYSV_ABI close(); -int PS4_SYSV_ABI connect(); -int PS4_SYSV_ABI cpuset_getaffinity(); -int PS4_SYSV_ABI cpuset_getid(); -int PS4_SYSV_ABI cpuset_setaffinity(); -int PS4_SYSV_ABI creat(); -int PS4_SYSV_ABI dlclose(); -int PS4_SYSV_ABI dlerror(); -int PS4_SYSV_ABI dlopen(); -int PS4_SYSV_ABI dlsym(); -int PS4_SYSV_ABI dup(); -int PS4_SYSV_ABI dup2(); -int PS4_SYSV_ABI dynlib_get_obj_member(); -int PS4_SYSV_ABI ps4_environ(); -int PS4_SYSV_ABI ps4_errno(); -int PS4_SYSV_ABI execv(); -int PS4_SYSV_ABI execve(); -int PS4_SYSV_ABI execvp(); -int PS4_SYSV_ABI fchflags(); -int PS4_SYSV_ABI fchmod(); -int PS4_SYSV_ABI fcntl(); -int PS4_SYSV_ABI fdatasync(); -int PS4_SYSV_ABI flock(); -int PS4_SYSV_ABI fstat(); -int PS4_SYSV_ABI fsync(); -int PS4_SYSV_ABI ftruncate(); -int PS4_SYSV_ABI futimes(); -int PS4_SYSV_ABI get_authinfo(); -int PS4_SYSV_ABI get_module_info_list(); -int PS4_SYSV_ABI get_page_table_stats(); -int PS4_SYSV_ABI get_sdk_compiled_version(); -int PS4_SYSV_ABI get_self_auth_info(); -int PS4_SYSV_ABI get_vm_map_timestamp(); -int PS4_SYSV_ABI getargc(); -int PS4_SYSV_ABI getargv(); -int PS4_SYSV_ABI getcontext(); -int PS4_SYSV_ABI getdents(); -int PS4_SYSV_ABI getdirentries(); -int PS4_SYSV_ABI getdtablesize(); -int PS4_SYSV_ABI getegid(); -int PS4_SYSV_ABI geteuid(); -int PS4_SYSV_ABI getgid(); -int PS4_SYSV_ABI getgroups(); -int PS4_SYSV_ABI getitimer(); -int PS4_SYSV_ABI getlogin(); -int PS4_SYSV_ABI getlogin_r(); -int PS4_SYSV_ABI getpagesize(); -int PS4_SYSV_ABI getpeername(); -int PS4_SYSV_ABI getpid(); -int PS4_SYSV_ABI getppid(); -int PS4_SYSV_ABI getpriority(); -int PS4_SYSV_ABI getrlimit(); -int PS4_SYSV_ABI getrusage(); -int PS4_SYSV_ABI getsid(); -int PS4_SYSV_ABI getsockname(); -int PS4_SYSV_ABI getsockopt(); -int PS4_SYSV_ABI gettimeofday(); -int PS4_SYSV_ABI getuid(); -int PS4_SYSV_ABI htonl(); -int PS4_SYSV_ABI htons(); -int PS4_SYSV_ABI inet_ntop(); -int PS4_SYSV_ABI inet_pton(); -int PS4_SYSV_ABI ioctl(); -int PS4_SYSV_ABI ipmimgr_call(); -int PS4_SYSV_ABI is_in_sandbox(); -int PS4_SYSV_ABI issetugid(); -int PS4_SYSV_ABI kevent(); -int PS4_SYSV_ABI kill(); -int PS4_SYSV_ABI kqueue(); -int PS4_SYSV_ABI ksem_close(); -int PS4_SYSV_ABI ksem_destroy(); -int PS4_SYSV_ABI ksem_getvalue(); -int PS4_SYSV_ABI ksem_init(); -int PS4_SYSV_ABI ksem_open(); -int PS4_SYSV_ABI ksem_post(); -int PS4_SYSV_ABI ksem_timedwait(); -int PS4_SYSV_ABI ksem_trywait(); -int PS4_SYSV_ABI ksem_unlink(); -int PS4_SYSV_ABI ksem_wait(); -int PS4_SYSV_ABI ktimer_create(); -int PS4_SYSV_ABI ktimer_delete(); -int PS4_SYSV_ABI ktimer_getoverrun(); -int PS4_SYSV_ABI ktimer_gettime(); -int PS4_SYSV_ABI ktimer_settime(); -int PS4_SYSV_ABI listen(); -int PS4_SYSV_ABI lseek(); -int PS4_SYSV_ABI lstat(); -int PS4_SYSV_ABI madvise(); -int PS4_SYSV_ABI mdbg_service(); -int PS4_SYSV_ABI mincore(); -int PS4_SYSV_ABI mkdir(); -int PS4_SYSV_ABI mlock(); -int PS4_SYSV_ABI mlockall(); -int PS4_SYSV_ABI mmap(); -int PS4_SYSV_ABI mprotect(); -int PS4_SYSV_ABI msync(); -int PS4_SYSV_ABI munlock(); -int PS4_SYSV_ABI munlockall(); -int PS4_SYSV_ABI munmap(); -int PS4_SYSV_ABI nanosleep(); -int PS4_SYSV_ABI ntohl(); -int PS4_SYSV_ABI ntohs(); -int PS4_SYSV_ABI open(); -int PS4_SYSV_ABI pause(); -int PS4_SYSV_ABI physhm_open(); -int PS4_SYSV_ABI physhm_unlink(); -int PS4_SYSV_ABI pipe(); -int PS4_SYSV_ABI poll(); -int PS4_SYSV_ABI pread(); -int PS4_SYSV_ABI preadv(); -int PS4_SYSV_ABI profil(); -int PS4_SYSV_ABI pselect(); -int PS4_SYSV_ABI pthread_atfork(); -int PS4_SYSV_ABI pthread_attr_destroy(); -int PS4_SYSV_ABI pthread_attr_get_np(); -int PS4_SYSV_ABI pthread_attr_getaffinity_np(); -int PS4_SYSV_ABI pthread_attr_getdetachstate(); -int PS4_SYSV_ABI pthread_attr_getguardsize(); -int PS4_SYSV_ABI pthread_attr_getinheritsched(); -int PS4_SYSV_ABI pthread_attr_getschedparam(); -int PS4_SYSV_ABI pthread_attr_getschedpolicy(); -int PS4_SYSV_ABI pthread_attr_getscope(); -int PS4_SYSV_ABI pthread_attr_getstack(); -int PS4_SYSV_ABI pthread_attr_getstackaddr(); -int PS4_SYSV_ABI pthread_attr_getstacksize(); -int PS4_SYSV_ABI pthread_attr_init(); -int PS4_SYSV_ABI pthread_attr_setaffinity_np(); -int PS4_SYSV_ABI pthread_attr_setcreatesuspend_np(); -int PS4_SYSV_ABI pthread_attr_setdetachstate(); -int PS4_SYSV_ABI pthread_attr_setguardsize(); -int PS4_SYSV_ABI pthread_attr_setinheritsched(); -int PS4_SYSV_ABI pthread_attr_setschedparam(); -int PS4_SYSV_ABI pthread_attr_setschedpolicy(); -int PS4_SYSV_ABI pthread_attr_setscope(); -int PS4_SYSV_ABI pthread_attr_setstack(); -int PS4_SYSV_ABI pthread_attr_setstackaddr(); -int PS4_SYSV_ABI pthread_attr_setstacksize(); -int PS4_SYSV_ABI pthread_barrier_destroy(); -int PS4_SYSV_ABI pthread_barrier_init(); -int PS4_SYSV_ABI pthread_barrier_setname_np(); -int PS4_SYSV_ABI pthread_barrier_wait(); -int PS4_SYSV_ABI pthread_barrierattr_destroy(); -int PS4_SYSV_ABI pthread_barrierattr_getpshared(); -int PS4_SYSV_ABI pthread_barrierattr_init(); -int PS4_SYSV_ABI pthread_barrierattr_setpshared(); -int PS4_SYSV_ABI pthread_cancel(); -int PS4_SYSV_ABI pthread_cleanup_pop(); -int PS4_SYSV_ABI pthread_cleanup_push(); -int PS4_SYSV_ABI pthread_cond_broadcast(); -int PS4_SYSV_ABI pthread_cond_destroy(); -int PS4_SYSV_ABI pthread_cond_init(); -int PS4_SYSV_ABI pthread_cond_reltimedwait_np(); -int PS4_SYSV_ABI pthread_cond_setname_np(); -int PS4_SYSV_ABI pthread_cond_signal(); -int PS4_SYSV_ABI pthread_cond_signalto_np(); -int PS4_SYSV_ABI pthread_cond_timedwait(); -int PS4_SYSV_ABI pthread_cond_wait(); -int PS4_SYSV_ABI pthread_condattr_destroy(); -int PS4_SYSV_ABI pthread_condattr_getclock(); -int PS4_SYSV_ABI pthread_condattr_getpshared(); -int PS4_SYSV_ABI pthread_condattr_init(); -int PS4_SYSV_ABI pthread_condattr_setclock(); -int PS4_SYSV_ABI pthread_condattr_setpshared(); -int PS4_SYSV_ABI pthread_create(); -int PS4_SYSV_ABI pthread_create_name_np(); -int PS4_SYSV_ABI pthread_detach(); -int PS4_SYSV_ABI pthread_equal(); -int PS4_SYSV_ABI pthread_exit(); -int PS4_SYSV_ABI pthread_get_specificarray_np(); -int PS4_SYSV_ABI pthread_get_user_context_np(); -int PS4_SYSV_ABI pthread_getaffinity_np(); -int PS4_SYSV_ABI pthread_getconcurrency(); -int PS4_SYSV_ABI pthread_getcpuclockid(); -int PS4_SYSV_ABI pthread_getname_np(); -int PS4_SYSV_ABI pthread_getprio(); -int PS4_SYSV_ABI pthread_getschedparam(); -int PS4_SYSV_ABI pthread_getspecific(); -int PS4_SYSV_ABI pthread_getstack_np(); -int PS4_SYSV_ABI pthread_getthreadid_np(); -int PS4_SYSV_ABI pthread_join(); -int PS4_SYSV_ABI pthread_key_create(); -int PS4_SYSV_ABI pthread_key_delete(); -int PS4_SYSV_ABI pthread_kill(); -int PS4_SYSV_ABI pthread_main_np(); -int PS4_SYSV_ABI pthread_multi_np(); -int PS4_SYSV_ABI pthread_mutex_destroy(); -int PS4_SYSV_ABI pthread_mutex_getprioceiling(); -int PS4_SYSV_ABI pthread_mutex_getspinloops_np(); -int PS4_SYSV_ABI pthread_mutex_getyieldloops_np(); -int PS4_SYSV_ABI pthread_mutex_init(); -int PS4_SYSV_ABI pthread_mutex_init_for_mono(); -int PS4_SYSV_ABI pthread_mutex_isowned_np(); -int PS4_SYSV_ABI pthread_mutex_lock(); -int PS4_SYSV_ABI pthread_mutex_reltimedlock_np(); -int PS4_SYSV_ABI pthread_mutex_setname_np(); -int PS4_SYSV_ABI pthread_mutex_setprioceiling(); -int PS4_SYSV_ABI pthread_mutex_setspinloops_np(); -int PS4_SYSV_ABI pthread_mutex_setyieldloops_np(); -int PS4_SYSV_ABI pthread_mutex_timedlock(); -int PS4_SYSV_ABI pthread_mutex_trylock(); -int PS4_SYSV_ABI pthread_mutex_unlock(); -int PS4_SYSV_ABI pthread_mutexattr_destroy(); -int PS4_SYSV_ABI pthread_mutexattr_getkind_np(); -int PS4_SYSV_ABI pthread_mutexattr_getprioceiling(); -int PS4_SYSV_ABI pthread_mutexattr_getprotocol(); -int PS4_SYSV_ABI pthread_mutexattr_getpshared(); -int PS4_SYSV_ABI pthread_mutexattr_gettype(); -int PS4_SYSV_ABI pthread_mutexattr_init(); -int PS4_SYSV_ABI pthread_mutexattr_setkind_np(); -int PS4_SYSV_ABI pthread_mutexattr_setprioceiling(); -int PS4_SYSV_ABI pthread_mutexattr_setprotocol(); -int PS4_SYSV_ABI pthread_mutexattr_setpshared(); -int PS4_SYSV_ABI pthread_mutexattr_settype(); -int PS4_SYSV_ABI pthread_once(); -int PS4_SYSV_ABI pthread_rename_np(); -int PS4_SYSV_ABI pthread_resume_all_np(); -int PS4_SYSV_ABI pthread_resume_np(); -int PS4_SYSV_ABI pthread_resume_user_context_np(); -int PS4_SYSV_ABI pthread_rwlock_destroy(); -int PS4_SYSV_ABI pthread_rwlock_init(); -int PS4_SYSV_ABI pthread_rwlock_rdlock(); -int PS4_SYSV_ABI pthread_rwlock_reltimedrdlock_np(); -int PS4_SYSV_ABI pthread_rwlock_reltimedwrlock_np(); -int PS4_SYSV_ABI pthread_rwlock_setname_np(); -int PS4_SYSV_ABI pthread_rwlock_timedrdlock(); -int PS4_SYSV_ABI pthread_rwlock_timedwrlock(); -int PS4_SYSV_ABI pthread_rwlock_tryrdlock(); -int PS4_SYSV_ABI pthread_rwlock_trywrlock(); -int PS4_SYSV_ABI pthread_rwlock_unlock(); -int PS4_SYSV_ABI pthread_rwlock_wrlock(); -int PS4_SYSV_ABI pthread_rwlockattr_destroy(); -int PS4_SYSV_ABI pthread_rwlockattr_getpshared(); -int PS4_SYSV_ABI pthread_rwlockattr_gettype_np(); -int PS4_SYSV_ABI pthread_rwlockattr_init(); -int PS4_SYSV_ABI pthread_rwlockattr_setpshared(); -int PS4_SYSV_ABI pthread_rwlockattr_settype_np(); -int PS4_SYSV_ABI pthread_self(); -int PS4_SYSV_ABI pthread_set_defaultstacksize_np(); -int PS4_SYSV_ABI pthread_set_name_np(); -int PS4_SYSV_ABI pthread_set_user_context_np(); -int PS4_SYSV_ABI pthread_setaffinity_np(); -int PS4_SYSV_ABI pthread_setcancelstate(); -int PS4_SYSV_ABI pthread_setcanceltype(); -int PS4_SYSV_ABI pthread_setconcurrency(); -int PS4_SYSV_ABI pthread_setprio(); -int PS4_SYSV_ABI pthread_setschedparam(); -int PS4_SYSV_ABI pthread_setspecific(); -int PS4_SYSV_ABI pthread_sigmask(); -int PS4_SYSV_ABI pthread_single_np(); -int PS4_SYSV_ABI pthread_spin_destroy(); -int PS4_SYSV_ABI pthread_spin_init(); -int PS4_SYSV_ABI pthread_spin_lock(); -int PS4_SYSV_ABI pthread_spin_trylock(); -int PS4_SYSV_ABI pthread_spin_unlock(); -int PS4_SYSV_ABI pthread_suspend_all_np(); -int PS4_SYSV_ABI pthread_suspend_np(); -int PS4_SYSV_ABI pthread_suspend_user_context_np(); -int PS4_SYSV_ABI pthread_switch_add_np(); -int PS4_SYSV_ABI pthread_switch_delete_np(); -int PS4_SYSV_ABI pthread_testcancel(); -int PS4_SYSV_ABI pthread_timedjoin_np(); -int PS4_SYSV_ABI pthread_yield(); -int PS4_SYSV_ABI pwrite(); -int PS4_SYSV_ABI pwritev(); -int PS4_SYSV_ABI raise(); -int PS4_SYSV_ABI read(); -int PS4_SYSV_ABI readv(); -int PS4_SYSV_ABI recv(); -int PS4_SYSV_ABI recvfrom(); -int PS4_SYSV_ABI recvmsg(); -int PS4_SYSV_ABI rename(); -int PS4_SYSV_ABI rfork_thread(); -int PS4_SYSV_ABI rmdir(); -int PS4_SYSV_ABI rtld_printf(); -int PS4_SYSV_ABI rtprio_thread(); -int PS4_SYSV_ABI sceKernelAddCpumodeEvent(); -int PS4_SYSV_ABI sceKernelAddFileEvent(); -int PS4_SYSV_ABI sceKernelAddGpuExceptionEvent(); -int PS4_SYSV_ABI sceKernelAddHRTimerEvent(); -int PS4_SYSV_ABI sceKernelAddReadEvent(); -int PS4_SYSV_ABI sceKernelAddTimerEvent(); -int PS4_SYSV_ABI sceKernelAddUserEvent(); -int PS4_SYSV_ABI sceKernelAddUserEventEdge(); -int PS4_SYSV_ABI sceKernelAddWriteEvent(); -int PS4_SYSV_ABI sceKernelAioCancelRequest(); -int PS4_SYSV_ABI sceKernelAioCancelRequests(); -int PS4_SYSV_ABI sceKernelAioDeleteRequest(); -int PS4_SYSV_ABI sceKernelAioDeleteRequests(); -int PS4_SYSV_ABI sceKernelAioInitializeImpl(); -int PS4_SYSV_ABI sceKernelAioInitializeParam(); -int PS4_SYSV_ABI sceKernelAioPollRequest(); -int PS4_SYSV_ABI sceKernelAioPollRequests(); -int PS4_SYSV_ABI sceKernelAioSetParam(); -int PS4_SYSV_ABI sceKernelAioSubmitReadCommands(); -int PS4_SYSV_ABI sceKernelAioSubmitReadCommandsMultiple(); -int PS4_SYSV_ABI sceKernelAioSubmitWriteCommands(); -int PS4_SYSV_ABI sceKernelAioSubmitWriteCommandsMultiple(); -int PS4_SYSV_ABI sceKernelAioWaitRequest(); -int PS4_SYSV_ABI sceKernelAioWaitRequests(); -int PS4_SYSV_ABI sceKernelAllocateDirectMemory(); -int PS4_SYSV_ABI sceKernelAllocateDirectMemoryForMiniApp(); -int PS4_SYSV_ABI sceKernelAllocateMainDirectMemory(); -int PS4_SYSV_ABI sceKernelAllocateTraceDirectMemory(); -int PS4_SYSV_ABI sceKernelAvailableDirectMemorySize(); -int PS4_SYSV_ABI sceKernelAvailableFlexibleMemorySize(); -int PS4_SYSV_ABI sceKernelBacktraceSelf(); -int PS4_SYSV_ABI sceKernelBatchMap(); -int PS4_SYSV_ABI sceKernelBatchMap2(); -int PS4_SYSV_ABI sceKernelCancelEventFlag(); -int PS4_SYSV_ABI sceKernelCancelSema(); -int PS4_SYSV_ABI sceKernelCheckedReleaseDirectMemory(); -int PS4_SYSV_ABI sceKernelCheckReachability(); -int PS4_SYSV_ABI sceKernelChmod(); -int PS4_SYSV_ABI sceKernelClearBootReqNotifyCount(); -int PS4_SYSV_ABI sceKernelClearEventFlag(); -int PS4_SYSV_ABI sceKernelClearGameDirectMemory(); -int PS4_SYSV_ABI sceKernelClockGetres(); -int PS4_SYSV_ABI sceKernelClockGettime(); -int PS4_SYSV_ABI sceKernelClose(); -int PS4_SYSV_ABI sceKernelCloseEport(); -int PS4_SYSV_ABI sceKernelCloseEventFlag(); -int PS4_SYSV_ABI sceKernelCloseSema(); -int PS4_SYSV_ABI sceKernelConfiguredFlexibleMemorySize(); -int PS4_SYSV_ABI sceKernelConvertLocaltimeToUtc(); -int PS4_SYSV_ABI sceKernelConvertUtcToLocaltime(); -int PS4_SYSV_ABI sceKernelCreateEport(); -int PS4_SYSV_ABI sceKernelCreateEqueue(); -int PS4_SYSV_ABI sceKernelCreateEventFlag(); -int PS4_SYSV_ABI sceKernelCreateSema(); -int PS4_SYSV_ABI sceKernelDebugAcquireAndUpdateDebugRegister(); -int PS4_SYSV_ABI sceKernelDebugGetAppStatus(); -int PS4_SYSV_ABI sceKernelDebugGetPauseCount(); -int PS4_SYSV_ABI sceKernelDebugGpuPaDebugIsInProgress(); -int PS4_SYSV_ABI sceKernelDebugOutText(); -int PS4_SYSV_ABI sceKernelDebugRaiseException(); -int PS4_SYSV_ABI sceKernelDebugRaiseExceptionOnReleaseMode(); -int PS4_SYSV_ABI sceKernelDebugRaiseExceptionWithContext(); -int PS4_SYSV_ABI sceKernelDebugRaiseExceptionWithInfo(); -int PS4_SYSV_ABI sceKernelDebugReleaseDebugContext(); -int PS4_SYSV_ABI sceKernelDeleteCpumodeEvent(); -int PS4_SYSV_ABI sceKernelDeleteEport(); -int PS4_SYSV_ABI sceKernelDeleteEqueue(); -int PS4_SYSV_ABI sceKernelDeleteEventFlag(); -int PS4_SYSV_ABI sceKernelDeleteFileEvent(); -int PS4_SYSV_ABI sceKernelDeleteGpuExceptionEvent(); -int PS4_SYSV_ABI sceKernelDeleteHRTimerEvent(); -int PS4_SYSV_ABI sceKernelDeleteReadEvent(); -int PS4_SYSV_ABI sceKernelDeleteSema(); -int PS4_SYSV_ABI sceKernelDeleteTimerEvent(); -int PS4_SYSV_ABI sceKernelDeleteUserEvent(); -int PS4_SYSV_ABI sceKernelDeleteWriteEvent(); -int PS4_SYSV_ABI sceKernelDirectMemoryQuery(); -int PS4_SYSV_ABI sceKernelDirectMemoryQueryForId(); -int PS4_SYSV_ABI sceKernelDlsym(); -int PS4_SYSV_ABI sceKernelEnableDmemAliasing(); -int PS4_SYSV_ABI sceKernelEnableDmemAliasing2(); -int PS4_SYSV_ABI sceKernelEnablePthreadObjectCheck(); -int PS4_SYSV_ABI sceKernelError(); -int PS4_SYSV_ABI sceKernelEventLogInit(); -int PS4_SYSV_ABI sceKernelEventLogPread(); -int PS4_SYSV_ABI sceKernelEventLogRead(); -int PS4_SYSV_ABI sceKernelEventLogWrite(); -int PS4_SYSV_ABI sceKernelFchmod(); -int PS4_SYSV_ABI sceKernelFcntl(); -int PS4_SYSV_ABI sceKernelFdatasync(); -int PS4_SYSV_ABI sceKernelFlock(); -int PS4_SYSV_ABI sceKernelFstat(); -int PS4_SYSV_ABI sceKernelFsync(); -int PS4_SYSV_ABI sceKernelFtruncate(); -int PS4_SYSV_ABI sceKernelFutimes(); -int PS4_SYSV_ABI sceKernelGetAllowedSdkVersionOnSystem(); -int PS4_SYSV_ABI sceKernelGetAppInfo(); -int PS4_SYSV_ABI sceKernelGetAslrStatus(); -int PS4_SYSV_ABI sceKernelGetBackupRestoreMode(); -int PS4_SYSV_ABI sceKernelGetBackupRestoreModeOfNextBoot(); -int PS4_SYSV_ABI sceKernelGetBasicProductShape(); -int PS4_SYSV_ABI sceKernelGetBetaUpdateTestForRcmgr(); -int PS4_SYSV_ABI sceKernelGetBioUsageAll(); -int PS4_SYSV_ABI sceKernelGetBootReqNotifyCount(); -int PS4_SYSV_ABI sceKernelGetCallRecord(); -int PS4_SYSV_ABI sceKernelGetCompiledSdkVersion(); -int PS4_SYSV_ABI sceKernelGetCompiledSdkVersionByPath(); -int PS4_SYSV_ABI sceKernelGetCompiledSdkVersionByPid(); -int PS4_SYSV_ABI sceKernelGetCpuFrequency(); -int PS4_SYSV_ABI sceKernelGetCpumode(); -int PS4_SYSV_ABI sceKernelGetCpumodeGame(); -int PS4_SYSV_ABI sceKernelGetCpuTemperature(); -int PS4_SYSV_ABI sceKernelGetCpuUsage(); -int PS4_SYSV_ABI sceKernelGetCpuUsageAll(); -int PS4_SYSV_ABI sceKernelGetCpuUsageProc(); -int PS4_SYSV_ABI sceKernelGetCpuUsageProc2(); -int PS4_SYSV_ABI sceKernelGetCpuUsageThread(); -int PS4_SYSV_ABI sceKernelGetCurrentCpu(); -int PS4_SYSV_ABI sceKernelGetDataTransferMode(); -int PS4_SYSV_ABI sceKernelGetDebugMenuMiniModeForRcmgr(); -int PS4_SYSV_ABI sceKernelGetDebugMenuModeForPsmForRcmgr(); -int PS4_SYSV_ABI sceKernelGetDebugMenuModeForRcmgr(); -int PS4_SYSV_ABI sceKernelGetdents(); -int PS4_SYSV_ABI sceKernelGetDirectMemorySize(); -int PS4_SYSV_ABI sceKernelGetDirectMemoryType(); -int PS4_SYSV_ABI sceKernelGetdirentries(); -int PS4_SYSV_ABI sceKernelGetEventData(); -int PS4_SYSV_ABI sceKernelGetEventError(); -int PS4_SYSV_ABI sceKernelGetEventFflags(); -int PS4_SYSV_ABI sceKernelGetEventFilter(); -int PS4_SYSV_ABI sceKernelGetEventId(); -int PS4_SYSV_ABI sceKernelGetEventUserData(); -int PS4_SYSV_ABI sceKernelGetExecutableModuleHandle(); -int PS4_SYSV_ABI sceKernelGetExtLibcHandle(); -int PS4_SYSV_ABI sceKernelGetFakeFinalizeMenuForRcmgr(); -int PS4_SYSV_ABI sceKernelGetFlagedUpdaterForRcmgr(); -int PS4_SYSV_ABI sceKernelGetForceUpdateModeForRcmgr(); -int PS4_SYSV_ABI sceKernelGetFsSandboxRandomWord(); -int PS4_SYSV_ABI sceKernelGetGPI(); -int PS4_SYSV_ABI sceKernelGetGPO(); -int PS4_SYSV_ABI sceKernelGetHwFeatureInfoForDecid(); -int PS4_SYSV_ABI sceKernelGetIdPs(); -int PS4_SYSV_ABI sceKernelGetIdTableCurrentCount(); -int PS4_SYSV_ABI sceKernelGetIpcPath(); -int PS4_SYSV_ABI sceKernelGetLibkernelTextLocation(); -int PS4_SYSV_ABI sceKernelGetMainSocId(); -int PS4_SYSV_ABI sceKernelGetModuleInfo(); -int PS4_SYSV_ABI sceKernelGetModuleInfoForUnwind(); -int PS4_SYSV_ABI sceKernelGetModuleInfoFromAddr(); -int PS4_SYSV_ABI sceKernelGetModuleInfoInternal(); -int PS4_SYSV_ABI sceKernelGetModuleList(); -int PS4_SYSV_ABI sceKernelGetModuleListInternal(); -int PS4_SYSV_ABI sceKernelGetOpenPsIdForSystem(); -int PS4_SYSV_ABI sceKernelGetPageTableStats(); -int PS4_SYSV_ABI sceKernelGetPagingStatsOfAllObjects(); -int PS4_SYSV_ABI sceKernelGetPagingStatsOfAllThreads(); -int PS4_SYSV_ABI sceKernelGetPhysPageSize(); -int PS4_SYSV_ABI sceKernelGetProcessName(); -int PS4_SYSV_ABI sceKernelGetProcessTime(); -int PS4_SYSV_ABI sceKernelGetProcessTimeCounter(); -int PS4_SYSV_ABI sceKernelGetProcessTimeCounterFrequency(); -int PS4_SYSV_ABI sceKernelGetProcessType(); -int PS4_SYSV_ABI sceKernelGetProcParam(); -int PS4_SYSV_ABI sceKernelGetProductCode(); -int PS4_SYSV_ABI sceKernelGetProductStr(); -int PS4_SYSV_ABI sceKernelGetPrtAperture(); -int PS4_SYSV_ABI sceKernelGetPsmIntdevModeForRcmgr(); -int PS4_SYSV_ABI sceKernelGetPsnAccessTraceLogForRcmgr(); -int PS4_SYSV_ABI sceKernelGetQafExpirationTimeNotafterForRcmgr(); -int PS4_SYSV_ABI sceKernelGetQafExpirationTimeNotbeforeForRcmgr(); -int PS4_SYSV_ABI sceKernelGetQafGenerationForRcmgr(); -int PS4_SYSV_ABI sceKernelGetQafNameForRcmgr(); -int PS4_SYSV_ABI sceKernelGetRenderingMode(); -int PS4_SYSV_ABI sceKernelGetResidentCount(); -int PS4_SYSV_ABI sceKernelGetResidentFmemCount(); -int PS4_SYSV_ABI sceKernelGetSafemode(); -int PS4_SYSV_ABI sceKernelGetSanitizerMallocReplace(); -int PS4_SYSV_ABI sceKernelGetSanitizerMallocReplaceExternal(); -int PS4_SYSV_ABI sceKernelGetSanitizerNewReplace(); -int PS4_SYSV_ABI sceKernelGetSanitizerNewReplaceExternal(); -int PS4_SYSV_ABI sceKernelGetSocPowerConsumption(); -int PS4_SYSV_ABI sceKernelGetSocSensorTemperature(); -int PS4_SYSV_ABI sceKernelGetSpecialIForRcmgr(); -int PS4_SYSV_ABI sceKernelGetSubsysId(); -int PS4_SYSV_ABI sceKernelGetSystemExVersion(); -int PS4_SYSV_ABI sceKernelGetSystemLevelDebuggerModeForRcmgr(); -int PS4_SYSV_ABI sceKernelGetSystemSwBeta(); -int PS4_SYSV_ABI sceKernelGetSystemSwVersion(); -int PS4_SYSV_ABI sceKernelGetThreadName(); -int PS4_SYSV_ABI sceKernelGettimeofday(); -int PS4_SYSV_ABI sceKernelGettimezone(); -int PS4_SYSV_ABI sceKernelGetTraceMemoryStats(); -int PS4_SYSV_ABI sceKernelGetTscFrequency(); -int PS4_SYSV_ABI sceKernelGetUtokenDataExecutionForRcmgr(); -int PS4_SYSV_ABI sceKernelGetUtokenExpirationTimeNotafterForRcmgr(); -int PS4_SYSV_ABI sceKernelGetUtokenExpirationTimeNotbeforeForRcmgr(); -int PS4_SYSV_ABI sceKernelGetUtokenFakeSharefactoryForRcmgr(); -int PS4_SYSV_ABI sceKernelGetUtokenFlagedUpdaterForRcmgr(); -int PS4_SYSV_ABI sceKernelGetUtokenNpEnvSwitchingForRcmgr(); -int PS4_SYSV_ABI sceKernelGetUtokenSaveDataRepairForRcmgr(); -int PS4_SYSV_ABI sceKernelGetUtokenStoreModeForRcmgr(); -int PS4_SYSV_ABI sceKernelGetUtokenUseSoftwagnerForAcmgr(); -int PS4_SYSV_ABI sceKernelGetUtokenUseSoftwagnerForRcmgr(); -int PS4_SYSV_ABI sceKernelGetUtokenWeakenedPortRestrictionForRcmgr(); -int PS4_SYSV_ABI sceKernelGetVrCaptureSize(); -int PS4_SYSV_ABI sceKernelHasNeoMode(); -int PS4_SYSV_ABI sceKernelHwHasOpticalOut(); -int PS4_SYSV_ABI sceKernelHwHasWlanBt(); -int PS4_SYSV_ABI sceKernelIccControlBDPowerState(); -int PS4_SYSV_ABI sceKernelIccControlUSBPowerState(); -int PS4_SYSV_ABI sceKernelIccGetBDPowerState(); -int PS4_SYSV_ABI sceKernelIccGetCountTime(); -int PS4_SYSV_ABI sceKernelIccGetCPMode(); -int PS4_SYSV_ABI sceKernelIccGetCpuInfoBit(); -int PS4_SYSV_ABI sceKernelIccGetErrLog(); -int PS4_SYSV_ABI sceKernelIccGetHwInfo(); -int PS4_SYSV_ABI sceKernelIccGetPowerNumberOfBootShutdown(); -int PS4_SYSV_ABI sceKernelIccGetPowerOperatingTime(); -int PS4_SYSV_ABI sceKernelIccGetPowerUpCause(); -int PS4_SYSV_ABI sceKernelIccGetSysEventLog(); -int PS4_SYSV_ABI sceKernelIccGetThermalAlert(); -int PS4_SYSV_ABI sceKernelIccGetUSBPowerState(); -int PS4_SYSV_ABI sceKernelIccIndicatorBootDone(); -int PS4_SYSV_ABI sceKernelIccIndicatorShutdown(); -int PS4_SYSV_ABI sceKernelIccIndicatorStandby(); -int PS4_SYSV_ABI sceKernelIccIndicatorStandbyBoot(); -int PS4_SYSV_ABI sceKernelIccIndicatorStandbyShutdown(); -int PS4_SYSV_ABI sceKernelIccNotifyBootStatus(); -int PS4_SYSV_ABI sceKernelIccNvsFlush(); -int PS4_SYSV_ABI sceKernelIccReadPowerBootMessage(); -int PS4_SYSV_ABI sceKernelIccSetBuzzer(); -int PS4_SYSV_ABI sceKernelIccSetCPMode(); -int PS4_SYSV_ABI sceKernelIccSetCpuInfoBit(); -int PS4_SYSV_ABI sceKernelIccSetDownloadMode(); -int PS4_SYSV_ABI sceKernelInstallExceptionHandler(); -int PS4_SYSV_ABI sceKernelInternalGetKmemStatistics(); -int PS4_SYSV_ABI sceKernelInternalGetMapStatistics(); -int PS4_SYSV_ABI sceKernelInternalHeapPrintBacktraceWithModuleInfo(); -int PS4_SYSV_ABI sceKernelInternalMapDirectMemory(); -int PS4_SYSV_ABI sceKernelInternalMapNamedDirectMemory(); -int PS4_SYSV_ABI sceKernelInternalMemoryGetAvailableSize(); -int PS4_SYSV_ABI sceKernelInternalMemoryGetModuleSegmentInfo(); -int PS4_SYSV_ABI sceKernelInternalResumeDirectMemoryRelease(); -int PS4_SYSV_ABI sceKernelInternalSuspendDirectMemoryRelease(); -int PS4_SYSV_ABI sceKernelIsAddressSanitizerEnabled(); -int PS4_SYSV_ABI sceKernelIsAllowedToSelectDvdRegion(); -int PS4_SYSV_ABI sceKernelIsAuthenticNeo(); -int PS4_SYSV_ABI sceKernelIsCEX(); -int PS4_SYSV_ABI sceKernelIsDebuggerAttached(); -int PS4_SYSV_ABI sceKernelIsDevKit(); -int PS4_SYSV_ABI sceKernelIsExperimentalBeta(); -int PS4_SYSV_ABI sceKernelIsGenuineCEX(); -int PS4_SYSV_ABI sceKernelIsGenuineDevKit(); -int PS4_SYSV_ABI sceKernelIsGenuineKratosCex(); -int PS4_SYSV_ABI sceKernelIsGenuineN(); -int PS4_SYSV_ABI sceKernelIsGenuineTestKit(); -int PS4_SYSV_ABI sceKernelIsInSandbox(); -int PS4_SYSV_ABI sceKernelIsKratos(); -int PS4_SYSV_ABI sceKernelIsMainOnStanbyMode(); -int PS4_SYSV_ABI sceKernelIsMainOnStandbyMode(); -int PS4_SYSV_ABI sceKernelIsNeoMode(); -int PS4_SYSV_ABI sceKernelIsStack(); -int PS4_SYSV_ABI sceKernelIsTestKit(); -int PS4_SYSV_ABI sceKernelJitCreateAliasOfSharedMemory(); -int PS4_SYSV_ABI sceKernelJitCreateSharedMemory(); -int PS4_SYSV_ABI sceKernelJitGetSharedMemoryInfo(); -int PS4_SYSV_ABI sceKernelJitMapSharedMemory(); -int PS4_SYSV_ABI sceKernelKernelHeapUsage(); -int PS4_SYSV_ABI sceKernelLoadStartModule(); -int PS4_SYSV_ABI sceKernelLoadStartModuleForSysmodule(); -int PS4_SYSV_ABI sceKernelLseek(); -int PS4_SYSV_ABI sceKernelLwfsAllocateBlock(); -int PS4_SYSV_ABI sceKernelLwfsLseek(); -int PS4_SYSV_ABI sceKernelLwfsSetAttribute(); -int PS4_SYSV_ABI sceKernelLwfsTrimBlock(); -int PS4_SYSV_ABI sceKernelLwfsWrite(); -int PS4_SYSV_ABI sceKernelMapDirectMemory(); -int PS4_SYSV_ABI sceKernelMapDirectMemory2(); -int PS4_SYSV_ABI sceKernelMapFlexibleMemory(); -int PS4_SYSV_ABI sceKernelMapNamedDirectMemory(); -int PS4_SYSV_ABI sceKernelMapNamedFlexibleMemory(); -int PS4_SYSV_ABI sceKernelMapNamedSystemFlexibleMemory(); -int PS4_SYSV_ABI sceKernelMapSanitizerShadowMemory(); -int PS4_SYSV_ABI sceKernelMapTraceMemory(); -int PS4_SYSV_ABI sceKernelMemoryPoolBatch(); -int PS4_SYSV_ABI sceKernelMemoryPoolCommit(); -int PS4_SYSV_ABI sceKernelMemoryPoolDecommit(); -int PS4_SYSV_ABI sceKernelMemoryPoolExpand(); -int PS4_SYSV_ABI sceKernelMemoryPoolGetBlockStats(); -int PS4_SYSV_ABI sceKernelMemoryPoolMove(); -int PS4_SYSV_ABI sceKernelMemoryPoolReserve(); -int PS4_SYSV_ABI sceKernelMkdir(); -int PS4_SYSV_ABI sceKernelMlock(); -int PS4_SYSV_ABI sceKernelMlockall(); -int PS4_SYSV_ABI sceKernelMmap(); -int PS4_SYSV_ABI sceKernelMprotect(); -int PS4_SYSV_ABI sceKernelMsync(); -int PS4_SYSV_ABI sceKernelMtypeprotect(); -int PS4_SYSV_ABI sceKernelMunlock(); -int PS4_SYSV_ABI sceKernelMunlockall(); -int PS4_SYSV_ABI sceKernelMunmap(); -int PS4_SYSV_ABI sceKernelNanosleep(); -int PS4_SYSV_ABI sceKernelNormalizePath(); -int PS4_SYSV_ABI sceKernelNotifyAppStateChanged(); -int PS4_SYSV_ABI sceKernelNotifySystemSuspendResumeProgress(); -int PS4_SYSV_ABI sceKernelNotifySystemSuspendStart(); -int PS4_SYSV_ABI sceKernelOpen(); -int PS4_SYSV_ABI sceKernelOpenEport(); -int PS4_SYSV_ABI sceKernelOpenEventFlag(); -int PS4_SYSV_ABI sceKernelOpenSema(); -int PS4_SYSV_ABI sceKernelPollEventFlag(); -int PS4_SYSV_ABI sceKernelPollSema(); -int PS4_SYSV_ABI sceKernelPread(); -int PS4_SYSV_ABI sceKernelPreadv(); -int PS4_SYSV_ABI sceKernelPrintBacktraceWithModuleInfo(); -int PS4_SYSV_ABI sceKernelProtectDirectMemory(); -int PS4_SYSV_ABI sceKernelProtectDirectMemoryForPID(); -int PS4_SYSV_ABI sceKernelPwrite(); -int PS4_SYSV_ABI sceKernelPwritev(); -int PS4_SYSV_ABI sceKernelQueryMemoryProtection(); -int PS4_SYSV_ABI sceKernelQueryTraceMemory(); -int PS4_SYSV_ABI sceKernelRaiseException(); -int PS4_SYSV_ABI sceKernelRandomizedPath(); -int PS4_SYSV_ABI sceKernelRdup(); -int PS4_SYSV_ABI sceKernelRead(); -int PS4_SYSV_ABI sceKernelReadTsc(); -int PS4_SYSV_ABI sceKernelReadv(); -int PS4_SYSV_ABI sceKernelReboot(); -int PS4_SYSV_ABI sceKernelReleaseDirectMemory(); -int PS4_SYSV_ABI sceKernelReleaseFlexibleMemory(); -int PS4_SYSV_ABI sceKernelReleaseTraceDirectMemory(); -int PS4_SYSV_ABI sceKernelRemoveExceptionHandler(); -int PS4_SYSV_ABI sceKernelRename(); -int PS4_SYSV_ABI sceKernelReportUnpatchedFunctionCall(); -int PS4_SYSV_ABI sceKernelReserve2mbPage(); -int PS4_SYSV_ABI sceKernelReserveSystemDirectMemory(); -int PS4_SYSV_ABI sceKernelReserveVirtualRange(); -int PS4_SYSV_ABI sceKernelResumeDirectMemoryRelease(); -int PS4_SYSV_ABI sceKernelRmdir(); -int PS4_SYSV_ABI sceKernelRtldControl(); -int PS4_SYSV_ABI sceKernelSandboxPath(); -int PS4_SYSV_ABI sceKernelSendNotificationRequest(); -int PS4_SYSV_ABI sceKernelSetAppInfo(); -int PS4_SYSV_ABI sceKernelSetBackupRestoreMode(); -int PS4_SYSV_ABI sceKernelSetBaseModeClock(); -int PS4_SYSV_ABI sceKernelSetBesteffort(); -int PS4_SYSV_ABI sceKernelSetBootReqNotify(); -int PS4_SYSV_ABI sceKernelSetCallRecord(); -int PS4_SYSV_ABI sceKernelSetCompressionAttribute(); -int PS4_SYSV_ABI sceKernelSetCpumodeGame(); -int PS4_SYSV_ABI sceKernelSetDataTransferMode(); -int PS4_SYSV_ABI sceKernelSetEventFlag(); -int PS4_SYSV_ABI sceKernelSetFsstParam(); -int PS4_SYSV_ABI sceKernelSetGameDirectMemoryLimit(); -int PS4_SYSV_ABI sceKernelSetGPI(); -int PS4_SYSV_ABI sceKernelSetGPO(); -int PS4_SYSV_ABI sceKernelSetGpuCu(); -int PS4_SYSV_ABI sceKernelSetMemoryPstate(); -int PS4_SYSV_ABI sceKernelSetNeoModeClock(); -int PS4_SYSV_ABI sceKernelSetPhysFmemLimit(); -int PS4_SYSV_ABI sceKernelSetProcessName(); -int PS4_SYSV_ABI sceKernelSetProcessProperty(); -int PS4_SYSV_ABI sceKernelSetProcessPropertyString(); -int PS4_SYSV_ABI sceKernelSetPrtAperture(); -int PS4_SYSV_ABI sceKernelSetSafemode(); -int PS4_SYSV_ABI sceKernelSettimeofday(); -int PS4_SYSV_ABI sceKernelSetTimezoneInfo(); -int PS4_SYSV_ABI sceKernelSetVirtualRangeName(); -int PS4_SYSV_ABI sceKernelSetVmContainer(); -int PS4_SYSV_ABI sceKernelSignalSema(); -int PS4_SYSV_ABI sceKernelSleep(); -int PS4_SYSV_ABI sceKernelSlvNotifyError(); -int PS4_SYSV_ABI sceKernelStat(); -int PS4_SYSV_ABI sceKernelStopUnloadModule(); -int PS4_SYSV_ABI sceKernelSuspendDirectMemoryRelease(); -int PS4_SYSV_ABI sceKernelSwitchToBaseMode(); -int PS4_SYSV_ABI sceKernelSwitchToNeoMode(); -int PS4_SYSV_ABI sceKernelSync(); -int PS4_SYSV_ABI sceKernelTerminateSysCore(); -int PS4_SYSV_ABI sceKernelTitleWorkaroundIsEnabled(); -int PS4_SYSV_ABI sceKernelTitleWorkdaroundIsEnabled(); -int PS4_SYSV_ABI sceKernelTraceMemoryTypeProtect(); -int PS4_SYSV_ABI sceKernelTriggerEport(); -int PS4_SYSV_ABI sceKernelTriggerUserEvent(); -int PS4_SYSV_ABI sceKernelTruncate(); -int PS4_SYSV_ABI sceKernelUnlink(); -int PS4_SYSV_ABI sceKernelUsleep(); -int PS4_SYSV_ABI sceKernelUtimes(); -int PS4_SYSV_ABI sceKernelUuidCreate(); -int PS4_SYSV_ABI sceKernelVirtualQuery(); -int PS4_SYSV_ABI sceKernelVirtualQueryAll(); -int PS4_SYSV_ABI sceKernelWaitEqueue(); -int PS4_SYSV_ABI sceKernelWaitEventFlag(); -int PS4_SYSV_ABI sceKernelWaitSema(); -int PS4_SYSV_ABI sceKernelWrite(); -int PS4_SYSV_ABI sceKernelWriteSdkEventLog(); -int PS4_SYSV_ABI sceKernelWritev(); -int PS4_SYSV_ABI sceKernelYieldCpumode(); -int PS4_SYSV_ABI sceLibcMspaceCreateForMonoMutex(); -int PS4_SYSV_ABI scePthreadAtfork(); -int PS4_SYSV_ABI scePthreadAttrDestroy(); -int PS4_SYSV_ABI scePthreadAttrGet(); -int PS4_SYSV_ABI scePthreadAttrGetaffinity(); -int PS4_SYSV_ABI scePthreadAttrGetdetachstate(); -int PS4_SYSV_ABI scePthreadAttrGetguardsize(); -int PS4_SYSV_ABI scePthreadAttrGetinheritsched(); -int PS4_SYSV_ABI scePthreadAttrGetschedparam(); -int PS4_SYSV_ABI scePthreadAttrGetschedpolicy(); -int PS4_SYSV_ABI scePthreadAttrGetscope(); -int PS4_SYSV_ABI scePthreadAttrGetstack(); -int PS4_SYSV_ABI scePthreadAttrGetstackaddr(); -int PS4_SYSV_ABI scePthreadAttrGetstacksize(); -int PS4_SYSV_ABI scePthreadAttrInit(); -int PS4_SYSV_ABI scePthreadAttrSetaffinity(); -int PS4_SYSV_ABI scePthreadAttrSetcreatesuspend(); -int PS4_SYSV_ABI scePthreadAttrSetdetachstate(); -int PS4_SYSV_ABI scePthreadAttrSetguardsize(); -int PS4_SYSV_ABI scePthreadAttrSetinheritsched(); -int PS4_SYSV_ABI scePthreadAttrSetschedparam(); -int PS4_SYSV_ABI scePthreadAttrSetschedpolicy(); -int PS4_SYSV_ABI scePthreadAttrSetscope(); -int PS4_SYSV_ABI scePthreadAttrSetstack(); -int PS4_SYSV_ABI scePthreadAttrSetstackaddr(); -int PS4_SYSV_ABI scePthreadAttrSetstacksize(); -int PS4_SYSV_ABI scePthreadBarrierattrDestroy(); -int PS4_SYSV_ABI scePthreadBarrierattrGetpshared(); -int PS4_SYSV_ABI scePthreadBarrierattrInit(); -int PS4_SYSV_ABI scePthreadBarrierattrSetpshared(); -int PS4_SYSV_ABI scePthreadBarrierDestroy(); -int PS4_SYSV_ABI scePthreadBarrierInit(); -int PS4_SYSV_ABI scePthreadBarrierWait(); -int PS4_SYSV_ABI scePthreadCancel(); -int PS4_SYSV_ABI scePthreadCondattrDestroy(); -int PS4_SYSV_ABI scePthreadCondattrGetclock(); -int PS4_SYSV_ABI scePthreadCondattrGetpshared(); -int PS4_SYSV_ABI scePthreadCondattrInit(); -int PS4_SYSV_ABI scePthreadCondattrSetclock(); -int PS4_SYSV_ABI scePthreadCondattrSetpshared(); -int PS4_SYSV_ABI scePthreadCondBroadcast(); -int PS4_SYSV_ABI scePthreadCondDestroy(); -int PS4_SYSV_ABI scePthreadCondInit(); -int PS4_SYSV_ABI scePthreadCondSignal(); -int PS4_SYSV_ABI scePthreadCondSignalto(); -int PS4_SYSV_ABI scePthreadCondTimedwait(); -int PS4_SYSV_ABI scePthreadCondWait(); -int PS4_SYSV_ABI scePthreadCreate(); -int PS4_SYSV_ABI scePthreadDetach(); -int PS4_SYSV_ABI scePthreadEqual(); -int PS4_SYSV_ABI scePthreadExit(); -int PS4_SYSV_ABI scePthreadGetaffinity(); -int PS4_SYSV_ABI scePthreadGetconcurrency(); -int PS4_SYSV_ABI scePthreadGetcpuclockid(); -int PS4_SYSV_ABI scePthreadGetname(); -int PS4_SYSV_ABI scePthreadGetprio(); -int PS4_SYSV_ABI scePthreadGetschedparam(); -int PS4_SYSV_ABI scePthreadGetspecific(); -int PS4_SYSV_ABI scePthreadGetthreadid(); -int PS4_SYSV_ABI scePthreadJoin(); -int PS4_SYSV_ABI scePthreadKeyCreate(); -int PS4_SYSV_ABI scePthreadKeyDelete(); -int PS4_SYSV_ABI scePthreadMain(); -int PS4_SYSV_ABI scePthreadMulti(); -int PS4_SYSV_ABI scePthreadMutexattrDestroy(); -int PS4_SYSV_ABI scePthreadMutexattrGetkind(); -int PS4_SYSV_ABI scePthreadMutexattrGetprioceiling(); -int PS4_SYSV_ABI scePthreadMutexattrGetprotocol(); -int PS4_SYSV_ABI scePthreadMutexattrGetpshared(); -int PS4_SYSV_ABI scePthreadMutexattrGettype(); -int PS4_SYSV_ABI scePthreadMutexattrInit(); -int PS4_SYSV_ABI scePthreadMutexattrInitForInternalLibc(); -int PS4_SYSV_ABI scePthreadMutexattrSetkind(); -int PS4_SYSV_ABI scePthreadMutexattrSetprioceiling(); -int PS4_SYSV_ABI scePthreadMutexattrSetprotocol(); -int PS4_SYSV_ABI scePthreadMutexattrSetpshared(); -int PS4_SYSV_ABI scePthreadMutexattrSettype(); -int PS4_SYSV_ABI scePthreadMutexDestroy(); -int PS4_SYSV_ABI scePthreadMutexGetprioceiling(); -int PS4_SYSV_ABI scePthreadMutexGetspinloops(); -int PS4_SYSV_ABI scePthreadMutexGetyieldloops(); -int PS4_SYSV_ABI scePthreadMutexInit(); -int PS4_SYSV_ABI scePthreadMutexInitForInternalLibc(); -int PS4_SYSV_ABI scePthreadMutexIsowned(); -int PS4_SYSV_ABI scePthreadMutexLock(); -int PS4_SYSV_ABI scePthreadMutexSetprioceiling(); -int PS4_SYSV_ABI scePthreadMutexSetspinloops(); -int PS4_SYSV_ABI scePthreadMutexSetyieldloops(); -int PS4_SYSV_ABI scePthreadMutexTimedlock(); -int PS4_SYSV_ABI scePthreadMutexTrylock(); -int PS4_SYSV_ABI scePthreadMutexUnlock(); -int PS4_SYSV_ABI scePthreadOnce(); -int PS4_SYSV_ABI scePthreadRename(); -int PS4_SYSV_ABI scePthreadResume(); -int PS4_SYSV_ABI scePthreadResumeAll(); -int PS4_SYSV_ABI scePthreadRwlockattrDestroy(); -int PS4_SYSV_ABI scePthreadRwlockattrGetpshared(); -int PS4_SYSV_ABI scePthreadRwlockattrGettype(); -int PS4_SYSV_ABI scePthreadRwlockattrInit(); -int PS4_SYSV_ABI scePthreadRwlockattrSetpshared(); -int PS4_SYSV_ABI scePthreadRwlockattrSettype(); -int PS4_SYSV_ABI scePthreadRwlockDestroy(); -int PS4_SYSV_ABI scePthreadRwlockInit(); -int PS4_SYSV_ABI scePthreadRwlockRdlock(); -int PS4_SYSV_ABI scePthreadRwlockTimedrdlock(); -int PS4_SYSV_ABI scePthreadRwlockTimedwrlock(); -int PS4_SYSV_ABI scePthreadRwlockTryrdlock(); -int PS4_SYSV_ABI scePthreadRwlockTrywrlock(); -int PS4_SYSV_ABI scePthreadRwlockUnlock(); -int PS4_SYSV_ABI scePthreadRwlockWrlock(); -int PS4_SYSV_ABI scePthreadSelf(); -int PS4_SYSV_ABI scePthreadSemDestroy(); -int PS4_SYSV_ABI scePthreadSemGetvalue(); -int PS4_SYSV_ABI scePthreadSemInit(); -int PS4_SYSV_ABI scePthreadSemPost(); -int PS4_SYSV_ABI scePthreadSemTimedwait(); -int PS4_SYSV_ABI scePthreadSemTrywait(); -int PS4_SYSV_ABI scePthreadSemWait(); -int PS4_SYSV_ABI scePthreadSetaffinity(); -int PS4_SYSV_ABI scePthreadSetBesteffort(); -int PS4_SYSV_ABI scePthreadSetcancelstate(); -int PS4_SYSV_ABI scePthreadSetcanceltype(); -int PS4_SYSV_ABI scePthreadSetconcurrency(); -int PS4_SYSV_ABI scePthreadSetDefaultstacksize(); -int PS4_SYSV_ABI scePthreadSetName(); -int PS4_SYSV_ABI scePthreadSetprio(); -int PS4_SYSV_ABI scePthreadSetschedparam(); -int PS4_SYSV_ABI scePthreadSetspecific(); -int PS4_SYSV_ABI scePthreadSingle(); -int PS4_SYSV_ABI scePthreadSuspend(); -int PS4_SYSV_ABI scePthreadSuspendAll(); -int PS4_SYSV_ABI scePthreadTestcancel(); -int PS4_SYSV_ABI scePthreadTimedjoin(); -int PS4_SYSV_ABI scePthreadYield(); -int PS4_SYSV_ABI sched_get_priority_max(); -int PS4_SYSV_ABI sched_get_priority_min(); -int PS4_SYSV_ABI sched_getparam(); -int PS4_SYSV_ABI sched_getscheduler(); -int PS4_SYSV_ABI sched_rr_get_interval(); -int PS4_SYSV_ABI sched_setparam(); -int PS4_SYSV_ABI sched_setscheduler(); -int PS4_SYSV_ABI sched_yield(); -int PS4_SYSV_ABI select(); -int PS4_SYSV_ABI sem_close(); -int PS4_SYSV_ABI sem_destroy(); -int PS4_SYSV_ABI sem_getvalue(); -int PS4_SYSV_ABI sem_init(); -int PS4_SYSV_ABI sem_open(); -int PS4_SYSV_ABI sem_post(); -int PS4_SYSV_ABI sem_reltimedwait_np(); -int PS4_SYSV_ABI sem_setname(); -int PS4_SYSV_ABI sem_timedwait(); -int PS4_SYSV_ABI sem_trywait(); -int PS4_SYSV_ABI sem_unlink(); -int PS4_SYSV_ABI sem_wait(); -int PS4_SYSV_ABI send(); -int PS4_SYSV_ABI sendfile(); -int PS4_SYSV_ABI sendmsg(); -int PS4_SYSV_ABI sendto(); -int PS4_SYSV_ABI set_phys_fmem_limit(); -int PS4_SYSV_ABI setcontext(); -int PS4_SYSV_ABI setegid(); -int PS4_SYSV_ABI seteuid(); -int PS4_SYSV_ABI setgroups(); -int PS4_SYSV_ABI setitimer(); -int PS4_SYSV_ABI setpriority(); -int PS4_SYSV_ABI setregid(); -int PS4_SYSV_ABI setreuid(); -int PS4_SYSV_ABI setrlimit(); -int PS4_SYSV_ABI setsockopt(); -int PS4_SYSV_ABI settimeofday(); -int PS4_SYSV_ABI setuid(); -int PS4_SYSV_ABI shm_open(); -int PS4_SYSV_ABI shm_unlink(); -int PS4_SYSV_ABI shutdown(); -int PS4_SYSV_ABI sigaction(); -int PS4_SYSV_ABI sigaddset(); -int PS4_SYSV_ABI sigaltstack(); -int PS4_SYSV_ABI sigdelset(); -int PS4_SYSV_ABI sigemptyset(); -int PS4_SYSV_ABI sigfillset(); -int PS4_SYSV_ABI sigismember(); -int PS4_SYSV_ABI siglongjmp(); -int PS4_SYSV_ABI signal(); -int PS4_SYSV_ABI sigpending(); -int PS4_SYSV_ABI sigprocmask(); -int PS4_SYSV_ABI sigqueue(); -int PS4_SYSV_ABI sigreturn(); -int PS4_SYSV_ABI sigsetjmp(); -int PS4_SYSV_ABI sigsuspend(); -int PS4_SYSV_ABI sigtimedwait(); -int PS4_SYSV_ABI sigwait(); -int PS4_SYSV_ABI sigwaitinfo(); -int PS4_SYSV_ABI sleep(); -int PS4_SYSV_ABI socket(); -int PS4_SYSV_ABI socketpair(); -int PS4_SYSV_ABI stat(); -int PS4_SYSV_ABI swapcontext(); -int PS4_SYSV_ABI sync(); -int PS4_SYSV_ABI sysarch(); -int PS4_SYSV_ABI sysconf(); -int PS4_SYSV_ABI sysctl(); -int PS4_SYSV_ABI sysctlbyname(); -int PS4_SYSV_ABI sysctlnametomib(); -int PS4_SYSV_ABI sysKernelGetIntdevModeForRcmgr(); -int PS4_SYSV_ABI sysKernelGetLowerLimitSysexVersion(); -int PS4_SYSV_ABI sysKernelGetLowerLimitUpdVersion(); -int PS4_SYSV_ABI sysKernelGetManufacturingMode(); -int PS4_SYSV_ABI sysKernelGetUpdVersion(); -int PS4_SYSV_ABI system(); -int PS4_SYSV_ABI tcdrain(); -int PS4_SYSV_ABI tcflow(); -int PS4_SYSV_ABI tcflush(); -int PS4_SYSV_ABI tcgetattr(); -int PS4_SYSV_ABI tcgetpgrp(); -int PS4_SYSV_ABI tcgetsid(); -int PS4_SYSV_ABI tcsendbreak(); -int PS4_SYSV_ABI tcsetattr(); -int PS4_SYSV_ABI tcsetpgrp(); -int PS4_SYSV_ABI tcsetsid(); -int PS4_SYSV_ABI truncate(); -int PS4_SYSV_ABI unlink(); -int PS4_SYSV_ABI usleep(); -int PS4_SYSV_ABI utimes(); -int PS4_SYSV_ABI uuidgen(); -int PS4_SYSV_ABI wait(); -int PS4_SYSV_ABI wait3(); -int PS4_SYSV_ABI waitpid(); -int PS4_SYSV_ABI write(); -int PS4_SYSV_ABI writev(); -int PS4_SYSV_ABI Func_37DE1AD13E05E3E5(); -int PS4_SYSV_ABI Func_71A7C3C5AEB8B0EE(); -int PS4_SYSV_ABI Func_829822FC6C04D88B(); -int PS4_SYSV_ABI Func_866AB0F0694DFAD2(); -int PS4_SYSV_ABI Func_8CCB8DA014423D48(); -int PS4_SYSV_ABI Func_AAD1CE2ED156ABB6(); -int PS4_SYSV_ABI Func_B95F988A5707A80B(); -int PS4_SYSV_ABI Func_BDF61AC64C672574(); -int PS4_SYSV_ABI Func_BFEA9394D8C5EA41(); -int PS4_SYSV_ABI Func_C740D02B44D70E4D(); -int PS4_SYSV_ABI Func_D6FDB7C3B4679227(); -int PS4_SYSV_ABI Func_DB02A3203D221953(); -int PS4_SYSV_ABI Func_DB1838257BDA27A9(); -int PS4_SYSV_ABI Func_FCF341DED7E70FC7(); -int PS4_SYSV_ABI Func_FEE3EAF3655B44C2(); -int PS4_SYSV_ABI sceKernelIsProspero(); -int PS4_SYSV_ABI sceKernelGetOpenPsId(); -int PS4_SYSV_ABI Func_0A531D1EEBBE4750(); -int PS4_SYSV_ABI sceKernelGetModuleInfo2(); -int PS4_SYSV_ABI sceKernelGetModuleList2(); -int PS4_SYSV_ABI sceKernelIsModuleLoaded(); -int PS4_SYSV_ABI sysc_e00(); -int PS4_SYSV_ABI sysc_s00(); -int PS4_SYSV_ABI sceCoredumpAttachMemoryRegion(); -int PS4_SYSV_ABI sceCoredumpAttachMemoryRegionAsUserFile(); -int PS4_SYSV_ABI sceCoredumpAttachUserFile(); -int PS4_SYSV_ABI sceCoredumpAttachUserMemoryFile(); -int PS4_SYSV_ABI sceCoredumpConfigDumpMode(); -int PS4_SYSV_ABI sceCoredumpDebugTextOut(); -int PS4_SYSV_ABI sceCoredumpGetStopInfoCpu(); -int PS4_SYSV_ABI sceCoredumpGetStopInfoGpu(); -int PS4_SYSV_ABI sceCoredumpGetThreadContextInfo(); -int PS4_SYSV_ABI sceCoredumpInternalGetThreadContextInfo(); -int PS4_SYSV_ABI sceCoredumpRegisterCoredumpHandler(); -int PS4_SYSV_ABI sceCoredumpSetUserDataType(); -int PS4_SYSV_ABI sceCoredumpUnregisterCoredumpHandler(); -int PS4_SYSV_ABI sceCoredumpWriteUserData(); -int PS4_SYSV_ABI Func_9889095293F9BCAA(); -int PS4_SYSV_ABI sceCoredumpDebugForceCoredumpOnAppClose(); -int PS4_SYSV_ABI sceCoredumpDebugTriggerCoredump();*/ - -void Registerlibkernel(Core::Loader::SymbolsResolver* sym); -} // namespace Libraries::Kernel \ No newline at end of file diff --git a/src/core/libraries/library_common.h b/src/core/libraries/library_common.h deleted file mode 100644 index 1ba6b95a..00000000 --- a/src/core/libraries/library_common.h +++ /dev/null @@ -1,6 +0,0 @@ -// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once -// TODO placeholder until port finishes -#include "core/hle/libraries/libs.h" \ No newline at end of file diff --git a/src/core/libraries/libs.cpp b/src/core/libraries/libs.cpp new file mode 100644 index 00000000..5995a652 --- /dev/null +++ b/src/core/libraries/libs.cpp @@ -0,0 +1,54 @@ +// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +#include "common/config.h" +#include "core/PS4/HLE/Graphics/video_out.h" +#include "core/libraries/audio/audioin.h" +#include "core/libraries/audio/audioout.h" +#include "core/libraries/gnmdriver/gnmdriver.h" +#include "core/libraries/kernel/libkernel.h" +#include "core/libraries/libc/libc.h" +#include "core/libraries/libs.h" +#include "core/libraries/network/http.h" +#include "core/libraries/network/net.h" +#include "core/libraries/network/netctl.h" +#include "core/libraries/network/ssl.h" +#include "core/libraries/pad/pad.h" +#include "core/libraries/system/commondialog.h" +#include "core/libraries/system/msgdialog.h" +#include "core/libraries/system/posix.h" +#include "core/libraries/system/savedata.h" +#include "core/libraries/system/savedatadialog.h" +#include "core/libraries/system/sysmodule.h" +#include "core/libraries/system/systemservice.h" +#include "core/libraries/system/userservice.h" + +namespace Libraries { + +void InitHLELibs(Core::Loader::SymbolsResolver* sym) { + Libraries::Kernel::LibKernel_Register(sym); + HLE::Libs::Graphics::VideoOut::videoOutRegisterLib(sym); + Libraries::GnmDriver::RegisterlibSceGnmDriver(sym); + Libraries::LibPad::padSymbolsRegister(sym); + if (!Config::isLleLibc()) { + Core::Libraries::LibC::libcSymbolsRegister(sym); + } + + // New libraries folder from autogen + Libraries::UserService::RegisterlibSceUserService(sym); + Libraries::SystemService::RegisterlibSceSystemService(sym); + Libraries::CommonDialog::RegisterlibSceCommonDialog(sym); + Libraries::MsgDialog::RegisterlibSceMsgDialog(sym); + Libraries::AudioOut::RegisterlibSceAudioOut(sym); + Libraries::Http::RegisterlibSceHttp(sym); + Libraries::Net::RegisterlibSceNet(sym); + Libraries::NetCtl::RegisterlibSceNetCtl(sym); + Libraries::SaveData::RegisterlibSceSaveData(sym); + Libraries::Ssl::RegisterlibSceSsl(sym); + Libraries::SysModule::RegisterlibSceSysmodule(sym); + Libraries::Posix::Registerlibsceposix(sym); + Libraries::AudioIn::RegisterlibSceAudioIn(sym); + Libraries::SaveDataDialog::RegisterlibSceSaveDataDialog(sym); +} + +} // namespace Libraries diff --git a/src/core/hle/libraries/libs.h b/src/core/libraries/libs.h similarity index 98% rename from src/core/hle/libraries/libs.h rename to src/core/libraries/libs.h index f9329bb9..fe36fdf6 100644 --- a/src/core/hle/libraries/libs.h +++ b/src/core/libraries/libs.h @@ -34,8 +34,8 @@ sym->AddSymbol(sr, func); \ } -namespace OldLibraries { +namespace Libraries { void InitHLELibs(Core::Loader::SymbolsResolver* sym); -} // namespace OldLibraries +} // namespace Libraries diff --git a/src/core/libraries/libscehttp.cpp b/src/core/libraries/network/http.cpp similarity index 99% rename from src/core/libraries/libscehttp.cpp rename to src/core/libraries/network/http.cpp index b3109f7c..8e06c76f 100644 --- a/src/core/libraries/libscehttp.cpp +++ b/src/core/libraries/network/http.cpp @@ -1,10 +1,10 @@ // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -// Generated By moduleGenerator #include "common/logging/log.h" -#include "error_codes.h" -#include "libscehttp.h" +#include "core/libraries/error_codes.h" +#include "core/libraries/libs.h" +#include "core/libraries/network/http.h" namespace Libraries::Http { @@ -717,4 +717,4 @@ void RegisterlibSceHttp(Core::Loader::SymbolsResolver* sym) { LIB_FUNCTION("qISjDHrxONc", "libSceHttp", 1, "libSceHttp", 1, 1, sceHttpWaitRequest); }; -} // namespace Libraries::Http \ No newline at end of file +} // namespace Libraries::Http diff --git a/src/core/libraries/libscehttp.h b/src/core/libraries/network/http.h similarity index 97% rename from src/core/libraries/libscehttp.h rename to src/core/libraries/network/http.h index 61da6155..24bc8302 100644 --- a/src/core/libraries/libscehttp.h +++ b/src/core/libraries/network/http.h @@ -3,7 +3,11 @@ #pragma once -#include "library_common.h" +#include "common/types.h" + +namespace Core::Loader { +class SymbolsResolver; +} namespace Libraries::Http { @@ -124,4 +128,4 @@ int PS4_SYSV_ABI sceHttpUriUnescape(); int PS4_SYSV_ABI sceHttpWaitRequest(); void RegisterlibSceHttp(Core::Loader::SymbolsResolver* sym); -} // namespace Libraries::Http \ No newline at end of file +} // namespace Libraries::Http diff --git a/src/core/libraries/libscenet.cpp b/src/core/libraries/network/net.cpp similarity index 99% rename from src/core/libraries/libscenet.cpp rename to src/core/libraries/network/net.cpp index 3a98e17c..6ea85a1d 100644 --- a/src/core/libraries/libscenet.cpp +++ b/src/core/libraries/network/net.cpp @@ -1,10 +1,10 @@ // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -// Generated By moduleGenerator #include "common/logging/log.h" -#include "error_codes.h" -#include "libscenet.h" +#include "core/libraries/error_codes.h" +#include "core/libraries/libs.h" +#include "core/libraries/network/net.h" namespace Libraries::Net { @@ -1353,4 +1353,4 @@ void RegisterlibSceNet(Core::Loader::SymbolsResolver* sym) { LIB_FUNCTION("pfn3Fha1ydc", "libSceNetDebug", 1, "libSceNet", 1, 1, sceNetEmulationSet); }; -} // namespace Libraries::Net \ No newline at end of file +} // namespace Libraries::Net diff --git a/src/core/libraries/libscenet.h b/src/core/libraries/network/net.h similarity index 98% rename from src/core/libraries/libscenet.h rename to src/core/libraries/network/net.h index 626cd345..e4244f45 100644 --- a/src/core/libraries/libscenet.h +++ b/src/core/libraries/network/net.h @@ -3,7 +3,11 @@ #pragma once -#include "library_common.h" +#include "common/types.h" + +namespace Core::Loader { +class SymbolsResolver; +} namespace Libraries::Net { @@ -228,4 +232,4 @@ int PS4_SYSV_ABI sceNetEmulationGet(); int PS4_SYSV_ABI sceNetEmulationSet(); void RegisterlibSceNet(Core::Loader::SymbolsResolver* sym); -} // namespace Libraries::Net \ No newline at end of file +} // namespace Libraries::Net diff --git a/src/core/libraries/libscenetctl.cpp b/src/core/libraries/network/netctl.cpp similarity index 99% rename from src/core/libraries/libscenetctl.cpp rename to src/core/libraries/network/netctl.cpp index c8ae1fad..ab1cb8ae 100644 --- a/src/core/libraries/libscenetctl.cpp +++ b/src/core/libraries/network/netctl.cpp @@ -1,10 +1,10 @@ // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -// Generated By moduleGenerator #include "common/logging/log.h" -#include "error_codes.h" -#include "libscenetctl.h" +#include "core/libraries/error_codes.h" +#include "core/libraries/libs.h" +#include "core/libraries/network/netctl.h" namespace Libraries::NetCtl { @@ -633,4 +633,4 @@ void RegisterlibSceNetCtl(Core::Loader::SymbolsResolver* sym) { sceNetCtlApRpUnregisterCallback); }; -} // namespace Libraries::NetCtl \ No newline at end of file +} // namespace Libraries::NetCtl diff --git a/src/core/libraries/libscenetctl.h b/src/core/libraries/network/netctl.h similarity index 97% rename from src/core/libraries/libscenetctl.h rename to src/core/libraries/network/netctl.h index 2edc6058..0d6adf9c 100644 --- a/src/core/libraries/libscenetctl.h +++ b/src/core/libraries/network/netctl.h @@ -3,7 +3,11 @@ #pragma once -#include "library_common.h" +#include "common/types.h" + +namespace Core::Loader { +class SymbolsResolver; +} namespace Libraries::NetCtl { @@ -102,4 +106,4 @@ int PS4_SYSV_ABI sceNetCtlApRpStop(); int PS4_SYSV_ABI sceNetCtlApRpUnregisterCallback(); void RegisterlibSceNetCtl(Core::Loader::SymbolsResolver* sym); -} // namespace Libraries::NetCtl \ No newline at end of file +} // namespace Libraries::NetCtl diff --git a/src/core/libraries/libscessl.cpp b/src/core/libraries/network/ssl.cpp similarity index 99% rename from src/core/libraries/libscessl.cpp rename to src/core/libraries/network/ssl.cpp index 650448dc..a5ac8f5e 100644 --- a/src/core/libraries/libscessl.cpp +++ b/src/core/libraries/network/ssl.cpp @@ -1,10 +1,10 @@ // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -// Generated By moduleGenerator #include "common/logging/log.h" -#include "error_codes.h" -#include "libscessl.h" +#include "core/libraries/error_codes.h" +#include "core/libraries/libs.h" +#include "core/libraries/network/ssl.h" namespace Libraries::Ssl { @@ -1283,4 +1283,4 @@ void RegisterlibSceSsl(Core::Loader::SymbolsResolver* sym) { LIB_FUNCTION("KPh5GncdOcc", "libSceSsl", 1, "libSceSsl", 1, 1, Func_28F8791A771D39C7); }; -} // namespace Libraries::Ssl \ No newline at end of file +} // namespace Libraries::Ssl diff --git a/src/core/libraries/libscessl.h b/src/core/libraries/network/ssl.h similarity index 98% rename from src/core/libraries/libscessl.h rename to src/core/libraries/network/ssl.h index 8a4d0915..fcdcdd16 100644 --- a/src/core/libraries/libscessl.h +++ b/src/core/libraries/network/ssl.h @@ -3,7 +3,11 @@ #pragma once -#include "library_common.h" +#include "common/types.h" + +namespace Core::Loader { +class SymbolsResolver; +} namespace Libraries::Ssl { @@ -217,4 +221,4 @@ int PS4_SYSV_ABI Func_22E76E60BC0587D7(); int PS4_SYSV_ABI Func_28F8791A771D39C7(); void RegisterlibSceSsl(Core::Loader::SymbolsResolver* sym); -} // namespace Libraries::Ssl \ No newline at end of file +} // namespace Libraries::Ssl diff --git a/src/core/hle/libraries/libpad/pad.cpp b/src/core/libraries/pad/pad.cpp similarity index 89% rename from src/core/hle/libraries/libpad/pad.cpp rename to src/core/libraries/pad/pad.cpp index 47134473..e2f73afe 100644 --- a/src/core/hle/libraries/libpad/pad.cpp +++ b/src/core/libraries/pad/pad.cpp @@ -1,14 +1,14 @@ // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -#include "Emulator/Host/controller.h" #include "common/logging/log.h" #include "common/singleton.h" -#include "core/hle/error_codes.h" -#include "core/hle/libraries/libpad/pad.h" -#include "core/hle/libraries/libs.h" +#include "core/libraries/error_codes.h" +#include "core/libraries/libs.h" +#include "core/libraries/pad/pad.h" +#include "input/controller.h" -namespace OldLibraries::LibPad { +namespace Libraries::LibPad { int PS4_SYSV_ABI scePadInit() { LOG_WARNING(Lib_Pad, "(DUMMY) called"); @@ -22,11 +22,11 @@ int PS4_SYSV_ABI scePadOpen(Libraries::UserService::OrbisUserServiceUserId user_ } int PS4_SYSV_ABI scePadReadState(int32_t handle, ScePadData* pData) { - auto* controller = Common::Singleton::Instance(); + auto* controller = Common::Singleton::Instance(); int connectedCount = 0; bool isConnected = false; - Emulator::Host::Controller::State state; + Input::State state; controller->readState(&state, &isConnected, &connectedCount); pData->buttons = state.buttonsState; @@ -51,8 +51,8 @@ int PS4_SYSV_ABI scePadReadState(int32_t handle, ScePadData* pData) { int PS4_SYSV_ABI scePadRead(int handle, ScePadData* pData, int num) { int connected_count = 0; bool connected = false; - Emulator::Host::Controller::State states[64]; - auto* controller = Common::Singleton::Instance(); + Input::State states[64]; + auto* controller = Common::Singleton::Instance(); int ret_num = controller->ReadStates(states, num, &connected, &connected_count); if (!connected) { @@ -123,4 +123,4 @@ void padSymbolsRegister(Core::Loader::SymbolsResolver* sym) { LIB_FUNCTION("clVvL4ZDntw", "libScePad", 1, "libScePad", 1, 1, scePadSetMotionSensorState); } -} // namespace OldLibraries::LibPad +} // namespace Libraries::LibPad diff --git a/src/core/hle/libraries/libpad/pad.h b/src/core/libraries/pad/pad.h similarity index 83% rename from src/core/hle/libraries/libpad/pad.h rename to src/core/libraries/pad/pad.h index f2f5d663..7895da7e 100644 --- a/src/core/hle/libraries/libpad/pad.h +++ b/src/core/libraries/pad/pad.h @@ -4,23 +4,23 @@ #pragma once #include "common/types.h" -#include "src/core/libraries/libsceuserservice.h" +#include "src/core/libraries/system/userservice.h" namespace Core::Loader { class SymbolsResolver; } -namespace OldLibraries::LibPad { +namespace Libraries::LibPad { -#define ORBIS_PAD_PORT_TYPE_STANDARD 0 -#define ORBIS_PAD_PORT_TYPE_SPECIAL 2 +constexpr s8 ORBIS_PAD_PORT_TYPE_STANDARD = 0; +constexpr s8 ORBIS_PAD_PORT_TYPE_SPECIAL = 2; -#define ORBIS_PAD_DEVICE_CLASS_PAD 0 -#define ORBIS_PAD_DEVICE_CLASS_GUITAR 1 -#define ORBIS_PAD_DEVICE_CLASS_DRUMS 2 +constexpr s8 ORBIS_PAD_DEVICE_CLASS_PAD = 0; +constexpr s8 ORBIS_PAD_DEVICE_CLASS_GUITAR = 1; +constexpr s8 ORBIS_PAD_DEVICE_CLASS_DRUMS = 2; -#define ORBIS_PAD_CONNECTION_TYPE_STANDARD 0 -#define ORBIS_PAD_CONNECTION_TYPE_REMOTE 2 +constexpr s8 ORBIS_PAD_CONNECTION_TYPE_STANDARD = 0; +constexpr s8 ORBIS_PAD_CONNECTION_TYPE_REMOTE = 2; enum ScePadButton : u32 { L3 = 0x00000002, @@ -125,4 +125,4 @@ int PS4_SYSV_ABI scePadReadState(int32_t handle, ScePadData* pData); void padSymbolsRegister(Core::Loader::SymbolsResolver* sym); -}; // namespace OldLibraries::LibPad +}; // namespace Libraries::LibPad diff --git a/src/core/libraries/libscecommondialog.cpp b/src/core/libraries/system/commondialog.cpp similarity index 97% rename from src/core/libraries/libscecommondialog.cpp rename to src/core/libraries/system/commondialog.cpp index 2d1ea97a..e32e3bb3 100644 --- a/src/core/libraries/libscecommondialog.cpp +++ b/src/core/libraries/system/commondialog.cpp @@ -1,10 +1,10 @@ // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -// Generated By moduleGenerator #include "common/logging/log.h" -#include "error_codes.h" -#include "libscecommondialog.h" +#include "core/libraries/error_codes.h" +#include "core/libraries/libs.h" +#include "core/libraries/system/commondialog.h" namespace Libraries::CommonDialog { @@ -207,4 +207,4 @@ void RegisterlibSceCommonDialog(Core::Loader::SymbolsResolver* sym) { Func_F2AEE270605622B0); }; -} // namespace Libraries::CommonDialog \ No newline at end of file +} // namespace Libraries::CommonDialog diff --git a/src/core/libraries/libscecommondialog.h b/src/core/libraries/system/commondialog.h similarity index 94% rename from src/core/libraries/libscecommondialog.h rename to src/core/libraries/system/commondialog.h index 1f5edb4e..110e9cc9 100644 --- a/src/core/libraries/libscecommondialog.h +++ b/src/core/libraries/system/commondialog.h @@ -3,7 +3,11 @@ #pragma once -#include "library_common.h" +#include "common/types.h" + +namespace Core::Loader { +class SymbolsResolver; +} namespace Libraries::CommonDialog { @@ -43,4 +47,4 @@ int PS4_SYSV_ABI Func_CB18E00EFA946C64(); int PS4_SYSV_ABI Func_F2AEE270605622B0(); void RegisterlibSceCommonDialog(Core::Loader::SymbolsResolver* sym); -} // namespace Libraries::CommonDialog \ No newline at end of file +} // namespace Libraries::CommonDialog diff --git a/src/core/libraries/libscemsgdialog.cpp b/src/core/libraries/system/msgdialog.cpp similarity index 94% rename from src/core/libraries/libscemsgdialog.cpp rename to src/core/libraries/system/msgdialog.cpp index 0a223f0e..1c8653f5 100644 --- a/src/core/libraries/libscemsgdialog.cpp +++ b/src/core/libraries/system/msgdialog.cpp @@ -1,10 +1,10 @@ // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -// Generated By moduleGenerator #include "common/logging/log.h" -#include "error_codes.h" -#include "libscemsgdialog.h" +#include "core/libraries/error_codes.h" +#include "core/libraries/libs.h" +#include "core/libraries/system/msgdialog.h" namespace Libraries::MsgDialog { @@ -82,4 +82,4 @@ void RegisterlibSceMsgDialog(Core::Loader::SymbolsResolver* sym) { sceMsgDialogUpdateStatus); }; -} // namespace Libraries::MsgDialog \ No newline at end of file +} // namespace Libraries::MsgDialog diff --git a/src/core/libraries/libscemsgdialog.h b/src/core/libraries/system/msgdialog.h similarity index 94% rename from src/core/libraries/libscemsgdialog.h rename to src/core/libraries/system/msgdialog.h index e51f1a15..76a7d3f0 100644 --- a/src/core/libraries/libscemsgdialog.h +++ b/src/core/libraries/system/msgdialog.h @@ -3,8 +3,12 @@ #pragma once -#include "library_common.h" -#include "libscecommondialog.h" +#include "common/types.h" +#include "core/libraries/system/commondialog.h" + +namespace Core::Loader { +class SymbolsResolver; +} namespace Libraries::MsgDialog { @@ -92,4 +96,4 @@ int PS4_SYSV_ABI sceMsgDialogTerminate(); int PS4_SYSV_ABI sceMsgDialogUpdateStatus(); void RegisterlibSceMsgDialog(Core::Loader::SymbolsResolver* sym); -} // namespace Libraries::MsgDialog \ No newline at end of file +} // namespace Libraries::MsgDialog diff --git a/src/core/libraries/libsceposix.cpp b/src/core/libraries/system/posix.cpp similarity index 59% rename from src/core/libraries/libsceposix.cpp rename to src/core/libraries/system/posix.cpp index 6d7ce5df..524c74b9 100644 --- a/src/core/libraries/libsceposix.cpp +++ b/src/core/libraries/system/posix.cpp @@ -1,13 +1,10 @@ // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -// Generated By moduleGenerator -#include "common/logging/log.h" -#include "error_codes.h" -#include "libsceposix.h" +#include "core/libraries/system/posix.h" namespace Libraries::Posix { void Registerlibsceposix(Core::Loader::SymbolsResolver* sym) {} -} // namespace Libraries::Posix \ No newline at end of file +} // namespace Libraries::Posix diff --git a/src/core/libraries/libsceposix.h b/src/core/libraries/system/posix.h similarity index 83% rename from src/core/libraries/libsceposix.h rename to src/core/libraries/system/posix.h index 4895ebde..881718d7 100644 --- a/src/core/libraries/libsceposix.h +++ b/src/core/libraries/system/posix.h @@ -3,7 +3,9 @@ #pragma once -#include "library_common.h" +namespace Core::Loader { +class SymbolsResolver; +} namespace Libraries::Posix { void Registerlibsceposix(Core::Loader::SymbolsResolver* sym); diff --git a/src/core/libraries/libscesavedata.cpp b/src/core/libraries/system/savedata.cpp similarity index 99% rename from src/core/libraries/libscesavedata.cpp rename to src/core/libraries/system/savedata.cpp index 89dd1e7d..c7437cec 100644 --- a/src/core/libraries/libscesavedata.cpp +++ b/src/core/libraries/system/savedata.cpp @@ -1,11 +1,11 @@ // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -// Generated By moduleGenerator -#include +#include "common/assert.h" #include "common/logging/log.h" -#include "error_codes.h" -#include "libscesavedata.h" +#include "core/libraries/error_codes.h" +#include "core/libraries/libs.h" +#include "core/libraries/system/savedata.h" namespace Libraries::SaveData { @@ -657,4 +657,4 @@ void RegisterlibSceSaveData(Core::Loader::SymbolsResolver* sym) { LIB_FUNCTION("AuTE0gFxZCI", "libSceSaveData", 1, "libSceSaveData", 1, 1, Func_02E4C4D201716422); }; -} // namespace Libraries::SaveData \ No newline at end of file +} // namespace Libraries::SaveData diff --git a/src/core/libraries/libscesavedata.h b/src/core/libraries/system/savedata.h similarity index 98% rename from src/core/libraries/libscesavedata.h rename to src/core/libraries/system/savedata.h index a15e4f84..6dfd8820 100644 --- a/src/core/libraries/libscesavedata.h +++ b/src/core/libraries/system/savedata.h @@ -3,7 +3,11 @@ #pragma once -#include "library_common.h" +#include "common/types.h" + +namespace Core::Loader { +class SymbolsResolver; +} namespace Libraries::SaveData { @@ -136,4 +140,4 @@ int PS4_SYSV_ABI sceSaveDataUpload(); int PS4_SYSV_ABI Func_02E4C4D201716422(); void RegisterlibSceSaveData(Core::Loader::SymbolsResolver* sym); -} // namespace Libraries::SaveData \ No newline at end of file +} // namespace Libraries::SaveData diff --git a/src/core/libraries/libscesavedatadialog.cpp b/src/core/libraries/system/savedatadialog.cpp similarity index 94% rename from src/core/libraries/libscesavedatadialog.cpp rename to src/core/libraries/system/savedatadialog.cpp index 8d53e73e..3cdd75ba 100644 --- a/src/core/libraries/libscesavedatadialog.cpp +++ b/src/core/libraries/system/savedatadialog.cpp @@ -1,10 +1,10 @@ // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -// Generated By moduleGenerator #include "common/logging/log.h" -#include "error_codes.h" -#include "libscesavedatadialog.h" +#include "core/libraries/error_codes.h" +#include "core/libraries/libs.h" +#include "core/libraries/system/savedatadialog.h" namespace Libraries::SaveDataDialog { @@ -81,4 +81,4 @@ void RegisterlibSceSaveDataDialog(Core::Loader::SymbolsResolver* sym) { sceSaveDataDialogUpdateStatus); }; -} // namespace Libraries::SaveDataDialog \ No newline at end of file +} // namespace Libraries::SaveDataDialog diff --git a/src/core/libraries/libscesavedatadialog.h b/src/core/libraries/system/savedatadialog.h similarity index 86% rename from src/core/libraries/libscesavedatadialog.h rename to src/core/libraries/system/savedatadialog.h index f13978b8..e8fe7c75 100644 --- a/src/core/libraries/libscesavedatadialog.h +++ b/src/core/libraries/system/savedatadialog.h @@ -3,7 +3,11 @@ #pragma once -#include "library_common.h" +#include "common/types.h" + +namespace Core::Loader { +class SymbolsResolver; +} namespace Libraries::SaveDataDialog { @@ -19,4 +23,4 @@ int PS4_SYSV_ABI sceSaveDataDialogTerminate(); int PS4_SYSV_ABI sceSaveDataDialogUpdateStatus(); void RegisterlibSceSaveDataDialog(Core::Loader::SymbolsResolver* sym); -} // namespace Libraries::SaveDataDialog \ No newline at end of file +} // namespace Libraries::SaveDataDialog diff --git a/src/core/libraries/libscesysmodule.cpp b/src/core/libraries/system/sysmodule.cpp similarity index 96% rename from src/core/libraries/libscesysmodule.cpp rename to src/core/libraries/system/sysmodule.cpp index 43ff4416..596efc0a 100644 --- a/src/core/libraries/libscesysmodule.cpp +++ b/src/core/libraries/system/sysmodule.cpp @@ -1,13 +1,14 @@ // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -// Generated By moduleGenerator #define MAGIC_ENUM_RANGE_MIN 0 #define MAGIC_ENUM_RANGE_MAX 300 #include + #include "common/logging/log.h" -#include "error_codes.h" -#include "libscesysmodule.h" +#include "core/libraries/error_codes.h" +#include "core/libraries/libs.h" +#include "core/libraries/system/sysmodule.h" namespace Libraries::SysModule { @@ -127,4 +128,4 @@ void RegisterlibSceSysmodule(Core::Loader::SymbolsResolver* sym) { sceSysmoduleUnloadModuleInternalWithArg); }; -} // namespace Libraries::SysModule \ No newline at end of file +} // namespace Libraries::SysModule diff --git a/src/core/libraries/libscesysmodule.h b/src/core/libraries/system/sysmodule.h similarity index 98% rename from src/core/libraries/libscesysmodule.h rename to src/core/libraries/system/sysmodule.h index 7f58fe7b..d7a0c31b 100644 --- a/src/core/libraries/libscesysmodule.h +++ b/src/core/libraries/system/sysmodule.h @@ -3,7 +3,11 @@ #pragma once -#include "library_common.h" +#include "common/types.h" + +namespace Core::Loader { +class SymbolsResolver; +} namespace Libraries::SysModule { @@ -161,4 +165,4 @@ int PS4_SYSV_ABI sceSysmoduleUnloadModuleInternal(); int PS4_SYSV_ABI sceSysmoduleUnloadModuleInternalWithArg(); void RegisterlibSceSysmodule(Core::Loader::SymbolsResolver* sym); -} // namespace Libraries::SysModule \ No newline at end of file +} // namespace Libraries::SysModule diff --git a/src/core/libraries/libscesystemservice.cpp b/src/core/libraries/system/systemservice.cpp similarity index 99% rename from src/core/libraries/libscesystemservice.cpp rename to src/core/libraries/system/systemservice.cpp index 67490951..e53b1dd3 100644 --- a/src/core/libraries/libscesystemservice.cpp +++ b/src/core/libraries/system/systemservice.cpp @@ -1,10 +1,10 @@ // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -// Generated By moduleGenerator #include "common/logging/log.h" -#include "error_codes.h" -#include "libscesystemservice.h" +#include "core/libraries/error_codes.h" +#include "core/libraries/libs.h" +#include "core/libraries/system/systemservice.h" namespace Libraries::SystemService { @@ -3358,4 +3358,4 @@ void RegisterlibSceSystemService(Core::Loader::SymbolsResolver* sym) { "libSceSystemService", 1, 1, Func_CB5E885E225F69F0); }; -} // namespace Libraries::SystemService \ No newline at end of file +} // namespace Libraries::SystemService diff --git a/src/core/libraries/libscesystemservice.h b/src/core/libraries/system/systemservice.h similarity index 99% rename from src/core/libraries/libscesystemservice.h rename to src/core/libraries/system/systemservice.h index 13b4fd18..7ca5510f 100644 --- a/src/core/libraries/libscesystemservice.h +++ b/src/core/libraries/system/systemservice.h @@ -4,7 +4,11 @@ // https://github.com/OpenOrbis/OpenOrbis-PS4-Toolchain/blob/master/include/orbis/_types/sys_service.h #pragma once -#include "library_common.h" +#include "common/types.h" + +namespace Core::Loader { +class SymbolsResolver; +} namespace Libraries::SystemService { @@ -570,4 +574,4 @@ int PS4_SYSV_ABI Func_6B1CDB955F0EBD65(); int PS4_SYSV_ABI Func_CB5E885E225F69F0(); void RegisterlibSceSystemService(Core::Loader::SymbolsResolver* sym); -} // namespace Libraries::SystemService \ No newline at end of file +} // namespace Libraries::SystemService diff --git a/src/core/libraries/libsceuserservice.cpp b/src/core/libraries/system/userservice.cpp similarity index 99% rename from src/core/libraries/libsceuserservice.cpp rename to src/core/libraries/system/userservice.cpp index f3966756..e385e425 100644 --- a/src/core/libraries/libsceuserservice.cpp +++ b/src/core/libraries/system/userservice.cpp @@ -1,10 +1,10 @@ // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -// Generated By moduleGenerator #include "common/logging/log.h" -#include "error_codes.h" -#include "libsceuserservice.h" +#include "core/libraries/error_codes.h" +#include "core/libraries/libs.h" +#include "core/libraries/system/userservice.h" namespace Libraries::UserService { @@ -3010,4 +3010,4 @@ void RegisterlibSceUserService(Core::Loader::SymbolsResolver* sym) { 1, sceUserServiceGetRegisteredUserIdList); }; -} // namespace Libraries::UserService \ No newline at end of file +} // namespace Libraries::UserService diff --git a/src/core/libraries/libsceuserservice.h b/src/core/libraries/system/userservice.h similarity index 99% rename from src/core/libraries/libsceuserservice.h rename to src/core/libraries/system/userservice.h index 016b6b28..5abadf96 100644 --- a/src/core/libraries/libsceuserservice.h +++ b/src/core/libraries/system/userservice.h @@ -4,7 +4,11 @@ // https://github.com/OpenOrbis/OpenOrbis-PS4-Toolchain/blob/master/include/orbis/_types/user.h #pragma once -#include "library_common.h" +#include "common/types.h" + +namespace Core::Loader { +class SymbolsResolver; +} namespace Libraries::UserService { @@ -478,4 +482,4 @@ int PS4_SYSV_ABI Func_BB9491DFE6B4953C(); int PS4_SYSV_ABI Func_D2B814603E7B4477(); void RegisterlibSceUserService(Core::Loader::SymbolsResolver* sym); -} // namespace Libraries::UserService \ No newline at end of file +} // namespace Libraries::UserService diff --git a/src/core/linker.cpp b/src/core/linker.cpp index 5bbf0a6c..0c068cd9 100644 --- a/src/core/linker.cpp +++ b/src/core/linker.cpp @@ -9,7 +9,7 @@ #include "common/string_util.h" #include "core/aerolib/aerolib.h" #include "core/aerolib/stubs.h" -#include "core/hle/libraries/libkernel/thread_management.h" +#include "core/libraries/kernel/thread_management.h" #include "core/linker.h" #include "core/tls.h" #include "core/virtual_memory.h" @@ -662,7 +662,7 @@ static void RunMainEntry(u64 addr, EntryParams* params, exit_func_t exit_func) { // there's no coming back : : "r"(addr), "r"(params), "r"(exit_func) - : "rax", "rsi", "rdi", "rsp", "rbp"); + : "rax", "rsi", "rdi", "rsp"); } void Linker::Execute() { @@ -670,8 +670,8 @@ void Linker::Execute() { DebugDump(); } - Core::Libraries::LibKernel::pthreadInitSelfMainThread(); - // relocate all modules + Libraries::Kernel::pthreadInitSelfMainThread(); + // Relocate all modules for (const auto& m : m_modules) { Relocate(m.get()); } diff --git a/src/emulator.cpp b/src/emulator.cpp index a4e37976..70c42d15 100644 --- a/src/emulator.cpp +++ b/src/emulator.cpp @@ -2,14 +2,14 @@ // SPDX-License-Identifier: GPL-2.0-or-later #include -#include -#include "Emulator/Host/controller.h" #include "common/singleton.h" #include "common/version.h" #include "core/PS4/HLE/Graphics/graphics_render.h" #include "core/PS4/HLE/Graphics/video_out.h" -#include "core/hle/libraries/libpad/pad.h" +#include "core/libraries/pad/pad.h" #include "emulator.h" +#include "input/controller.h" +#include "vulkan_util.h" namespace Emu { @@ -308,7 +308,7 @@ void DrawBuffer(HLE::Libs::Graphics::VideoOutVulkanImage* image) { } void keyboardEvent(SDL_Event* event) { - using OldLibraries::LibPad::ScePadButton; + using Libraries::LibPad::ScePadButton; if (event->type == SDL_EVENT_KEY_DOWN || event->type == SDL_EVENT_KEY_UP) { u32 button = 0; @@ -344,8 +344,7 @@ void keyboardEvent(SDL_Event* event) { break; } if (button != 0) { - auto* controller = - Common::Singleton::Instance(); + auto* controller = Common::Singleton::Instance(); controller->checKButton(0, button, event->type == SDL_EVENT_KEY_DOWN); } } diff --git a/src/Emulator/Host/controller.cpp b/src/input/controller.cpp similarity index 89% rename from src/Emulator/Host/controller.cpp rename to src/input/controller.cpp index 302e7eac..c7bfe132 100644 --- a/src/Emulator/Host/controller.cpp +++ b/src/input/controller.cpp @@ -1,10 +1,10 @@ // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -#include "Emulator/Host/controller.h" -#include "core/hle/libraries/libkernel/time_management.h" +#include "core/libraries/kernel/time_management.h" +#include "input/controller.h" -namespace Emulator::Host::Controller { +namespace Input { GameController::GameController() { m_states_num = 0; @@ -77,7 +77,7 @@ void GameController::addState(const State& state) { void GameController::checKButton(int id, u32 button, bool isPressed) { std::scoped_lock lock{m_mutex}; auto state = getLastState(); - state.time = Core::Libraries::LibKernel::sceKernelGetProcessTime(); + state.time = Libraries::Kernel::sceKernelGetProcessTime(); if (isPressed) { state.buttonsState |= button; } else { @@ -87,4 +87,4 @@ void GameController::checKButton(int id, u32 button, bool isPressed) { addState(state); } -} // namespace Emulator::Host::Controller +} // namespace Input diff --git a/src/Emulator/Host/controller.h b/src/input/controller.h similarity index 85% rename from src/Emulator/Host/controller.h rename to src/input/controller.h index 8d8236c5..6f8c2759 100644 --- a/src/Emulator/Host/controller.h +++ b/src/input/controller.h @@ -6,7 +6,8 @@ #include #include "common/types.h" -namespace Emulator::Host::Controller { +namespace Input { + struct State { u32 buttonsState = 0; u64 time = 0; @@ -36,8 +37,8 @@ private: int m_connected_count = 0; u32 m_states_num = 0; u32 m_first_state = 0; - State m_states[MAX_STATES]; - StateInternal m_private[MAX_STATES]; + std::array m_states; + std::array m_private; }; -} // namespace Emulator::Host::Controller +} // namespace Input diff --git a/src/main.cpp b/src/main.cpp index 92058541..c9b37fa3 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,26 +1,22 @@ // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later +#include #include #include #include -#include -#include -#include - -#include -#include -#include #include "common/config.h" #include "common/discord.h" #include "common/logging/backend.h" +#include "common/logging/log.h" #include "common/path_util.h" #include "common/singleton.h" -#include "common/types.h" #include "core/PS4/HLE/Graphics/video_out.h" #include "core/file_sys/fs.h" -#include "core/hle/libraries/libs.h" +#include "core/libraries/kernel/thread_management.h" +#include "core/libraries/libc/libc.h" +#include "core/libraries/libs.h" #include "core/linker.h" #include "core/tls.h" #include "emulator.h" @@ -34,7 +30,7 @@ int main(int argc, char* argv[]) { Config::load(config_dir / "config.toml"); Common::Log::Initialize(); Common::Log::Start(); - Core::Libraries::LibKernel::init_pthreads(); + Libraries::Kernel::init_pthreads(); auto width = Config::getScreenWidth(); auto height = Config::getScreenHeight(); Emu::emuInit(width, height); @@ -48,7 +44,7 @@ int main(int argc, char* argv[]) { mnt->Mount(p.parent_path(), "/app0"); auto linker = Common::Singleton::Instance(); - OldLibraries::InitHLELibs(&linker->getHLESymbols()); + Libraries::InitHLELibs(&linker->getHLESymbols()); Core::InstallTlsHandler(); linker->LoadModule(path); // check if there is a libc.prx in sce_module folder