Move rpcs3/Emu/Cell/lv2 to kernel/cellos

This commit is contained in:
DH 2025-10-04 16:46:36 +03:00
parent fce4127c2e
commit dbfa5002e5
282 changed files with 40062 additions and 41342 deletions

View file

@ -3,7 +3,7 @@
#include "stdafx.h"
#include "util/Thread.h"
#include "Emu/Cell/lv2/sys_spu.h"
#include "cellos/sys_spu.h"
#include <thread>

View file

@ -1,8 +1,8 @@
#include "stdafx.h"
#include "Emu/perf_meter.hpp"
#include "Emu/Cell/PPUModule.h"
#include "Emu/Cell/lv2/sys_sync.h"
#include "Emu/Cell/lv2/sys_ppu_thread.h"
#include "cellos/sys_sync.h"
#include "cellos/sys_ppu_thread.h"
#include "Emu/savestate_utils.hpp"
#include "sysPrxForUser.h"

View file

@ -1,8 +1,8 @@
#include "stdafx.h"
#include "Emu/perf_meter.hpp"
#include "Emu/Cell/PPUModule.h"
#include "Emu/Cell/lv2/sys_sync.h"
#include "Emu/Cell/lv2/sys_ppu_thread.h"
#include "cellos/sys_sync.h"
#include "cellos/sys_ppu_thread.h"
#include "Emu/savestate_utils.hpp"
#include "sysPrxForUser.h"
#include "util/asm.hpp"

View file

@ -4,8 +4,8 @@
#include "Emu/Audio/audio_utils.h"
#include "Emu/Cell/PPUModule.h"
#include "Emu/Cell/timers.hpp"
#include "Emu/Cell/lv2/sys_process.h"
#include "Emu/Cell/lv2/sys_event.h"
#include "cellos/sys_process.h"
#include "cellos/sys_event.h"
#include "cellAudio.h"
#include "util/video_provider.h"

View file

@ -1,6 +1,6 @@
#include "stdafx.h"
#include "Emu/Cell/PPUModule.h"
#include "Emu/Cell/lv2/sys_rsxaudio.h"
#include "cellos/sys_rsxaudio.h"
#include "Emu/IdManager.h"
#include "Emu/System.h"
#include "Emu/system_config.h"

View file

@ -4,7 +4,7 @@
#include "Emu/System.h"
#include "Emu/system_config.h"
#include "Emu/Cell/PPUModule.h"
#include "Emu/Cell/lv2/sys_event.h"
#include "cellos/sys_event.h"
#include "Emu/IdManager.h"
#include "Emu/Cell/timers.hpp"

View file

@ -2,7 +2,7 @@
#include "Emu/System.h"
#include "Emu/IdManager.h"
#include "Emu/Cell/PPUModule.h"
#include "Emu/Cell/lv2/sys_sync.h"
#include "cellos/sys_sync.h"
#include "cellPamf.h"
#include "cellDmux.h"

View file

@ -3,8 +3,8 @@
#include "Emu/IdManager.h"
#include "Emu/Cell/PPUModule.h"
#include "Emu/Cell/lv2/sys_fs.h"
#include "Emu/Cell/lv2/sys_sync.h"
#include "cellos/sys_fs.h"
#include "cellos/sys_sync.h"
#include "cellFs.h"
#include <mutex>

View file

@ -2,8 +2,8 @@
#include "Emu/Cell/ErrorCodes.h"
#include "Emu/Cell/PPUModule.h"
#include "Emu/Cell/lv2/sys_fs.h"
#include "Emu/Cell/lv2/sys_sync.h"
#include "cellos/sys_fs.h"
#include "cellos/sys_sync.h"
#include "Emu/Cell/timers.hpp"
#include "Emu/IdManager.h"
#include "Emu/System.h"

View file

@ -3,8 +3,8 @@
#include "Emu/Cell/PPUModule.h"
#include "Emu/Memory/vm.h"
#include "Emu/Cell/lv2/sys_ppu_thread.h"
#include "Emu/Cell/lv2/sys_rsx.h"
#include "cellos/sys_ppu_thread.h"
#include "cellos/sys_rsx.h"
#include "Emu/RSX/RSXThread.h"
#include "cellGcmSys.h"

View file

