summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/process.cpp (unfollow)
Commit message (Expand)AuthorFilesLines
2021-05-06hle: kernel: Rename Process to KProcess.bunnei1-505/+0
2021-05-06hle: kernel: Migrate KResourceLimit to KAutoObject.bunnei1-2/+18
2021-05-06hle: kernel: svc_results: Update naming..bunnei1-1/+1
2021-05-06hle: kernel: Refactor several threads/events/sharedmemory to use slab heaps.bunnei1-1/+1
2021-05-06hle: kernel: Migrate KProcess to KAutoObject.bunnei1-13/+18
2021-05-06hle: kernel: Migrate more of KThread to KAutoObject.bunnei1-7/+8
2021-04-15common: Move settings to common from core.bunnei1-1/+1
2021-04-12kernel/process: Replace process resource limit instance with the kernel's resource limitameerj1-22/+2
2021-03-06hle: kernel: KThread: Rework dummy threads & fix memory leak.bunnei1-2/+3
2021-02-19hle: kernel: Migrate PageHeap/PageTable to KPageHeap/KPageTable.bunnei1-4/+4
2021-02-19hle: kernel: Migrate MemoryManager to KMemoryManager.bunnei1-2/+7
2021-02-19hle: kernel: Migrate to KMemoryBlock, KMemoryBlockManager, and others.bunnei1-21/+20
2021-02-13kernel: More accurately reserve and release resourcesameerj1-1/+2
2021-02-13kernel: KScopedReservation implementationameerj1-7/+26
2021-02-13kernel: Unify result codes (#5890)Chloe1-3/+2
2021-02-05hle: kernel: svc: Cleanup KEvent/KReadableEvent/KWritableEvent SVCs.bunnei1-10/+9
2021-02-03Simplify limitableresource namesChloe Marcec1-9/+9
2021-01-30Move to GetGlobalTimeNs, fix GetTotalPhysicalMemoryAvailableChloe Marcec1-1/+1
2021-01-30kernel: Rewrite resource limit to be more accurateChloe Marcec1-12/+12
2021-01-29hle: kernel: process: Add state lock.bunnei1-2/+2
2021-01-29hle: kernel: Recode implementation of KThread to be more accurate.bunnei1-1/+73
2021-01-29hle: kernel: KThread: Clean up thread priorities.bunnei1-1/+1
2021-01-29hle: kernel: KThread: Fix ThreadType definition.bunnei1-2/+1
2021-01-29core: hle: kernel: Rename Thread to KThread.bunnei1-7/+7
2021-01-11core: hle: Integrate new KConditionVariable and KAddressArbiter implementations.bunnei1-45/+3
2021-01-11hle: kernel: thread: Replace ThreadStatus/ThreadSchedStatus with a single ThreadState.bunnei1-2/+2
2021-01-11core: hle: kernel: Update KSynchronizationObject.bunnei1-12/+9
2020-12-06hle: kernel: Migrate to KScopedSchedulerLock.bunnei1-4/+4
2020-12-06hle: kernel: Rewrite scheduler implementation based on Mesopshere.bunnei1-3/+3
2020-10-29kernel/process: Add missing <ctime> includeMorph1-0/+1
2020-10-27kernel: Use the current time as the default RNG seedlat9nq1-1/+1
2020-10-21Revert "core: Fix clang build"bunnei1-9/+8
2020-10-18core: Fix clang buildLioncash1-8/+9
2020-07-15kernel/handle_table: Remove usages of the global system instanceLioncash1-1/+1
2020-07-10configuration: implement per-game configurations (#4098)lat9nq1-1/+1
2020-06-27Process: Protect TLS region and Modules.Fernando Sahmkow1-0/+4
2020-06-27SVC: Correct WaitSynchronization, WaitProcessWideKey, SignalProcessWideKey.Fernando Sahmkow1-1/+0
2020-06-27SVC: Correct SignalEvent, ClearEvent, ResetSignal, WaitSynchronization, CancelSynchronization, ArbitrateLockFernando Sahmkow1-0/+1
2020-06-27General: Recover Prometheus project from harddrive failure Fernando Sahmkow1-6/+11
2020-06-10kernel: Account for system resource size for memory usageDavid Marcec1-2/+4
2020-04-17kernel: process: Updates for new VMM.bunnei1-61/+124
2020-04-17core: memory: Move to Core::Memory namespace.bunnei1-6/+7
2020-04-17process: SetupMainThread: Zero out argument on process start.bunnei1-0/+2
2020-03-03core: Implement separate A32/A64 ARM interfaces.bunnei1-1/+2
2020-02-11Kernel: Refactor synchronization to better match REFernando Sahmkow1-1/+1
2020-02-11Kernel: Change WaitObject to Synchronization object. In order to better reflect RE.Fernando Sahmkow1-1/+1
2020-01-11core/kernel: Fix GetTotalPhysicalMemoryUsed.Markus Wick1-2/+2
2019-11-25kernel: Replace usage of boost::intrusive_ptr with std::shared_ptr for kernel objects. (#3154)bunnei1-16/+17
2019-11-21Kernel: Optimize condition variable threads management.Fernando Sahmkow1-21/+17
2019-11-21Kernel: Correct behavior of Condition Variables to be more similar to real hardware.Fernando Sahmkow1-0/+46
2019-10-15Correct compiling errors and addapt to the new interface.Fernando Sahmkow1-4/+1
2019-07-19VM_Manager: Align allocated memory to 256bytesFernando Sahmkow1-3/+3
2019-07-07clang-format fixesMichael Scire1-1/+2
2019-07-07address review commentaryMichael Scire1-9/+5
2019-07-07Implement MapPhysicalMemory/UnmapPhysicalMemoryMichael Scire1-0/+1
2019-07-07kernel/process: Allocate the process' TLS region during initializationLioncash1-0/+5
2019-07-07kernel/process: Move main thread stack allocation to its own functionLioncash1-12/+14
2019-07-04kernel/process: Decouple TLS handling from threadsLioncash1-45/+90
2019-06-10kernel: Differentiate kernel and user processes when picking IDZach Hilman1-2/+4
2019-06-10kernel/process: Make Create()'s name parameter be taken by valueLioncash1-1/+1
2019-06-10kernel/svc: Implement TotalMemoryUsedWithoutMmHeap/TotalMemoryAvailableWithoutMmHeapLioncash1-0/+16
2019-04-17kernel/thread: Unify wait synchronization typesLioncash1-2/+1
2019-04-17kernel/vm_manager: Remove usages of global system accessorsLioncash1-1/+2
2019-04-14kernel/thread: Remove unused guest_handle member variableLioncash1-3/+2
2019-04-12core/core: Move process execution start to System's Load()Lioncash1-6/+6
2019-04-12core/process: Remove unideal page table setting from LoadFromMetadata()Lioncash1-5/+0
2019-04-12core/cpu_core_manager: Create threads separately from initialization.Lioncash1-1/+1
2019-04-09kernel/process: Set page table when page table resizes occur.Lioncash1-0/+2
2019-04-07kernel: Handle page table switching within MakeCurrentProcess()Lioncash1-3/+0
2019-04-02kernel/svc: Implement svcGetThreadListLioncash1-0/+8
2019-04-02process: Fix up compilationReinUsesLisp1-1/+1
2019-04-02kernel/wait_object: Make ShouldWait() take thread members by pointer-to-constLioncash1-1/+1
2019-03-29kernel/process: Report total physical memory used to svcGetInfoLioncash1-0/+4
2019-03-29kernel/process: Store the total size of the code memory loadedLioncash1-0/+2
2019-03-28kernel/process: Store the main thread stack size to a data memberLioncash1-4/+4
2019-03-28kernel/process: Make Run's stack size parameter a u64Lioncash1-1/+1
2019-03-28kernel/process: Ensure that given stack size is always page-alignedLioncash1-0/+4
2019-03-22kernel/codeset: Make CodeSet's memory data member a regular std::vectorLioncash1-2/+4
2019-03-21kernel/vm_manager: Rename CodeStatic/CodeMutable to Code and CodeData respectivelyLioncash1-3/+3
2019-03-20kernel/process: Make MapSegment lambda reference parameter constLioncash1-1/+1
2019-03-20kernel: Move CodeSet structure to its own source filesLioncash1-3/+1
2019-03-17core: Move PageTable struct into Common.bunnei1-1/+1
2019-03-15core/hle/kernel: Make Mutex a per-process class.Lioncash1-1/+2
2019-03-13kernel/process: Remove use of global system accessorsLioncash1-7/+4
2019-03-08kernel: Make the address arbiter instance per-processLioncash1-4/+5
2019-02-25kernel/handle_table: Allow process capabilities to limit the handle table sizeLioncash1-1/+7
2018-12-28kernel/process: Start the main thread using the specified ideal coreLioncash1-2/+2
2018-12-28kernel: Rename 'default' CPU core to 'ideal' coreLioncash1-1/+1
2018-12-28kernel/thread: Move process thread initialization into process.cppLioncash1-1/+30
2018-12-28kernel/process: Remove most allocation functions from Process' interfaceLioncash1-16/+0
2018-12-21kernel/process: Hook up the process capability parser to the process itselfLioncash1-75/+5
2018-12-12vm_manager: Amend MemoryState enum membersLioncash1-1/+1
2018-12-05kernel/process: Set ideal core from metadataLioncash1-0/+1
2018-12-05kernel/process: Make Process a WaitObjectLioncash1-3/+39
2018-12-04kernel/svc: Implement the resource limit svcGetInfo optionLioncash1-0/+4
2018-11-20kernel/process: Move <random> include to the cpp fileLioncash1-0/+1
2018-11-20kernel/resource_limit: Clean up interfaceLioncash1-1/+1
2018-11-18ldr_ro: Add error check for memory allocation failureZach Hilman1-2/+2
2018-11-13kernel/process: Migrate heap-related memory management out of the process class and into the vm managerLioncash1-73/+3
2018-11-13svc: Use proper random entropy generation algorithmZach Hilman1-0/+6
2018-10-26process: LoadModule should clear JIT instruction cache.bunnei1-0/+6
2018-10-15core_cpu: Make Cpu scheduler instances unique_ptrs instead of shared_ptrsLioncash1-5/+5
2018-10-12kernel/process: Make CodeSet a regular non-inherited objectLioncash1-15/+9
2018-10-04kernel/thread: Make all instance variables privateLioncash1-3/+3
2018-09-30kernel/process: Add a data member to determine if a process is 64-bit or not.Lioncash1-0/+1
2018-09-25memory: Dehardcode the use of fixed memory range constantsLioncash1-10/+10
2018-09-24process/vm_manager: Amend API to allow reading parameters from NPDM metadataLioncash1-0/+8
2018-09-21svc: Move most process termination code to its own function within ProcessLioncash1-0/+29
2018-09-21thread/process: Move TLS slot marking/freeing to the process classLioncash1-0/+58
2018-09-21kernel/thread: Use owner_process when setting the page table in SetupMainThread()Lioncash1-1/+1
2018-09-15Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi1-3/+3
2018-08-29kernel: Eliminate kernel global stateLioncash1-29/+11
2018-08-03kernel/process: Use accessors instead of class members for referencing segment arrayLioncash1-3/+3
2018-08-03core/memory: Get rid of 3DS leftoversLioncash1-76/+2
2018-07-03Rename logging macro back to LOG_*James Rowe1-4/+4
2018-05-02general: Make formatting of logged hex values more straightforwardLioncash1-1/+1
2018-04-27core: Replace usages of LOG_GENERIC with new fmt-capable equivalentsLioncash1-1/+1
2018-04-26kernel: Migrate logging macros to fmt-compatible onesLioncash1-4/+4
2018-03-31memory: Fix stack region.bunnei1-2/+3
2018-03-17process: MirrorMemory should use MemoryState::Mapped.bunnei1-1/+1
2018-03-16process: Unmap previously allocated heap.bunnei1-1/+3
2018-03-16kernel: Move stack region outside of application heap.bunnei1-3/+2
2018-03-16process: Fix stack memory state.bunnei1-2/+4
2018-03-16MemoryState: Add additional memory states and improve naming.bunnei1-3/+3
2018-03-14core: Move process creation out of global state.bunnei1-3/+2
2018-03-02Kernel: Store the program id in the Process class instead of the CodeSet class.Subv1-5/+3
2018-01-01svc: Implement svcExitProcess.bunnei1-5/+27
2017-12-31svc: Implement svcUnmapMemory.bunnei1-0/+4
2017-12-29kernel: Various 64-bit fixes in memory/process/threadbunnei1-1/+1
2017-12-29process: Add method to mirror a memory region.bunnei1-0/+25
2017-10-20hle: Fix QueryMemory response for MemoryInfo.bunnei1-37/+5
2017-10-10loader: Various improvements for NSO/NRO loaders.bunnei1-3/+3
2017-09-30nso: Refactor and allocate .bss section.bunnei1-4/+5
2017-09-30process: Support loading multiple codesets.bunnei1-19/+20
2017-09-27Kernel/Thread: Allow specifying which process a thread belongs to when creating it.Subv1-1/+1
2017-06-19Kernel: Add comment about the extended linear heap areaYuri Kunde Schlesner1-0/+2
2017-05-25Kernel: Centralize error definitions in errors.hYuri Kunde Schlesner1-0/+1
2017-05-10Kernel: Map special regions according to ExHeaderYuri Kunde Schlesner1-4/+19
2016-09-21Use negative priorities to avoid special-casing the self-includeYuri Kunde Schlesner1-1/+1
2016-09-21Remove empty newlines in #include blocks.Emmanuel Gil Peyrot1-3/+1
2016-09-19Manually tweak source formatting and then re-run clang-formatYuri Kunde Schlesner1-8/+4
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot1-25/+40
2016-05-13Kernel/SVC: Fixed the register order for svcCreateMemoryBlock.Subv1-1/+1
2016-04-05Common: Remove Common::make_unique, use std::make_uniqueMerryMage1-1/+2
2016-03-06Memory: Do correct Phys->Virt address translation for non-APP linheapYuri Kunde Schlesner1-2/+4
2016-02-12BitField: Make trivially copyable and remove assignment operatorMerryMage1-1/+1
2015-12-01Kernel: Implement svcGetSystemInfoYuri Kunde Schlesner1-0/+6
2015-08-28Kernel: Fix wrong linear heap base on titles using newer kernelsYuri Kunde Schlesner1-1/+1
2015-08-27Kernel: Fix assertion failure when ControlMemory is called with size=0Yuri Kunde Schlesner1-0/+8
2015-08-16Kernel: Implement svcGetProcessInfo in a basic wayYuri Kunde Schlesner1-0/+10
2015-08-16Kernel: Add more infrastructure to support different memory layoutsYuri Kunde Schlesner1-16/+28
2015-08-16Move core/mem_map.{cpp,h} => core/hle/kernel/memory.{cpp,h}Yuri Kunde Schlesner1-1/+1
2015-08-16Process: Store kernel compatibility version during loadingYuri Kunde Schlesner1-3/+5
2015-08-16Kernel: Properly implement ControlMemory FREE and COMMITYuri Kunde Schlesner1-5/+115
2015-08-16VMManager: Make LogLayout log level configurable as a parameterYuri Kunde Schlesner1-1/+1
2015-07-12Core: Properly configure address space when loading a binaryYuri Kunde Schlesner1-6/+32
2015-05-15Core/ResourceLimits: Implemented the basic structure of ResourceLimits.Subv1-0/+1
2015-05-15Memmap: Re-organize memory function in two filesYuri Kunde Schlesner1-1/+1
2015-05-14process: Get rid of warningsLioncash1-3/+3
2015-05-11Core/HLE: Implemented the SVCs GetProcessId and GetProcessIdOfThreadSubv1-0/+2
2015-05-11Thread: Correctly set main thread initial stack positionYuri Kunde Schlesner1-1/+1
2015-05-09Common: Remove the BIT macroYuri Kunde Schlesner1-2/+2
2015-05-09Kernel: Remove unused g_main_thread variableYuri Kunde Schlesner1-1/+1
2015-05-09Process: Rename StaticAddressMapping => AddressMappingYuri Kunde Schlesner1-3/+3
2015-05-09Process: Use BitField to store process flagsYuri Kunde Schlesner1-10/+4
2015-05-09Process: Support parsing of exheader kernel capsYuri Kunde Schlesner1-3/+70
2015-05-09Kernel: Introduce skeleton Process class to hold process dataYuri Kunde Schlesner1-0/+35