2018-01-17 19:37:34 -05:00
|
|
|
add_library(core STATIC
|
|
|
|
arm/arm_interface.h
|
|
|
|
arm/unicorn/arm_unicorn.cpp
|
|
|
|
arm/unicorn/arm_unicorn.h
|
|
|
|
core.cpp
|
|
|
|
core.h
|
|
|
|
core_timing.cpp
|
|
|
|
core_timing.h
|
2018-01-19 22:34:48 -05:00
|
|
|
file_sys/directory.h
|
2018-01-17 19:37:34 -05:00
|
|
|
file_sys/errors.h
|
2018-01-19 22:34:48 -05:00
|
|
|
file_sys/filesystem.cpp
|
|
|
|
file_sys/filesystem.h
|
2018-01-17 19:37:34 -05:00
|
|
|
file_sys/path_parser.cpp
|
|
|
|
file_sys/path_parser.h
|
2018-01-19 22:34:48 -05:00
|
|
|
file_sys/romfs_factory.cpp
|
|
|
|
file_sys/romfs_factory.h
|
|
|
|
file_sys/romfs_filesystem.cpp
|
|
|
|
file_sys/romfs_filesystem.h
|
|
|
|
file_sys/storage.h
|
2018-01-17 19:37:34 -05:00
|
|
|
frontend/emu_window.cpp
|
|
|
|
frontend/emu_window.h
|
|
|
|
frontend/framebuffer_layout.cpp
|
|
|
|
frontend/framebuffer_layout.h
|
|
|
|
frontend/input.h
|
|
|
|
gdbstub/gdbstub.cpp
|
|
|
|
gdbstub/gdbstub.h
|
|
|
|
hle/config_mem.cpp
|
|
|
|
hle/config_mem.h
|
|
|
|
hle/ipc.h
|
|
|
|
hle/ipc_helpers.h
|
|
|
|
hle/kernel/client_port.cpp
|
|
|
|
hle/kernel/client_port.h
|
|
|
|
hle/kernel/client_session.cpp
|
|
|
|
hle/kernel/client_session.h
|
|
|
|
hle/kernel/condition_variable.cpp
|
|
|
|
hle/kernel/condition_variable.h
|
|
|
|
hle/kernel/errors.h
|
|
|
|
hle/kernel/event.cpp
|
|
|
|
hle/kernel/event.h
|
|
|
|
hle/kernel/handle_table.cpp
|
|
|
|
hle/kernel/handle_table.h
|
|
|
|
hle/kernel/hle_ipc.cpp
|
|
|
|
hle/kernel/hle_ipc.h
|
|
|
|
hle/kernel/kernel.cpp
|
|
|
|
hle/kernel/kernel.h
|
|
|
|
hle/kernel/memory.cpp
|
|
|
|
hle/kernel/memory.h
|
|
|
|
hle/kernel/mutex.cpp
|
|
|
|
hle/kernel/mutex.h
|
|
|
|
hle/kernel/object_address_table.cpp
|
|
|
|
hle/kernel/object_address_table.h
|
|
|
|
hle/kernel/process.cpp
|
|
|
|
hle/kernel/process.h
|
|
|
|
hle/kernel/resource_limit.cpp
|
|
|
|
hle/kernel/resource_limit.h
|
2018-02-18 14:58:40 -05:00
|
|
|
hle/kernel/scheduler.cpp
|
|
|
|
hle/kernel/scheduler.h
|
2018-01-17 19:37:34 -05:00
|
|
|
hle/kernel/server_port.cpp
|
|
|
|
hle/kernel/server_port.h
|
|
|
|
hle/kernel/server_session.cpp
|
|
|
|
hle/kernel/server_session.h
|
|
|
|
hle/kernel/session.h
|
|
|
|
hle/kernel/shared_memory.cpp
|
|
|
|
hle/kernel/shared_memory.h
|
|
|
|
hle/kernel/svc.cpp
|
|
|
|
hle/kernel/svc.h
|
|
|
|
hle/kernel/svc_wrap.h
|
|
|
|
hle/kernel/thread.cpp
|
|
|
|
hle/kernel/thread.h
|
|
|
|
hle/kernel/timer.cpp
|
|
|
|
hle/kernel/timer.h
|
|
|
|
hle/kernel/vm_manager.cpp
|
|
|
|
hle/kernel/vm_manager.h
|
|
|
|
hle/kernel/wait_object.cpp
|
|
|
|
hle/kernel/wait_object.h
|
|
|
|
hle/lock.cpp
|
|
|
|
hle/lock.h
|
|
|
|
hle/result.h
|
|
|
|
hle/romfs.cpp
|
|
|
|
hle/romfs.h
|
|
|
|
hle/service/acc/acc.cpp
|
|
|
|
hle/service/acc/acc.h
|
|
|
|
hle/service/acc/acc_u0.cpp
|
|
|
|
hle/service/acc/acc_u0.h
|
|
|
|
hle/service/am/am.cpp
|
|
|
|
hle/service/am/am.h
|
2018-02-02 16:03:40 -05:00
|
|
|
hle/service/am/applet_ae.cpp
|
|
|
|
hle/service/am/applet_ae.h
|
2018-01-17 19:37:34 -05:00
|
|
|
hle/service/am/applet_oe.cpp
|
|
|
|
hle/service/am/applet_oe.h
|
|
|
|
hle/service/aoc/aoc_u.cpp
|
|
|
|
hle/service/aoc/aoc_u.h
|
|
|
|
hle/service/apm/apm.cpp
|
|
|
|
hle/service/apm/apm.h
|
2018-02-09 23:17:37 -05:00
|
|
|
hle/service/apm/interface.cpp
|
|
|
|
hle/service/apm/interface.h
|
2018-01-17 19:37:34 -05:00
|
|
|
hle/service/audio/audio.cpp
|
|
|
|
hle/service/audio/audio.h
|
2018-01-21 22:03:36 -05:00
|
|
|
hle/service/audio/audin_u.cpp
|
|
|
|
hle/service/audio/audin_u.h
|
2018-01-17 19:37:34 -05:00
|
|
|
hle/service/audio/audout_u.cpp
|
|
|
|
hle/service/audio/audout_u.h
|
2018-01-21 22:03:36 -05:00
|
|
|
hle/service/audio/audrec_u.cpp
|
|
|
|
hle/service/audio/audrec_u.h
|
|
|
|
hle/service/audio/audren_u.cpp
|
|
|
|
hle/service/audio/audren_u.h
|
|
|
|
hle/service/audio/audren_u.cpp
|
|
|
|
hle/service/audio/audren_u.h
|
|
|
|
hle/service/audio/codecctl.cpp
|
|
|
|
hle/service/audio/codecctl.h
|
2018-01-16 22:20:12 -05:00
|
|
|
hle/service/filesystem/filesystem.cpp
|
|
|
|
hle/service/filesystem/filesystem.h
|
|
|
|
hle/service/filesystem/fsp_srv.cpp
|
|
|
|
hle/service/filesystem/fsp_srv.h
|
2018-02-19 17:34:02 -05:00
|
|
|
hle/service/friend/friend.cpp
|
|
|
|
hle/service/friend/friend.h
|
|
|
|
hle/service/friend/friend_a.cpp
|
|
|
|
hle/service/friend/friend_a.h
|
2018-01-17 19:37:34 -05:00
|
|
|
hle/service/hid/hid.cpp
|
|
|
|
hle/service/hid/hid.h
|
|
|
|
hle/service/lm/lm.cpp
|
|
|
|
hle/service/lm/lm.h
|
2018-02-02 06:31:27 -05:00
|
|
|
hle/service/nifm/nifm.cpp
|
|
|
|
hle/service/nifm/nifm.h
|
|
|
|
hle/service/nifm/nifm_a.cpp
|
|
|
|
hle/service/nifm/nifm_a.h
|
|
|
|
hle/service/nifm/nifm_s.cpp
|
|
|
|
hle/service/nifm/nifm_s.h
|
|
|
|
hle/service/nifm/nifm_u.cpp
|
|
|
|
hle/service/nifm/nifm_u.h
|
2018-02-14 22:22:41 -05:00
|
|
|
hle/service/ns/ns.cpp
|
|
|
|
hle/service/ns/ns.h
|
|
|
|
hle/service/ns/pl_u.cpp
|
|
|
|
hle/service/ns/pl_u.h
|
2018-01-17 19:37:34 -05:00
|
|
|
hle/service/nvdrv/devices/nvdevice.h
|
|
|
|
hle/service/nvdrv/devices/nvdisp_disp0.cpp
|
|
|
|
hle/service/nvdrv/devices/nvdisp_disp0.h
|
|
|
|
hle/service/nvdrv/devices/nvhost_as_gpu.cpp
|
|
|
|
hle/service/nvdrv/devices/nvhost_as_gpu.h
|
2018-01-21 17:59:50 -05:00
|
|
|
hle/service/nvdrv/devices/nvhost_ctrl.cpp
|
|
|
|
hle/service/nvdrv/devices/nvhost_ctrl.h
|
Extra nvdrv support (#162)
* FinishInitalize needed for 3.0.1+ games
* nvdrv:s and nvdrv:t both use NVDRV
* Most settings return 0 on hardware, disabled NV_MEMORY_PROFILER for now.
NVN_THROUGH_OPENGL & NVRM_GPU_PREVENT_USE are a few interesting settings to look at. Carefully choosing settings can help with drawing graphics later on
* Initial /dev/nvhost-gpu support
* ZCullBind
* Stubbed SetErrorNotifier
* Fixed SetErrorNotifier log, Added SetChannelPriority
* Allocate GPFIFO Ex2, Allocate Obj Ctx, Submit GPFIFO
* oops
* Fixed up naming/structs/enums. Used vector instead of array for "gpfifo_entry"
* Added missing fixes
* /dev/nvhost-ctrl-gpu
* unneeded struct
* Forgot u32 in enum class
* Automatic descriptor swapping for ioctls, fixed nvgpu_gpu_get_tpc_masks_args being incorrect size
* nvdrv#QueryEvent
* Renamed logs for nvdrv
* Refactor ioctl so nv_result isn't needed
* /dev/nvhost-as-gpu
* Fixed Log service naming, CtxObjects now u32, renamed all structs, added static_asserts to structs, used INSERT_PADDING_WORDS instead of u32s
* nvdevices now uses "Ioctl" union,
* IoctlGpfifoEntry now uses bit field
* final changes
2018-02-05 21:19:31 -05:00
|
|
|
hle/service/nvdrv/devices/nvhost_ctrl_gpu.cpp
|
|
|
|
hle/service/nvdrv/devices/nvhost_ctrl_gpu.h
|
|
|
|
hle/service/nvdrv/devices/nvhost_gpu.cpp
|
|
|
|
hle/service/nvdrv/devices/nvhost_gpu.h
|
2018-01-17 19:37:34 -05:00
|
|
|
hle/service/nvdrv/devices/nvmap.cpp
|
|
|
|
hle/service/nvdrv/devices/nvmap.h
|
|
|
|
hle/service/nvdrv/interface.cpp
|
|
|
|
hle/service/nvdrv/interface.h
|
|
|
|
hle/service/nvdrv/nvdrv.cpp
|
|
|
|
hle/service/nvdrv/nvdrv.h
|
2018-01-21 17:59:50 -05:00
|
|
|
hle/service/nvdrv/nvmemp.cpp
|
|
|
|
hle/service/nvdrv/nvmemp.h
|
2018-01-22 11:54:58 -05:00
|
|
|
hle/service/nvflinger/buffer_queue.cpp
|
|
|
|
hle/service/nvflinger/buffer_queue.h
|
|
|
|
hle/service/nvflinger/nvflinger.cpp
|
|
|
|
hle/service/nvflinger/nvflinger.h
|
2018-01-17 19:37:34 -05:00
|
|
|
hle/service/pctl/pctl.cpp
|
|
|
|
hle/service/pctl/pctl.h
|
|
|
|
hle/service/pctl/pctl_a.cpp
|
|
|
|
hle/service/pctl/pctl_a.h
|
|
|
|
hle/service/service.cpp
|
|
|
|
hle/service/service.h
|
2018-01-19 15:44:58 -05:00
|
|
|
hle/service/set/set.cpp
|
|
|
|
hle/service/set/set.h
|
2018-01-17 19:37:34 -05:00
|
|
|
hle/service/sm/controller.cpp
|
|
|
|
hle/service/sm/controller.h
|
|
|
|
hle/service/sm/sm.cpp
|
|
|
|
hle/service/sm/sm.h
|
2018-01-18 14:35:03 -05:00
|
|
|
hle/service/sockets/bsd_u.cpp
|
|
|
|
hle/service/sockets/bsd_u.h
|
2018-01-30 01:29:47 -05:00
|
|
|
hle/service/sockets/sfdnsres.cpp
|
2018-01-18 14:35:03 -05:00
|
|
|
hle/service/sockets/sfdnsres.h
|
|
|
|
hle/service/sockets/sockets.cpp
|
|
|
|
hle/service/sockets/sockets.h
|
2018-01-17 19:37:34 -05:00
|
|
|
hle/service/time/time.cpp
|
|
|
|
hle/service/time/time.h
|
2018-01-18 11:58:29 -05:00
|
|
|
hle/service/time/time_s.cpp
|
|
|
|
hle/service/time/time_s.h
|
|
|
|
hle/service/time/time_u.cpp
|
|
|
|
hle/service/time/time_u.h
|
2018-01-17 19:37:34 -05:00
|
|
|
hle/service/vi/vi.cpp
|
|
|
|
hle/service/vi/vi.h
|
|
|
|
hle/service/vi/vi_m.cpp
|
|
|
|
hle/service/vi/vi_m.h
|
2018-02-02 04:59:50 -05:00
|
|
|
hle/service/vi/vi_s.cpp
|
|
|
|
hle/service/vi/vi_s.h
|
|
|
|
hle/service/vi/vi_u.cpp
|
|
|
|
hle/service/vi/vi_u.h
|
2018-01-17 19:37:34 -05:00
|
|
|
hle/shared_page.cpp
|
|
|
|
hle/shared_page.h
|
|
|
|
hw/hw.cpp
|
|
|
|
hw/hw.h
|
|
|
|
hw/lcd.cpp
|
|
|
|
hw/lcd.h
|
2018-01-20 14:59:17 -05:00
|
|
|
loader/deconstructed_rom_directory.cpp
|
|
|
|
loader/deconstructed_rom_directory.h
|
2018-01-17 19:37:34 -05:00
|
|
|
loader/elf.cpp
|
|
|
|
loader/elf.h
|
|
|
|
loader/linker.cpp
|
|
|
|
loader/linker.h
|
|
|
|
loader/loader.cpp
|
|
|
|
loader/loader.h
|
|
|
|
loader/nro.cpp
|
|
|
|
loader/nro.h
|
|
|
|
loader/nso.cpp
|
|
|
|
loader/nso.h
|
|
|
|
memory.cpp
|
|
|
|
memory.h
|
2018-01-27 10:16:39 -05:00
|
|
|
memory_hook.h
|
2018-01-17 19:37:34 -05:00
|
|
|
memory_setup.h
|
|
|
|
perf_stats.cpp
|
|
|
|
perf_stats.h
|
|
|
|
settings.cpp
|
|
|
|
settings.h
|
|
|
|
telemetry_session.cpp
|
|
|
|
telemetry_session.h
|
|
|
|
tracer/citrace.h
|
|
|
|
tracer/recorder.cpp
|
|
|
|
tracer/recorder.h
|
|
|
|
)
|
2013-08-29 23:35:09 -04:00
|
|
|
|
2018-01-17 19:37:34 -05:00
|
|
|
create_target_directory_groups(core)
|
2014-08-23 21:22:05 -04:00
|
|
|
|
2018-01-19 19:36:09 -05:00
|
|
|
target_link_libraries(core PUBLIC common PRIVATE video_core)
|
2018-01-12 19:36:41 -05:00
|
|
|
target_link_libraries(core PUBLIC Boost::boost PRIVATE fmt lz4_static unicorn)
|
2018-01-19 19:36:09 -05:00
|
|
|
|
|
|
|
if (ARCHITECTURE_x86_64)
|
|
|
|
target_sources(core PRIVATE
|
|
|
|
arm/dynarmic/arm_dynarmic.cpp
|
|
|
|
arm/dynarmic/arm_dynarmic.h
|
|
|
|
)
|
|
|
|
target_link_libraries(core PRIVATE dynarmic)
|
|
|
|
endif()
|