@ -2,8 +2,8 @@
#include "cellGem.h"
#include "cellCamera.h"
#include "Emu/Cell/lv2/sys_event.h"
#include "Emu/Cell/lv2/sys_memory.h"
#include "cellos/sys_event.h"
#include "cellos/sys_memory.h"
#include "Emu/Cell/PPUModule.h"
#include "Emu/Cell/timers.hpp"
#include "Emu/Io/MouseHandler.h"

View file

@ -6,7 +6,7 @@
// STB_IMAGE_IMPLEMENTATION is already defined in stb_image.cpp
#include <stb_image.h>
#include "Emu/Cell/lv2/sys_fs.h"
#include "cellos/sys_fs.h"
#include "cellGifDec.h"
LOG_CHANNEL(cellGifDec);

View file

@ -1,6 +1,6 @@
#include "stdafx.h"
#include "Emu/Cell/PPUModule.h"
#include "Emu/Cell/lv2/sys_process.h"
#include "cellos/sys_process.h"
#include "Emu/IdManager.h"
#include "cellImeJp.h"

View file

@ -6,7 +6,7 @@
// STB_IMAGE_IMPLEMENTATION is already defined in stb_image.cpp
#include <stb_image.h>
#include "Emu/Cell/lv2/sys_fs.h"
#include "cellos/sys_fs.h"
#include "cellJpgDec.h"
LOG_CHANNEL(cellJpgDec);

View file

@ -4,7 +4,7 @@
#include "util/StrUtil.h"
#include "cellMic.h"
#include <Emu/Cell/lv2/sys_event.h>
#include <cellos/sys_event.h>
#include <Emu/IdManager.h>
#include <cmath>

View file

@ -2,7 +2,7 @@
#include "Emu/System.h"
#include "Emu/Cell/PPUModule.h"
#include "Emu/Cell/PPUThread.h"
#include "Emu/Cell/lv2/sys_sync.h"
#include "cellos/sys_sync.h"
#include "Emu/Cell/timers.hpp"
#include "Emu/Io/interception.h"

View file

@ -1,8 +1,8 @@
#include "stdafx.h"
#include "Emu/Cell/PPUModule.h"
#include "Emu/Cell/lv2/sys_lwmutex.h"
#include "Emu/Cell/lv2/sys_lwcond.h"
#include "Emu/Cell/lv2/sys_spu.h"
#include "cellos/sys_lwmutex.h"
#include "cellos/sys_lwcond.h"
#include "cellos/sys_spu.h"
#include "Emu/Io/music_handler_base.h"
#include "Emu/System.h"
#include "Emu/VFS.h"

View file

@ -1,8 +1,8 @@
#include "stdafx.h"
#include "Emu/Cell/PPUModule.h"
#include "Emu/Cell/lv2/sys_lwmutex.h"
#include "Emu/Cell/lv2/sys_lwcond.h"
#include "Emu/Cell/lv2/sys_spu.h"
#include "cellos/sys_lwmutex.h"
#include "cellos/sys_lwcond.h"
#include "cellos/sys_spu.h"
#include "Emu/RSX/Overlays/overlay_media_list_dialog.h"
#include "Emu/VFS.h"
#include "cellMusicDecode.h"

View file

@ -1,6 +1,6 @@
#include "stdafx.h"
#include "Emu/Cell/PPUModule.h"
#include "Emu/Cell/lv2/sys_spu.h"
#include "cellos/sys_spu.h"
LOG_CHANNEL(cellOvis);

View file

@ -2,7 +2,7 @@
#include "Emu/IdManager.h"
#include "Emu/system_config.h"
#include "Emu/Cell/PPUModule.h"
#include "Emu/Cell/lv2/sys_process.h"
#include "cellos/sys_process.h"
#include "Emu/Io/pad_types.h"
#include "Emu/RSX/Overlays/overlay_debug_overlay.h"
#include "Input/pad_thread.h"

View file

@ -1,5 +1,5 @@
#include "Emu/Cell/PPUModule.h"
#include "Emu/Cell/lv2/sys_fs.h"
#include "cellos/sys_fs.h"
#include "Emu/IdManager.h"
#include "Emu/RSX/Overlays/overlay_media_list_dialog.h"
#include "Emu/System.h"

View file

@ -2,7 +2,7 @@
#include "Emu/VFS.h"
#include "Emu/IdManager.h"
#include "Emu/Cell/PPUModule.h"
#include "Emu/Cell/lv2/sys_fs.h"
#include "cellos/sys_fs.h"
#include "png.h"
#include "cellPng.h"
#include "cellPngDec.h"

