Yuri Kunde Schlesner
5c5cf2f8e0
Core: Properly configure address space when loading a binary
The code now properly configures the process image to match the loaded
binary segments (code, rodata, data) instead of just blindly allocating
a large chunk of dummy memory.
11 years ago
Yuri Kunde Schlesner
d9556912b4
Kernel: Remove unused member from Event
11 years ago
Subv
621ee10eae
Applets: Add infrastructure to allow custom drawing and input handling in Applets.
11 years ago
Subv
2a6ebadf66
HLE/APT: Initial HLE support for applets.
Currently only the SWKBD is emulated, and there's currently no way to ask the user for input, so it always returns "Subv" as the text.
11 years ago
Emmanuel Gil Peyrot
4964a359e1
Core: Cleanup hw includes.
11 years ago
Emmanuel Gil Peyrot
7b746914b9
Core: Cleanup soc:U includes.
11 years ago
Emmanuel Gil Peyrot
e5fcabdd69
Core: Cleanup file_sys includes.
11 years ago
Emmanuel Gil Peyrot
aea15f5c73
Core: Cleanup core includes.
11 years ago
Emmanuel Gil Peyrot
45c4781544
CitraQt: Cleanup includes.
11 years ago
Emmanuel Gil Peyrot
596b7c4f63
Common: Cleanup key_map includes.
11 years ago
Emmanuel Gil Peyrot
c345247431
Services: Use the standard _WIN32 define in soc:U instead of our own EMU_PLATFORM.
11 years ago
Subv
bd336cfdce
Services/SOC: Added command headers to some of the soc commands.
11 years ago
Yuri Kunde Schlesner
81488d7a6a
Add helpers to create IPC command buffer headers and descriptors
11 years ago
Yuri Kunde Schlesner
3e6663da43
Y2R: Rework conversion process, enabling support for all formats
11 years ago
Yuri Kunde Schlesner
29d2b70ea4
Y2R: Re-organize how params are stored. Support SetConversionParams
11 years ago
bunnei
71e8822d23
kernel: Fix svcWaitSynch to always acquire requested wait objects.
11 years ago
purpasmart96
7933dbe6a0
Services: Continue separation of services into their own folders
11 years ago
Subv
66c1db7288
ExtSavedata: Save the icon passed to CreateExtSaveData to the correct folder.
Organize the ExtSaveData folders as they are stored in the console.
11 years ago
Emmanuel Gil Peyrot
b1503b2020
Remove every trailing whitespace from the project (but externals).
11 years ago
Lioncash
a3cad6c332
hid: Get rid of undefined behavior
Modifying a variable twice across a sequence point.
11 years ago
Yuri Kunde Schlesner
0a60aa75c2
Kernel: Add VMManager to manage process address spaces
This enables more dynamic management of the process address space,
compared to just directly configuring the page table for major areas.
This will serve as the foundation upon which the rest of the Kernel
memory management functions will be built.
11 years ago
Subv
fa397494b0
Service/GSP: Implemented ImportDisplayCaptureInfo.
11 years ago
Subv
732839b1f4
Core/SVC: Map the shared memory created in CreateMemoryBlock to the specified address.
This SharedMemory can be passed to service functions (Which should map the memory into their own address space).
11 years ago
Lioncash
ebca3a4902
y2r_u: Remove unused variable in StartConversion
11 years ago
purpasmart96
0c62b7b106
HID: Stub DisableAccelerometer and DisableGyroscopeLow
11 years ago
tfarley
62668688e1
Flush for y2r (moflex)
11 years ago
tfarley
05dc633a8c
OpenGL renderer
11 years ago
Yuri Kunde Schlesner
9108482888
Service::Y2R: Support for grayscale decoding of specific formats
Implements unrotated planar YUV 4:2:0 -> RGB24 conversions in Y2R.
Currently only the Y (luma) channel is used, so the results don't
contain color. This will be added in a later PR at some point.
This is enough to get all currently know Moflex videos to decode. (Some
don't display on-screen due to seemingly unrelated reasons.)
Thanks to @archshift for doing the initial implementation which I
cleaned up and then fixed the 8x8 block mode.
11 years ago
Emmanuel Gil Peyrot
b8f93e6b18
Kernel: Fix a warning introduced with ResourceLimit, and remove the fallback code to prevent it from happening again.
11 years ago
bunnei
25f14e76f1
y2r_u: Stub StartConversion to prevent moflex games from hanging.
11 years ago
bunnei
0b7d2941cf
Kernel: Move reschedules from SVCs to actual mechanisms that reschedule.
11 years ago
archshift
11057488f9
Implement svcBreak
11 years ago
archshift
4b300ba763
Delete unused hle/coprocessor.cpp
11 years ago
purpasmart96
dd9aed9ea9
CFG: Update the cfg service to be like other integrated services
11 years ago
purpasmart96
0fd727f3ad
APT/FS: Remove asserts that were causing false positives
11 years ago
Subv
d3634d4bf4
Core/ResourceLimits: Implemented the basic structure of ResourceLimits.
Implemented svcs GetResourceLimit, GetResourceLimitCurrentValues and GetResourceLimitLimitValues.
Note that the resource limits do not currently keep track of used objects, since we have no way to distinguish between an object created by the application, and an object created by some HLE module once we're inside Kernel::T::Create.
11 years ago
Yuri Kunde Schlesner
52158c1b8d
Memory: Read SharedPage directly from Memory::Read
11 years ago
Yuri Kunde Schlesner
ec514b16a6
Memory: Read ConfigMem directly from Memory::Read
11 years ago
Yuri Kunde Schlesner
7ada357b2d
Memmap: Re-organize memory function in two files
memory.cpp/h contains definitions related to acessing memory and
configuring the address space
mem_map.cpp/h contains higher-level definitions related to configuring
the address space accoording to the kernel and allocating memory.
11 years ago
Lioncash
150e700729
process: Get rid of warnings
Sign mismatches and "forcing value to bool" warnings.
11 years ago
Lioncash
207087c856
thread: Fix a conditional check in Reschedule
11 years ago
Yuri Kunde Schlesner
4f7a055081
Thread: Remove the idle thread
Instead just use nullptr to represent no thread is active.
11 years ago
Subv
dda94e56dd
Core/Memory: Add TLS support for creating up to 300 threads
11 years ago
Subv
dbc1320923
Core/Scheduling: Prepare the new priority in the thread queue when svcSetPriority is called
11 years ago
purpasmart96
53130fffd9
PTM: Changed the way the ptm services are handled to be like the
IR, HID, and APT services.
11 years ago
Subv
25c010dc7d
fixup!
11 years ago
purpasmart96
046044618d
NWM_UDS: Fix a typo in the nwm service port name
11 years ago
Subv
41f74a16fd
Core/HLE: Implemented the SVCs GetProcessId and GetProcessIdOfThread
11 years ago
Yuri Kunde Schlesner
d16c2bd956
Thread: Correctly set main thread initial stack position
11 years ago
Subv
115ad8e16a
fixup! Set the TLS address in the scheduler
11 years ago