summaryrefslogtreecommitdiff
path: root/src/core (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* nso: Add a log for loading submodules.Gravatar bunnei2017-10-141-0/+1
|
* svc: Some logging cleanup.Gravatar bunnei2017-10-141-7/+5
|
* svc: Update MemoryInfo flags for 64-bit.Gravatar bunnei2017-10-141-5/+5
|
* svc: Initial nx impl. for QueryMemory, ConnectToPort, SendSyncRequest, etc.Gravatar bunnei2017-10-141-1185/+185
|
* Remove more 3DS-specific code.Gravatar bunnei2017-10-135-48/+3
|
* Remove more 3DS-specific code.Gravatar bunnei2017-10-126-1413/+1
|
* Remove more 3DS-specific code.Gravatar bunnei2017-10-123-55/+0
|
* Remove lots more 3DS-specific code.Gravatar bunnei2017-10-1248-6870/+6
|
* hle: Remove a large amount of 3ds-specific service code.Gravatar bunnei2017-10-10195-22288/+2
|
* Merge remote-tracking branch 'upstream/master' into nxGravatar bunnei2017-10-09116-1713/+3915
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # src/core/CMakeLists.txt # src/core/arm/dynarmic/arm_dynarmic.cpp # src/core/arm/dyncom/arm_dyncom.cpp # src/core/hle/kernel/process.cpp # src/core/hle/kernel/thread.cpp # src/core/hle/kernel/thread.h # src/core/hle/kernel/vm_manager.cpp # src/core/loader/3dsx.cpp # src/core/loader/elf.cpp # src/core/loader/ncch.cpp # src/core/memory.cpp # src/core/memory.h # src/core/memory_setup.h
| * Change command header in nwm::UDS Initialize functionGravatar Dragios2017-10-091-1/+1
| |
| * Merge pull request #2991 from Subv/getpointerGravatar Sebastian Valle2017-10-083-63/+61
| |\ | | | | | | Remove more usages of GetPointer.
| | * SVC: Removed GetPointer usage in the GetResourceLimit functions.Gravatar Subv2017-10-041-10/+16
| | |
| | * SVC: Remove GetPointer usage in CreatePort.Gravatar Subv2017-10-042-6/+4
| | |
| | * SVC: Replace GetPointer usage with ReadCString in ConnectToPort.Gravatar Subv2017-10-042-20/+9
| | |
| | * SVC: Replace GetPointer usage with ReadBlock in OutputDebugString.Gravatar Subv2017-10-042-4/+6
| | |
| | * SVC: Replace GetPointer usage with Read32 in ReplyAndReceive.Gravatar Subv2017-10-042-7/+6
| | |
| | * SVC: Replace GetPointer usage with Read32 in WaitSynchronizationN.Gravatar Subv2017-10-042-8/+8
| | |
| | * Memory: Remove all GetPointer usages from the GDB stub.Gravatar Subv2017-10-041-8/+12
| | |
| * | Merge pull request #2975 from ↵Gravatar Sebastian Valle2017-10-067-78/+581
| |\ \ | | | | | | | | | | | | | | | | shinyquagsire23/archive-ncch-container-and-override file_sys/archive_ncch: use NCCHs/.apps instead of .romfs files, NCCH section override
| | * | file_sys, loader: add support for reading TMDs to determine app pathsGravatar shinyquagsire232017-10-012-5/+27
| | | |
| | * | file_sys: add class for Title Metadata (TMD)Gravatar shinyquagsire232017-10-013-0/+338
| | | |
| | * | file_sys/ncch_container: add RomFS, ExeFS override to allow for backward ↵Gravatar shinyquagsire232017-10-012-69/+206
| | | | | | | | | | | | | | | | compatibility with existing .romfs system archive dumps
| | * | file_sys/archive_ncch: use NCCHContainer instead of loading .romfs filesGravatar shinyquagsire232017-10-011-6/+12
| | | |
| * | | Merge pull request #2953 from Subv/applet_launchGravatar Sebastian Valle2017-10-042-30/+47
| |\ \ \ | | | | | | | | | | HLE/APT: Always set up the APT parameter when starting a library applet.
| | * | | HLE/APT: Always set up the APT parameter when starting a library applet.Gravatar Subv2017-09-252-30/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only use the HLE interface if an HLE applet with the desired id was started. This commit reorganizes the APT code surrounding parameter creation and delivery to make it easier to support LLE applets in the future. As future work, the HLE applet interface can be reworked to utilize the same facilities as the LLE interface.
| * | | | Merge pull request #2977 from Subv/shmem_createGravatar bunnei2017-10-031-15/+12
| |\ \ \ \ | | |_|_|/ | |/| | | SharedMemory: Don't take over and unmap the source memory block when creating a shared memory, just reference it
| | * | | Kernel/SharedMemory: Don't take over and unmap the source memory block when ↵Gravatar Subv2017-10-021-15/+12
| | | |/ | | |/| | | | | | | | | | | | | | | | | creating a shared memory, just reference it. Also reference the right offset into the backing block for the requested address.
| * | | Merge pull request #2971 from Subv/per_process_memopsGravatar Sebastian Valle2017-10-014-22/+61
| |\ \ \ | | | | | | | | | | Memory: Add overloads for ReadBlock and WriteBlock that operate on a specific process.
| | * | | Memory: Make WriteBlock take a Process parameter on which to operateGravatar Subv2017-10-012-10/+19
| | | | |
| | * | | Memory: Make ReadBlock take a Process parameter on which to operateGravatar Subv2017-10-012-12/+30
| | | | |
| | * | | Kernel/Thread: Added a helper function to get a thread's command buffer VAddr.Gravatar Subv2017-10-012-0/+12
| | | | |
| * | | | Merge pull request #2974 from Subv/nim_eventGravatar Sebastian Valle2017-10-013-2/+29
| |\ \ \ \ | | |_|/ / | |/| | | Services/NIM: Implement CheckForSysUpdateEvent.
| | * | | Services/NIM: Implement CheckForSysUpdateEvent.Gravatar Subv2017-09-303-2/+29
| | | | | | | | | | | | | | | | | | | | | | | | | Implementation verified by reverse engineering. This lets the Home Menu boot without crashing on startup.
| * | | | Moved down_count to CoreTimingGravatar Huw Pascoe2017-09-308-42/+32
| |/ / /
| * | | Services/UDS: Handle the rest of the connection sequence. (#2963)Gravatar B3n302017-09-303-19/+250
| | | | | | | | | | | | Services/UDS: Handle the rest of the connection sequence.
| * | | Merge pull request #2946 from Subv/home_menu_aptGravatar Sebastian Valle2017-09-303-8/+45
| |\ \ \ | | | | | | | | | | Implement PrepareToStartNewestHomeMenu and fixed an APT regression.
| | * | | HLE/APT: Always return an error from PrepareToStartNewestHomeMenu so that ↵Gravatar Subv2017-09-243-2/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the Home Menu doesn't try to reboot the system. As per 3dbrew: "During Home Menu start-up it uses APT:PrepareToStartNewestHomeMenu. If that doesn't return an error(normally NS returns 0xC8A0CFFC for that), Home Menu starts a hardware reboot with APT:StartNewestHomeMenu etc. "
| | * | | HLE/APT: Prepare the APT Wakeup parameter when the game calls InitializeGravatar Subv2017-09-241-6/+19
| | | |/ | | |/| | | | | | | | | | | | | We need to know what is being run so we can set the APT parameter destination AppId correctly. Delaying the preparation of the parameter until we know which AppId is running lets us support booting both the Home Menu and normal game Applications.
| * | | Merge pull request #2967 from Subv/thread_wakeup_callbacksGravatar Sebastian Valle2017-09-304-17/+91
| |\ \ \ | | |_|/ | |/| | Kernel/Threads: When putting a thread to wait, specify a function to execute when it is awoken
| | * | Kernel/Threads: When putting a thread to wait, specify a function to execute ↵Gravatar Subv2017-09-284-17/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when it is awoken. This change makes for a clearer (less confusing) path of execution in the scheduler, now the code to execute when a thread awakes is closer to the code that puts the thread to sleep (WaitSynch1, WaitSynchN). It also allows us to implement the special wake up behavior of ReplyAndReceive without hacking up WaitObject::WakeupAllWaitingThreads. If savestates are desired in the future, we can change this implementation to one similar to the CoreTiming event system, where we first register the callback functions at startup and assign their identifiers to the Thread callback variable instead of directly assigning a lambda to the wake up callback variable.
| * | | Fixed type conversion ambiguityGravatar Huw Pascoe2017-09-3023-72/+83
| | | |
| * | | Merge pull request #2961 from Subv/load_titlesGravatar bunnei2017-09-2914-61/+87
| |\ \ \ | | |/ / | |/| | Loaders: Don't automatically set the current process every time we load an application.
| | * | Loaders: Don't automatically set the current process every time we load an ↵Gravatar Subv2017-09-268-37/+40
| | | | | | | | | | | | | | | | | | | | | | | | application. The loaders will now just create a Kernel::Process, construct it and return it to the caller, which is responsible for setting it as the current process and configuring the global page table.
| | * | Kernel/Thread: Allow specifying which process a thread belongs to when ↵Gravatar Subv2017-09-264-17/+22
| | | | | | | | | | | | | | | | | | | | | | | | creating it. Don't automatically assume that Thread::Create will only be called when the parent process is currently scheduled. This assumption will be broken when applets or system modules are loaded.
| | * | Memory: Allow IsValidVirtualAddress to be called with a specific process ↵Gravatar Subv2017-09-262-7/+25
| | | | | | | | | | | | | | | | | | | | | | | | parameter. There is still an overload of IsValidVirtualAddress that only takes the VAddr and will default to the current process.
| * | | Merge pull request #2954 from Subv/cache_unmapped_memGravatar James Rowe2017-09-261-1/+16
| |\ \ \ | | |/ / | |/| | Memory/RasterizerCache: Ignore unmapped memory regions when caching physical regions
| | * | Memory/RasterizerCache: Ignore unmapped memory regions when caching physical ↵Gravatar Subv2017-09-251-1/+16
| | |/ | | | | | | | | | | | | | | | | | | | | | regions. Not all physical regions need to be mapped into the address space of every process, for example, system modules do not have a VRAM mapping. This fixes a crash when loading applets and system modules.
| * | HLE/Archives: Allow multiple loaded applications to access their SelfNCCH ↵Gravatar Subv2017-09-256-18/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | archive independently. The loaders now register each loaded ROM with the SelfNCCH factory, which keeps the data around for the duration of the emulation session. When opening the SelfNCCH archive, the factory queries the current program's programid and uses that as a key to the map that contains the NCCHData structure (RomFS, Icon, Banner, etc). 3dsx files do not have a programid and will use a default of 0 for this value, thus, only 1 3dsx file with RomFS is loadable at the same time.
| * | Merge pull request #2952 from MerryMage/page-tablesGravatar B3n302017-09-2511-26/+55
| |\ \ | | | | | | | | Switchable Page Tables