View file

@ -1,5 +1,5 @@
#include "stdafx.h"
#include "Emu/Cell/lv2/sys_memory.h"
#include "cellos/sys_memory.h"
#include "Emu/Cell/timers.hpp"
#include "Emu/Cell/PPUModule.h"
#include "Emu/IdManager.h"

View file

@ -3,9 +3,9 @@
#include "cellRtc.h"
#include "Emu/Cell/lv2/sys_time.h"
#include "Emu/Cell/lv2/sys_memory.h"
#include "Emu/Cell/lv2/sys_ss.h"
#include "cellos/sys_time.h"
#include "cellos/sys_memory.h"
#include "cellos/sys_ss.h"
LOG_CHANNEL(cellRtc);

View file

@ -1,9 +1,9 @@
#include "cellSysutil.h"
#include "cellUserInfo.h"
#include "Emu/Cell/PPUModule.h"
#include "Emu/Cell/lv2/sys_fs.h"
#include "Emu/Cell/lv2/sys_process.h"
#include "Emu/Cell/lv2/sys_sync.h"
#include "cellos/sys_fs.h"
#include "cellos/sys_process.h"
#include "cellos/sys_sync.h"
#include "Emu/Cell/timers.hpp"
#include "Emu/IdManager.h"
#include "Emu/RSX/Overlays/overlay_message.h"

View file

@ -4,14 +4,14 @@
#include "Emu/Memory/vm_reservation.h"
#include "Emu/Cell/PPUModule.h"
#include "Emu/Cell/SPUThread.h"
#include "Emu/Cell/lv2/sys_lwmutex.h"
#include "Emu/Cell/lv2/sys_lwcond.h"
#include "Emu/Cell/lv2/sys_spu.h"
#include "Emu/Cell/lv2/sys_ppu_thread.h"
#include "Emu/Cell/lv2/sys_memory.h"
#include "Emu/Cell/lv2/sys_process.h"
#include "Emu/Cell/lv2/sys_semaphore.h"
#include "Emu/Cell/lv2/sys_event.h"
#include "cellos/sys_lwmutex.h"
#include "cellos/sys_lwcond.h"
#include "cellos/sys_spu.h"
#include "cellos/sys_ppu_thread.h"
#include "cellos/sys_memory.h"
#include "cellos/sys_process.h"
#include "cellos/sys_semaphore.h"
#include "cellos/sys_event.h"
#include "sysPrxForUser.h"
#include "cellSpurs.h"

View file

@ -1,7 +1,7 @@
#include "stdafx.h"
#include "Emu/Cell/PPUModule.h"
#include "Emu/Cell/lv2/sys_event.h"
#include "Emu/Cell/lv2/sys_process.h"
#include "cellos/sys_event.h"
#include "cellos/sys_process.h"
#include "cellSync.h"
LOG_CHANNEL(cellSync);

View file

@ -5,7 +5,7 @@
#include "Emu/system_utils.hpp"
#include "stdafx.h"
#include "Emu/Cell/lv2/sys_fs.h"
#include "cellos/sys_fs.h"
#include "cellSysutil.h"
#include "util/StrUtil.h"
#include "util/init_mutex.hpp"

View file

@ -6,8 +6,8 @@
#include "Emu/VFS.h"
#include "Emu/system_config.h"
#include "Emu/Cell/lv2/sys_game.h"
#include "Emu/Cell/lv2/sys_process.h"
#include "cellos/sys_game.h"
#include "cellos/sys_process.h"
#include "cellSysutil.h"
#include "util/StrUtil.h"

View file

@ -1,7 +1,7 @@
#include "Emu/Cell/PPUModule.h"
#include "Emu/Cell/lv2/sys_ppu_thread.h"
#include "Emu/Cell/lv2/sys_process.h"
#include "Emu/Cell/lv2/sys_sync.h"
#include "cellos/sys_ppu_thread.h"
#include "cellos/sys_process.h"
#include "cellos/sys_sync.h"
#include "Emu/IdManager.h"
#include "Emu/perf_meter.hpp"
#include "Emu/savestate_utils.hpp"

View file

