aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hle/kernel
Commit message (Collapse)AuthorAge
* dyncom: Rename armdefs.h to armstate.hGravatar Lioncash2015-07-25
|
* Kernel/Scheduling: Clean up a thread's wait_objects when its scheduled.Gravatar Subv2015-07-20
| | | | They'll be reset if needed during the next svcWaitSynchronization call (if there's any pending)
* Ensure all kernel objects are released during shutdownGravatar Yuri Kunde Schlesner2015-07-17
| | | | | | | | This commit fixes several kernel object leaks. The most severe of them was threads not being removed from the private handle table used for CoreTiming events. This resulted in Threads never being released, which in turn held references to Process, causing CodeSets to never be freed when loading other applications.
* Merge pull request #921 from linkmauve/fix-appletGravatar bunnei2015-07-12
|\ | | | | Fix applet includes using iwyu
* | Kernel: Add CodeSet case to Object::IsWaitableGravatar Yuri Kunde Schlesner2015-07-12
| |
| * Core: Fix applet includes using iwyu.Gravatar Emmanuel Gil Peyrot2015-07-12
|/
* Core: Properly configure address space when loading a binaryGravatar Yuri Kunde Schlesner2015-07-11
| | | | | | 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.
* Kernel: Remove unused member from EventGravatar Yuri Kunde Schlesner2015-07-11
|
* Core: Cleanup file_sys includes.Gravatar Emmanuel Gil Peyrot2015-06-28
|
* Core: Cleanup core includes.Gravatar Emmanuel Gil Peyrot2015-06-28
|
* Common: Cleanup key_map includes.Gravatar Emmanuel Gil Peyrot2015-06-28
|
* Add helpers to create IPC command buffer headers and descriptorsGravatar Yuri Kunde Schlesner2015-06-22
|
* kernel: Fix svcWaitSynch to always acquire requested wait objects.Gravatar bunnei2015-06-16
|
* Merge pull request #810 from yuriks/memmapGravatar Yuri Kunde Schlesner2015-05-29
|\ | | | | Kernel: Add VMManager to manage process address spaces
* | Remove every trailing whitespace from the project (but externals).Gravatar Emmanuel Gil Peyrot2015-05-29
| |
| * Kernel: Add VMManager to manage process address spacesGravatar Yuri Kunde Schlesner2015-05-27
|/ | | | | | | | 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.
* Kernel: Fix a warning introduced with ResourceLimit, and remove the fallback ↵Gravatar Emmanuel Gil Peyrot2015-05-21
| | | | code to prevent it from happening again.
* Kernel: Move reschedules from SVCs to actual mechanisms that reschedule.Gravatar bunnei2015-05-20
|
* Merge pull request #772 from lioncash/warnGravatar bunnei2015-05-18
|\ | | | | core/video_core: Fix a few warnings when compiling on MSVC.
* | Core/ResourceLimits: Implemented the basic structure of ResourceLimits.Gravatar Subv2015-05-14
| | | | | | | | | | | | 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.
* | Memmap: Re-organize memory function in two filesGravatar Yuri Kunde Schlesner2015-05-15
| | | | | | | | | | | | | | 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.
| * process: Get rid of warningsGravatar Lioncash2015-05-14
| | | | | | | | Sign mismatches and "forcing value to bool" warnings.
* | thread: Fix a conditional check in RescheduleGravatar Lioncash2015-05-14
|/
* Merge pull request #748 from Subv/tls_maxGravatar bunnei2015-05-11
|\ | | | | Core/Memory: Add TLS support for creating up to 300 threads
* \ Merge pull request #751 from yuriks/idle-threadGravatar bunnei2015-05-11
|\ \ | | | | | | Thread: Remove the idle thread
* \ \ Merge pull request #757 from Subv/schedulingGravatar bunnei2015-05-11
|\ \ \ | | | | | | | | Core/Scheduling: Prepare the new priority in the thread queue when svcSetPriority is called
| | * | Thread: Remove the idle threadGravatar Yuri Kunde Schlesner2015-05-11
| | | | | | | | | | | | | | | | Instead just use nullptr to represent no thread is active.
| | | * Core/Memory: Add TLS support for creating up to 300 threadsGravatar Subv2015-05-11
| |_|/ |/| |
* | | Merge pull request #750 from Subv/process_svcGravatar Yuri Kunde Schlesner2015-05-11
|\ \ \ | |_|/ |/| | Core/HLE: Implemented the SVCs GetProcessId and GetProcessIdOfThread
| | * Core/Scheduling: Prepare the new priority in the thread queue when ↵Gravatar Subv2015-05-11
| |/ |/| | | | | svcSetPriority is called
| * fixup!Gravatar Subv2015-05-11
| |
| * Core/HLE: Implemented the SVCs GetProcessId and GetProcessIdOfThreadGravatar Subv2015-05-11
| |
* | Thread: Correctly set main thread initial stack positionGravatar Yuri Kunde Schlesner2015-05-11
|/
* Merge pull request #740 from yuriks/gsp-shmemGravatar archshift2015-05-10
|\ | | | | Fix crashes due to un-initialized GSP shared memory
* | fixup! Set the TLS address in the schedulerGravatar Subv2015-05-10
| |
* | Core/Memory: Give every emulated thread it's own TLS area.Gravatar Subv2015-05-10
| | | | | | | | | | The TLS area for thread T with id Ti is located at TLS_AREA_VADDR + (Ti - 1) * 0x200. This allows some games like Mario Kart 7 to continue further.
| * Kernel: Zero-fill shared memory blocks when mappingGravatar Yuri Kunde Schlesner2015-05-10
| | | | | | | | | | | | This works around crashes related to GSP/HID/etc. shared memory blocks having garbage values. The proper fix requires proper management of mapped memory blocks in the process.
| * Kernel: Capture SharedMemory attributes at creation, not when mappingGravatar Yuri Kunde Schlesner2015-05-10
|/
* Common: Remove the BIT macroGravatar Yuri Kunde Schlesner2015-05-09
| | | | | | | When the macro was introduced in 326ec51261299e48de97592631c02523da9c8118 it wasn't noticed that it conflicted in name with a heavily used macro inside of dyncom. This causes some compiler warnings. Since it's only lightly used, it was opted to simply remove the new macro.
* Memory: Re-organize and rename memory area address constantsGravatar Yuri Kunde Schlesner2015-05-09
|
* Kernel: Remove unused g_main_thread variableGravatar Yuri Kunde Schlesner2015-05-08
|
* Process: Rename StaticAddressMapping => AddressMappingGravatar Yuri Kunde Schlesner2015-05-08
|
* Process: Add more documentation to the class membersGravatar Yuri Kunde Schlesner2015-05-08
|
* Process: Use BitField to store process flagsGravatar Yuri Kunde Schlesner2015-05-08
|
* Process: Support parsing of exheader kernel capsGravatar Yuri Kunde Schlesner2015-05-08
|
* Kernel: Remove g_program_idGravatar Yuri Kunde Schlesner2015-05-08
| | | | This has been obsoleted by the field in Process.
* Kernel: Introduce skeleton Process class to hold process dataGravatar Yuri Kunde Schlesner2015-05-08
|
* Common: Remove common.hGravatar Yuri Kunde Schlesner2015-05-07
|
* Move typedefs from kernel.h to more appropriate placesGravatar Yuri Kunde Schlesner2015-05-06
|
* Kernel: Properly initialize and shutdown all modules.Gravatar bunnei2015-05-01
|