summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/process.cpp (follow)
Commit message (Expand)AuthorAgeFilesLines
* hle: kernel: KThread: Rework dummy threads & fix memory leak.bunnei2021-03-061-2/+3
* hle: kernel: Migrate PageHeap/PageTable to KPageHeap/KPageTable.bunnei2021-02-191-4/+4
* hle: kernel: Migrate MemoryManager to KMemoryManager.bunnei2021-02-191-2/+7
* hle: kernel: Migrate to KMemoryBlock, KMemoryBlockManager, and others.bunnei2021-02-191-21/+20
* kernel: More accurately reserve and release resourcesameerj2021-02-131-1/+2
* kernel: KScopedReservation implementationameerj2021-02-131-7/+26
* kernel: Unify result codes (#5890)Chloe2021-02-131-3/+2
* hle: kernel: svc: Cleanup KEvent/KReadableEvent/KWritableEvent SVCs.bunnei2021-02-051-10/+9
* Simplify limitableresource namesChloe Marcec2021-02-031-9/+9
* Move to GetGlobalTimeNs, fix GetTotalPhysicalMemoryAvailableChloe Marcec2021-01-301-1/+1
* kernel: Rewrite resource limit to be more accurateChloe Marcec2021-01-301-12/+12
* hle: kernel: process: Add state lock.bunnei2021-01-291-2/+2
* hle: kernel: Recode implementation of KThread to be more accurate.bunnei2021-01-291-1/+73
* hle: kernel: KThread: Clean up thread priorities.bunnei2021-01-291-1/+1
* hle: kernel: KThread: Fix ThreadType definition.bunnei2021-01-291-2/+1
* core: hle: kernel: Rename Thread to KThread.bunnei2021-01-291-7/+7
* core: hle: Integrate new KConditionVariable and KAddressArbiter implementations.bunnei2021-01-111-45/+3
* hle: kernel: thread: Replace ThreadStatus/ThreadSchedStatus with a single ThreadState.bunnei2021-01-111-2/+2
* core: hle: kernel: Update KSynchronizationObject.bunnei2021-01-111-12/+9
* hle: kernel: Migrate to KScopedSchedulerLock.bunnei2020-12-061-4/+4
* hle: kernel: Rewrite scheduler implementation based on Mesopshere.bunnei2020-12-061-3/+3
* kernel/process: Add missing <ctime> includeMorph2020-10-291-0/+1
* kernel: Use the current time as the default RNG seedlat9nq2020-10-271-1/+1
* Revert "core: Fix clang build"bunnei2020-10-211-9/+8
* core: Fix clang buildLioncash2020-10-181-8/+9
* kernel/handle_table: Remove usages of the global system instanceLioncash2020-07-151-1/+1
* configuration: implement per-game configurations (#4098)lat9nq2020-07-101-1/+1
* Process: Protect TLS region and Modules.Fernando Sahmkow2020-06-271-0/+4
* SVC: Correct WaitSynchronization, WaitProcessWideKey, SignalProcessWideKey.Fernando Sahmkow2020-06-271-1/+0
* SVC: Correct SignalEvent, ClearEvent, ResetSignal, WaitSynchronization, CancelSynchronization, ArbitrateLockFernando Sahmkow2020-06-271-0/+1
* General: Recover Prometheus project from harddrive failure Fernando Sahmkow2020-06-271-6/+11
* kernel: Account for system resource size for memory usageDavid Marcec2020-06-101-2/+4
* kernel: process: Updates for new VMM.bunnei2020-04-171-61/+124
* core: memory: Move to Core::Memory namespace.bunnei2020-04-171-6/+7
* process: SetupMainThread: Zero out argument on process start.bunnei2020-04-171-0/+2
* core: Implement separate A32/A64 ARM interfaces.bunnei2020-03-031-1/+2
* Kernel: Refactor synchronization to better match REFernando Sahmkow2020-02-111-1/+1
* Kernel: Change WaitObject to Synchronization object. In order to better reflect RE.Fernando Sahmkow2020-02-111-1/+1
* core/kernel: Fix GetTotalPhysicalMemoryUsed.Markus Wick2020-01-111-2/+2
* kernel: Replace usage of boost::intrusive_ptr with std::shared_ptr for kernel objects. (#3154)bunnei2019-11-251-16/+17
* Kernel: Optimize condition variable threads management.Fernando Sahmkow2019-11-211-21/+17
* Kernel: Correct behavior of Condition Variables to be more similar to real hardware.Fernando Sahmkow2019-11-211-0/+46
* Correct compiling errors and addapt to the new interface.Fernando Sahmkow2019-10-151-4/+1
* VM_Manager: Align allocated memory to 256bytesFernando Sahmkow2019-07-191-3/+3
* Merge pull request #2687 from lioncash/tls-processbunnei2019-07-181-11/+18
|\
| * kernel/process: Allocate the process' TLS region during initializationLioncash2019-07-071-0/+5
| * kernel/process: Move main thread stack allocation to its own functionLioncash2019-07-071-12/+14
* | clang-format fixesMichael Scire2019-07-071-1/+2
* | address review commentaryMichael Scire2019-07-071-9/+5
* | Implement MapPhysicalMemory/UnmapPhysicalMemoryMichael Scire2019-07-071-0/+1
|/
* kernel/process: Decouple TLS handling from threadsLioncash2019-07-041-45/+90
* kernel: Differentiate kernel and user processes when picking IDZach Hilman2019-06-101-2/+4
* Merge pull request #2571 from lioncash/refZach Hilman2019-06-101-1/+1
|\
| * kernel/process: Make Create()'s name parameter be taken by valueLioncash2019-06-101-1/+1
* | kernel/svc: Implement TotalMemoryUsedWithoutMmHeap/TotalMemoryAvailableWithoutMmHeapLioncash2019-06-101-0/+16
|/
* Merge pull request #2412 from lioncash/systembunnei2019-04-291-1/+2
|\
| * kernel/vm_manager: Remove usages of global system accessorsLioncash2019-04-171-1/+2
* | Merge pull request #2416 from lioncash/waitbunnei2019-04-251-2/+1
|\ \
| * | kernel/thread: Unify wait synchronization typesLioncash2019-04-171-2/+1
| |/
* | Merge pull request #2374 from lioncash/pagetablebunnei2019-04-201-11/+6
|\ \
| * | core/core: Move process execution start to System's Load()Lioncash2019-04-121-6/+6
| * | core/process: Remove unideal page table setting from LoadFromMetadata()Lioncash2019-04-121-5/+0
| * | core/cpu_core_manager: Create threads separately from initialization.Lioncash2019-04-121-1/+1
| |/
* / kernel/thread: Remove unused guest_handle member variableLioncash2019-04-141-3/+2
|/
* kernel/process: Set page table when page table resizes occur.Lioncash2019-04-091-0/+2
* kernel: Handle page table switching within MakeCurrentProcess()Lioncash2019-04-071-3/+0
* Merge pull request #2314 from lioncash/constbunnei2019-04-031-1/+1
|\
| * kernel/wait_object: Make ShouldWait() take thread members by pointer-to-constLioncash2019-04-021-1/+1
* | kernel/svc: Implement svcGetThreadListLioncash2019-04-021-0/+8
* | process: Fix up compilationReinUsesLisp2019-04-021-1/+1
* | Merge pull request #2281 from lioncash/memorybunnei2019-04-021-2/+4
|\ \ | |/ |/|
| * kernel/codeset: Make CodeSet's memory data member a regular std::vectorLioncash2019-03-221-2/+4
* | kernel/process: Report total physical memory used to svcGetInfoLioncash2019-03-291-0/+4
* | kernel/process: Store the total size of the code memory loadedLioncash2019-03-291-0/+2
* | kernel/process: Store the main thread stack size to a data memberLioncash2019-03-281-4/+4
* | kernel/process: Make Run's stack size parameter a u64Lioncash2019-03-281-1/+1
* | kernel/process: Ensure that given stack size is always page-alignedLioncash2019-03-281-0/+4
|/
* Merge pull request #2234 from lioncash/mutexbunnei2019-03-221-1/+2
|\
| * core/hle/kernel: Make Mutex a per-process class.Lioncash2019-03-151-1/+2
* | kernel/vm_manager: Rename CodeStatic/CodeMutable to Code and CodeData respectivelyLioncash2019-03-211-3/+3
* | kernel/process: Make MapSegment lambda reference parameter constLioncash2019-03-201-1/+1
* | kernel: Move CodeSet structure to its own source filesLioncash2019-03-201-3/+1
* | core: Move PageTable struct into Common.bunnei2019-03-171-1/+1
|/
* kernel/process: Remove use of global system accessorsLioncash2019-03-131-7/+4
* kernel: Make the address arbiter instance per-processLioncash2019-03-081-4/+5
* kernel/handle_table: Allow process capabilities to limit the handle table sizeLioncash2019-02-251-1/+7
* Merge pull request #1956 from lioncash/process-threadSebastian Valle2018-12-311-2/+31
|\
| * kernel/process: Start the main thread using the specified ideal coreLioncash2018-12-281-2/+2
| * kernel: Rename 'default' CPU core to 'ideal' coreLioncash2018-12-281-1/+1
| * kernel/thread: Move process thread initialization into process.cppLioncash2018-12-281-1/+30
* | kernel/process: Remove most allocation functions from Process' interfaceLioncash2018-12-281-16/+0
|/
* kernel/process: Hook up the process capability parser to the process itselfLioncash2018-12-211-75/+5
* vm_manager: Amend MemoryState enum membersLioncash2018-12-121-1/+1
* Merge pull request #1872 from lioncash/proc-infoHexagon122018-12-101-0/+1
|\
| * kernel/process: Set ideal core from metadataLioncash2018-12-051-0/+1
* | kernel/process: Make Process a WaitObjectLioncash2018-12-051-3/+39
|/
* kernel/svc: Implement the resource limit svcGetInfo optionLioncash2018-12-041-0/+4
* kernel/process: Move <random> include to the cpp fileLioncash2018-11-201-0/+1
* kernel/resource_limit: Clean up interfaceLioncash2018-11-201-1/+1
* ldr_ro: Add error check for memory allocation failureZach Hilman2018-11-181-2/+2
* Merge pull request #1679 from DarkLordZach/deterministic-rng-2bunnei2018-11-141-0/+6
|\
| * svc: Use proper random entropy generation algorithmZach Hilman2018-11-131-0/+6
* | kernel/process: Migrate heap-related memory management out of the process class and into the vm managerLioncash2018-11-131-73/+3
|/
* process: LoadModule should clear JIT instruction cache.bunnei2018-10-261-0/+6
* core_cpu: Make Cpu scheduler instances unique_ptrs instead of shared_ptrsLioncash2018-10-151-5/+5
* kernel/process: Make CodeSet a regular non-inherited objectLioncash2018-10-121-15/+9
* kernel/thread: Make all instance variables privateLioncash2018-10-041-3/+3
* kernel/process: Add a data member to determine if a process is 64-bit or not.Lioncash2018-09-301-0/+1
* memory: Dehardcode the use of fixed memory range constantsLioncash2018-09-251-10/+10
* process/vm_manager: Amend API to allow reading parameters from NPDM metadataLioncash2018-09-241-0/+8
* svc: Move most process termination code to its own function within ProcessLioncash2018-09-211-0/+29
* thread/process: Move TLS slot marking/freeing to the process classLioncash2018-09-211-0/+58
* kernel/thread: Use owner_process when setting the page table in SetupMainThread()Lioncash2018-09-211-1/+1
* Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi2018-09-151-3/+3
* kernel: Eliminate kernel global stateLioncash2018-08-291-29/+11
* kernel/process: Use accessors instead of class members for referencing segment arrayLioncash2018-08-031-3/+3
* core/memory: Get rid of 3DS leftoversLioncash2018-08-031-76/+2
* Rename logging macro back to LOG_*James Rowe2018-07-031-4/+4
* general: Make formatting of logged hex values more straightforwardLioncash2018-05-021-1/+1
* core: Replace usages of LOG_GENERIC with new fmt-capable equivalentsLioncash2018-04-271-1/+1
* kernel: Migrate logging macros to fmt-compatible onesLioncash2018-04-261-4/+4
* memory: Fix stack region.bunnei2018-03-311-2/+3
* process: MirrorMemory should use MemoryState::Mapped.bunnei2018-03-171-1/+1
* process: Unmap previously allocated heap.bunnei2018-03-161-1/+3
* kernel: Move stack region outside of application heap.bunnei2018-03-161-3/+2
* process: Fix stack memory state.bunnei2018-03-161-2/+4
* MemoryState: Add additional memory states and improve naming.bunnei2018-03-161-3/+3
* core: Move process creation out of global state.bunnei2018-03-141-3/+2
* Kernel: Store the program id in the Process class instead of the CodeSet class.Subv2018-03-021-5/+3
* svc: Implement svcExitProcess.bunnei2018-01-011-5/+27
* svc: Implement svcUnmapMemory.bunnei2017-12-311-0/+4
* kernel: Various 64-bit fixes in memory/process/threadbunnei2017-12-291-1/+1
* process: Add method to mirror a memory region.bunnei2017-12-291-0/+25
* hle: Fix QueryMemory response for MemoryInfo.bunnei2017-10-201-37/+5
* Merge remote-tracking branch 'upstream/master' into nxbunnei2017-10-101-1/+2
|\
| * Kernel/Thread: Allow specifying which process a thread belongs to when creating it.Subv2017-09-271-1/+1
* | loader: Various improvements for NSO/NRO loaders.bunnei2017-10-101-3/+3
* | nso: Refactor and allocate .bss section.bunnei2017-09-301-4/+5
* | process: Support loading multiple codesets.bunnei2017-09-301-19/+20
|/
* Kernel: Add comment about the extended linear heap areaYuri Kunde Schlesner2017-06-191-0/+2
* Kernel: Centralize error definitions in errors.hYuri Kunde Schlesner2017-05-251-0/+1
* Kernel: Map special regions according to ExHeaderYuri Kunde Schlesner2017-05-101-4/+19
* Use negative priorities to avoid special-casing the self-includeYuri Kunde Schlesner2016-09-211-1/+1
* Remove empty newlines in #include blocks.Emmanuel Gil Peyrot2016-09-211-3/+1
* Manually tweak source formatting and then re-run clang-formatYuri Kunde Schlesner2016-09-191-8/+4
* Sources: Run clang-format on everything.Emmanuel Gil Peyrot2016-09-181-25/+40
* Kernel/SVC: Fixed the register order for svcCreateMemoryBlock.Subv2016-05-131-1/+1
* Common: Remove Common::make_unique, use std::make_uniqueMerryMage2016-04-051-1/+2
* Memory: Do correct Phys->Virt address translation for non-APP linheapYuri Kunde Schlesner2016-03-061-2/+4
* BitField: Make trivially copyable and remove assignment operatorMerryMage2016-02-121-1/+1
* Kernel: Implement svcGetSystemInfoYuri Kunde Schlesner2015-12-011-0/+6
* Kernel: Fix wrong linear heap base on titles using newer kernelsYuri Kunde Schlesner2015-08-281-1/+1
* Kernel: Fix assertion failure when ControlMemory is called with size=0Yuri Kunde Schlesner2015-08-271-0/+8
* Kernel: Implement svcGetProcessInfo in a basic wayYuri Kunde Schlesner2015-08-161-0/+10
* Kernel: Add more infrastructure to support different memory layoutsYuri Kunde Schlesner2015-08-161-16/+28
* Move core/mem_map.{cpp,h} => core/hle/kernel/memory.{cpp,h}Yuri Kunde Schlesner2015-08-161-1/+1
* Process: Store kernel compatibility version during loadingYuri Kunde Schlesner2015-08-161-3/+5
* Kernel: Properly implement ControlMemory FREE and COMMITYuri Kunde Schlesner2015-08-161-5/+115
* VMManager: Make LogLayout log level configurable as a parameterYuri Kunde Schlesner2015-08-161-1/+1
* Core: Properly configure address space when loading a binaryYuri Kunde Schlesner2015-07-121-6/+32
* Merge pull request #772 from lioncash/warnbunnei2015-05-181-3/+3
|\
| * process: Get rid of warningsLioncash2015-05-141-3/+3
* | Core/ResourceLimits: Implemented the basic structure of ResourceLimits.Subv2015-05-151-0/+1
* | Memmap: Re-organize memory function in two filesYuri Kunde Schlesner2015-05-151-1/+1
|/
* Merge pull request #750 from Subv/process_svcYuri Kunde Schlesner2015-05-121-0/+2
|\
| * Core/HLE: Implemented the SVCs GetProcessId and GetProcessIdOfThreadSubv2015-05-111-0/+2
* | Thread: Correctly set main thread initial stack positionYuri Kunde Schlesner2015-05-111-1/+1
|/
* Common: Remove the BIT macroYuri Kunde Schlesner2015-05-091-2/+2
* Kernel: Remove unused g_main_thread variableYuri Kunde Schlesner2015-05-091-1/+1
* Process: Rename StaticAddressMapping => AddressMappingYuri Kunde Schlesner2015-05-091-3/+3
* Process: Use BitField to store process flagsYuri Kunde Schlesner2015-05-091-10/+4
* Process: Support parsing of exheader kernel capsYuri Kunde Schlesner2015-05-091-3/+70
* Kernel: Introduce skeleton Process class to hold process dataYuri Kunde Schlesner2015-05-091-0/+35