@ -1,8 +1,8 @@
#include "stdafx.h"
#include "Emu/Cell/PPUModule.h"
#include "Emu/Cell/lv2/sys_event.h"
#include "Emu/Cell/lv2/sys_process.h"
#include "cellos/sys_event.h"
#include "cellos/sys_process.h"
#include "cellVoice.h"
LOG_CHANNEL(cellVoice);

View file

@ -1,8 +1,8 @@
#pragma once
#include "cellPamf.h" // CellCodecTimeStamp
#include "Emu/Cell/lv2/sys_mutex.h"
#include "Emu/Cell/lv2/sys_cond.h"
#include "cellos/sys_mutex.h"
#include "cellos/sys_cond.h"
// Error Codes
enum CellAdecError : u32

View file

@ -4,9 +4,9 @@
#include "util/v128.hpp"
#include "Emu/Cell/lv2/sys_lwmutex.h"
#include "Emu/Cell/lv2/sys_lwcond.h"
#include "Emu/Cell/lv2/sys_spu.h"
#include "cellos/sys_lwmutex.h"
#include "cellos/sys_lwcond.h"
#include "cellos/sys_spu.h"
struct CellSpurs;
struct CellSpursTaskset;

View file

@ -1,13 +1,13 @@
#pragma once
#include "Emu/Cell/lv2/sys_mutex.h"
#include "Emu/Cell/lv2/sys_cond.h"
#include "Emu/Cell/lv2/sys_rwlock.h"
#include "Emu/Cell/lv2/sys_event.h"
#include "Emu/Cell/lv2/sys_semaphore.h"
#include "Emu/Cell/lv2/sys_lwmutex.h"
#include "Emu/Cell/lv2/sys_lwcond.h"
#include "Emu/Cell/lv2/sys_event_flag.h"
#include "cellos/sys_mutex.h"
#include "cellos/sys_cond.h"
#include "cellos/sys_rwlock.h"
#include "cellos/sys_event.h"
#include "cellos/sys_semaphore.h"
#include "cellos/sys_lwmutex.h"
#include "cellos/sys_lwcond.h"
#include "cellos/sys_event_flag.h"
#include "Emu/Memory/vm_ptr.h"

View file

