aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel
AgeCommit message (Collapse)Author
2016-05-17Merge pull request #1800 from JayFoxRox/set-fpscrbunnei
Set fpscr for new threads
2016-05-17Set fpscr for new threadsJannik Vogel
2016-05-14Memory: Fixed a regression caused by #1695 and #1689.Subv
Reserve enough space in the vector that holds the linear heap memory to prevent relocations of the backing memory when growing too much. Closes #1790
2016-05-13Merge pull request #1689 from Subv/shmembunnei
Kernel: Implemented shared memory.
2016-05-12Merge pull request #1695 from Subv/tls_allocbunnei
Kernel/Threads: Dynamically allocate the TLS region for threads.
2016-05-12HLE/Applets: Give each applet its own block of heap memory, and use that ↵Subv
when creating the framebuffer shared memory block.
2016-05-12Kernel: Account for automatically-allocated shared memories in the amount of ↵Subv
used linear heap memory.
2016-05-12Kernel/SharedMemory: Log an error when Map fails.Subv
2016-05-12Kernel: Implemented shared memory permissions.Subv
2016-05-12Kernel/Memory: Remove the Shared Memory region from the legacy memory map.Subv
2016-05-12Kernel/SharedMemory: Properly implemented shared memory support.Subv
Applications can request the kernel to allocate a piece of the linear heap for them when creating a shared memory object. Shared memory areas are now properly mapped into the target processes when calling svcMapMemoryBlock. Removed the APT Shared Font hack as it is no longer needed.
2016-05-12Kernel/SVC: Fixed the register order for svcCreateMemoryBlock.Subv
R0 is used as the last parameter instead of R4.
2016-05-08Merge pull request #1766 from Subv/log_cpubunnei
Kernel/Threading: Warn when a thread can be scheduled in the Syscore (Core 1)
2016-05-07Kernel/Threading: Warn when a thread can be scheduled in the Syscore (Core 1).Subv
We do not currently implement any cores other than the AppCore (Core 0).
2016-05-07Kernel/Threads: Dynamically allocate the TLS region for threads in the BASE ↵Subv
region of the linear heap. Each thread gets a 0x200-byte area from the 0x1000-sized page, when all 8 thread slots in a single page are used up, the kernel allocates a new page to hold another 8 entries. This is consistent with what the real kernel does.
2016-05-05Merge pull request #1762 from bunnei/globalbunnei
hle: Get rid of direct global access to g_reschedule
2016-04-05Merge pull request #1643 from MerryMage/make_uniqueMathew Maidment
Common: Remove Common::make_unique, use std::make_unique
2016-04-05Common: Remove Common::make_unique, use std::make_uniqueMerryMage
2016-03-21session: Make helper functions constexprLioncash
2016-03-21hle: Get rid of global access to g_rescheduleLioncash
This shouldn't be directly exposed if there's already a partial API that operates on it. We can just provide the rest of that API.
2016-03-12svc: Move ResetType enum to the kernel event headerLioncash
2016-03-12svc: Make ResetType an enum classLioncash
2016-03-05Memory: Do correct Phys->Virt address translation for non-APP linheapYuri Kunde Schlesner
2016-02-21AudioCore: Skeleton ImplementationMerryMage
This commit: * Adds a new subproject, audio_core. * Defines structures that exist in DSP shared memory. * Hooks up various other parts of the emulator into audio core. This sets the foundation for a later HLE DSP implementation.
2016-02-12BitField: Make trivially copyable and remove assignment operatorMerryMage
2016-01-30Memory: Implement MMIOMerryMage
2016-01-14HLE/SVC: Implement UnmapMemoryBlock.Subv
This implementation will need to be (almost completely) changed when we implement multiprocess support.
2015-12-29HLE/Timers: Reset OneShot timers when they are acquired instead of when ↵Subv
they're triggered. Closes #1139
2015-12-27SVC: Fixed ArbitrateAddress to behave as it does on hardware.Subv
This was verified with hwtests that i plan to upload later on.
2015-11-30Kernel: Implement svcGetSystemInfoYuri Kunde Schlesner
This makes smealum/ctrulib@b96dd51d3349961189d4ab1bc2a5c45deff21c09 work with Citra.
2015-10-06Silence -Wsign-compare warnings.Rohit Nirmal
2015-09-16general: Silence some warnings when using clangLioncash
2015-09-10General: Fix up doxygen commentsLioncash
2015-08-27Kernel: Fix wrong linear heap base on titles using newer kernelsYuri Kunde Schlesner
Typo which sneaked in through review on #1025
2015-08-26Kernel: Fix assertion failure when ControlMemory is called with size=0Yuri Kunde Schlesner
2015-08-26Core: Improve APT Shared Font hackYuri Kunde Schlesner
Should fix invalid read loops in some games
2015-08-16Kernel: Remove unused legacy heap MapBlock_* functionsYuri Kunde Schlesner
2015-08-16Kernel: Implement svcGetProcessInfo in a basic wayYuri Kunde Schlesner
This also adds some basic memory usage accounting. These two types are used by Super Smash Bros. during startup.
2015-08-16Kernel: Add more infrastructure to support different memory layoutsYuri Kunde Schlesner
This adds some structures necessary to support multiple memory regions in the future. It also adds support for different system memory types and the new linear heap mapping at 0x30000000.
2015-08-16Move core/mem_map.{cpp,h} => core/hle/kernel/memory.{cpp,h}Yuri Kunde Schlesner
2015-08-16Memory: Move address type conversion routines to memory.cpp/hYuri Kunde Schlesner
These helpers aren't really part of the kernel, and mem_map.cpp/h is going to be moved there next.
2015-08-16Process: Store kernel compatibility version during loadingYuri Kunde Schlesner
2015-08-16Kernel: Properly implement ControlMemory FREE and COMMITYuri Kunde Schlesner
2015-08-16VMManager: Introduce names for used ResultCodesYuri Kunde Schlesner
2015-08-16VMManager: Make LogLayout log level configurable as a parameterYuri Kunde Schlesner
2015-08-16VMManager: Change block offsets to size_tYuri Kunde Schlesner
2015-07-25dyncom: Rename armdefs.h to armstate.hLioncash
2015-07-20Kernel/Scheduling: Clean up a thread's wait_objects when its scheduled.Subv
They'll be reset if needed during the next svcWaitSynchronization call (if there's any pending)
2015-07-17Ensure all kernel objects are released during shutdownYuri Kunde Schlesner
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.
2015-07-12Merge pull request #921 from linkmauve/fix-appletbunnei
Fix applet includes using iwyu