@ -1,6 +1,6 @@
#pragma once
#include "Emu/Cell/lv2/sys_net.h"
#include "cellos/sys_net.h"
struct sys_net_sockinfo_t
{

View file

@ -1,6 +1,6 @@
#include "stdafx.h"
#include "Emu/Cell/PPUModule.h"
#include "Emu/Cell/lv2/sys_sync.h"
#include "cellos/sys_sync.h"
#include "cellAudio.h"
#include "libmixer.h"

View file

@ -14,9 +14,9 @@
#include "sceNp.h"
#include "sysPrxForUser.h"
#include "Emu/Cell/lv2/sys_fs.h"
#include "Emu/Cell/lv2/sys_sync.h"
#include "Emu/Cell/lv2/sys_time.h"
#include "cellos/sys_fs.h"
#include "cellos/sys_sync.h"
#include "cellos/sys_time.h"
#include "Emu/Cell/timers.hpp"
#include "Emu/NP/np_contexts.h"
#include "Emu/NP/np_handler.h"

View file

@ -6,7 +6,7 @@
#include "sceNp.h"
#include "cellSysutil.h"
#include "Emu/Cell/lv2/sys_process.h"
#include "cellos/sys_process.h"
#include "Emu/NP/np_handler.h"
#include "Emu/NP/np_contexts.h"

View file

@ -17,8 +17,8 @@
#include "util/StrUtil.h"
#include "Emu/Cell/lv2/sys_event.h"
#include "Emu/Cell/lv2/sys_fs.h"
#include "cellos/sys_event.h"
#include "cellos/sys_fs.h"
#include "util/asm.hpp"
#include <algorithm>

View file

@ -2,11 +2,11 @@
#include "Emu/Cell/PPUModule.h"
#include "Emu/Cell/timers.hpp"
#include "Emu/Cell/lv2/sys_mutex.h"
#include "Emu/Cell/lv2/sys_interrupt.h"
#include "Emu/Cell/lv2/sys_process.h"
#include "Emu/Cell/lv2/sys_ss.h"
#include "Emu/Cell/lv2/sys_tty.h"
#include "cellos/sys_mutex.h"
#include "cellos/sys_interrupt.h"
#include "cellos/sys_process.h"
#include "cellos/sys_ss.h"
#include "cellos/sys_tty.h"
#include "sysPrxForUser.h"
LOG_CHANNEL(sysPrxForUser);

View file

@ -1,8 +1,8 @@
#include "stdafx.h"
#include "Emu/Cell/PPUModule.h"
#include "Emu/Cell/lv2/sys_mutex.h"
#include "Emu/Cell/lv2/sys_process.h"
#include "cellos/sys_mutex.h"
#include "cellos/sys_process.h"
#include "sysPrxForUser.h"
LOG_CHANNEL(sysPrxForUser);

View file

@ -3,8 +3,8 @@
#include "Emu/IdManager.h"
#include "Emu/Cell/PPUModule.h"
#include "Emu/Cell/lv2/sys_event.h"
#include "Emu/Cell/lv2/sys_ppu_thread.h"
#include "cellos/sys_event.h"
#include "cellos/sys_ppu_thread.h"
#include "sysPrxForUser.h"
LOG_CHANNEL(sys_io);

View file

@ -1,5 +1,5 @@
#include "Emu/Cell/PPUModule.h"
#include "Emu/Cell/lv2/sys_tty.h"
#include "cellos/sys_tty.h"
#include "stdafx.h"
#include "util/cfmt.h"

View file

@ -1,9 +1,9 @@
#include "stdafx.h"
#include "Emu/system_config.h"
#include "Emu/Cell/PPUModule.h"
#include "Emu/Cell/lv2/sys_lwmutex.h"
#include "Emu/Cell/lv2/sys_lwcond.h"
#include "Emu/Cell/lv2/sys_cond.h"
#include "cellos/sys_lwmutex.h"
#include "cellos/sys_lwcond.h"
#include "cellos/sys_cond.h"
#include "sysPrxForUser.h"
LOG_CHANNEL(sysPrxForUser);

View file

@ -3,8 +3,8 @@
#include "Emu/system_config.h"
#include "Emu/Cell/PPUModule.h"
#include "Emu/Cell/timers.hpp"
#include "Emu/Cell/lv2/sys_lwmutex.h"
#include "Emu/Cell/lv2/sys_mutex.h"
#include "cellos/sys_lwmutex.h"
#include "cellos/sys_mutex.h"
#include "sysPrxForUser.h"
#include "util/asm.hpp"

View file

@ -4,8 +4,8 @@
#include "Emu/Cell/PPUModule.h"
#include "Emu/Cell/lv2/sys_cond.h"
#include "Emu/Cell/lv2/sys_mutex.h"
#include "cellos/sys_cond.h"
#include "cellos/sys_mutex.h"
LOG_CHANNEL(sysPrxForUser);

View file

@ -1,6 +1,6 @@
#include "stdafx.h"
#include "Emu/Cell/PPUModule.h"
#include "Emu/Cell/lv2/sys_mmapper.h"
#include "cellos/sys_mmapper.h"
LOG_CHANNEL(sysPrxForUser);

View file

@ -1,9 +1,9 @@
#include "stdafx.h"
#include "Emu/Cell/PPUModule.h"
#include "Emu/Cell/lv2/sys_ppu_thread.h"
#include "Emu/Cell/lv2/sys_interrupt.h"
#include "Emu/Cell/lv2/sys_lwmutex.h"
#include "Emu/Cell/lv2/sys_mutex.h"
#include "cellos/sys_ppu_thread.h"
#include "cellos/sys_interrupt.h"
#include "cellos/sys_lwmutex.h"
#include "cellos/sys_mutex.h"
#include "sysPrxForUser.h"
LOG_CHANNEL(sysPrxForUser);

View file

@ -1,8 +1,8 @@
#include "stdafx.h"
#include "Emu/Cell/PPUModule.h"
#include "Emu/Cell/lv2/sys_lwmutex.h"
#include "Emu/Cell/lv2/sys_prx.h"
#include "cellos/sys_lwmutex.h"
#include "cellos/sys_prx.h"
#include "sysPrxForUser.h"
LOG_CHANNEL(sysPrxForUser);

View file

@ -2,7 +2,7 @@
#include "Emu/VFS.h"
#include "Emu/Cell/PPUModule.h"
#include "Emu/Cell/lv2/sys_spu.h"
#include "cellos/sys_spu.h"
#include "Loader/ELF.h"
#include "sysPrxForUser.h"