Commit Graph

4461 Commits (f10a304ecdc2457124d6333862bdaaa46577fe1e)

Author SHA1 Message Date
bunnei b9950cd4b0 svc: Implement svcLockMutex. 9 years ago
bunnei d0046b120a kernel: Add ObjectAddressTable class. 9 years ago
bunnei 1cb978eb82 thread: Keep track of the initially created handle.
This is kinda crufty, but we need it for now to update guest state variables.
9 years ago
bunnei 45debfe4fd svc: Implement svcExitThread. 9 years ago
bunnei 9d0c3bda7f svc: Implement svcCreateThread. 9 years ago
bunnei 001091fa72 svc: Cleanup svcGetThreadPriority. 9 years ago
bunnei 283c63645d svc: Stub out svcGetCurrentProcessorNumber. 9 years ago
bunnei c7983e970c errors: Define missing kernel error codes. 9 years ago
bunnei 8a7f8f3e2c svc: Implement svcSetThreadPriority. 9 years ago
bunnei 960e8dc5e5 svc: Change SignalProcessWideKey to a stub. 9 years ago
bunnei f24531b1a2 function_wrappers: Cleanup, fix warnings, remove unused code. 9 years ago
bunnei 3a91a62b8f svc: Implement svcUnmapMemory. 9 years ago
bunnei a3228d9b77 svc: Minor cleanups. 9 years ago
bunnei 8ab33616ac svc: Implement svcStartThread. 9 years ago
bunnei b6087e35b5 thread: Main thread should set thread handle to reg 1. 9 years ago
bunnei 7ccd8de863 thread: Remove THUMB mode flag. 9 years ago
bunnei eed4f2e229 thread: Main thread should be ready by default, all others dormant. 9 years ago
bunnei ebd4b1422d kernel: Various 64-bit fixes in memory/process/thread 9 years ago
bunnei 1d01ffccb8 applet_oe: Stub out a bunch of interfaces necessary for boot. 9 years ago
bunnei 30e98fae3f controller: Implement DuplicateSession. 9 years ago
bunnei dcdaac8a0b kernel: Fix implementation of ConvertSessionToDomain. 9 years ago
bunnei b67cbb8d92 ap, aoc_u: Minor cleanup. 9 years ago
bunnei fcd4c1a0dc service: Add empty interface for pctl:a. 9 years ago
bunnei e17c0019c5 kernel: Add basic support for Domain object. 9 years ago
bunnei 834fa5db65 kernel: Add SyncObject primitive, use it for ClientSession. 9 years ago
bunnei 6e021f22b8 svc: Implement MapMemory. 9 years ago
bunnei 3421e1617e process: Add method to mirror a memory region. 9 years ago
bunnei 7618b5237d svc: Implement SetHeapSize. 9 years ago
bunnei ad073846bc service: Clean up apm/lm/applet_oe/controller/sm ctor/dtor. 9 years ago
bunnei 16fb1c8fe7 service: Halt on ReportUnimplementedFunction and improve output log. 9 years ago
bunnei d5995fd30f service: Add empty interface for aoc:u. 9 years ago
bunnei 3597650f22 service: Return proper result code for IPC::CommandType::Close. 9 years ago
bunnei 34571f4d2e hle: Use Switch formatted result codes. 9 years ago
bunnei 266c1c8020 svc: Implement GetThreadId and GetProcessId. 9 years ago
bunnei 45db4bb3ea logging: Rename category "Core_ARM11" to "Core_ARM". 9 years ago
bunnei 3f0caefdf5 nso: Load more common submodules. 9 years ago
bunnei 9ceb0d9381 memory: Support 32-bit paging, move heap address space up. 9 years ago
bunnei dcd6bb82f7 hle: Fix QueryMemory response for MemoryInfo. 9 years ago
bunnei 716e5cf070 lm: Implement lm::Initialize and Logger::log. 9 years ago
bunnei 654fae29c1 hle_ipc: Only copy necessary fields for outgoing command buffer. 9 years ago
bunnei b283cf7348 hle_ipc: Parse out buffer X/A/B/B descriptors from incoming command buffer. 9 years ago
bunnei 03bf0739a4 service: Add CreatePort function (that does not register/install). 9 years ago
bunnei 97d52b9f89 memory: Print addresses as 64-bit. 9 years ago
bunnei 3f2a738d34 ipc_helpers: Fix alignment (was wrong as a result of a dynarmic bug). 9 years ago
bunnei d3cc369618 service: Print correct command ID on unimplemented function. 9 years ago
bunnei 4fb1b24d68 hle: Implement ConvertSessionToDomain, various cleanups. 9 years ago
bunnei 746c2a3ae7 core: Refactor MakeMagic usage and remove dead code. 9 years ago
bunnei 72eeca1f03 hle: Add service stubs for apm and appletOE. 9 years ago
bunnei 960a1416de hle: Initial implementation of NX service framework and IPC. 9 years ago
bunnei 12c7469d81 nso: Add a log for loading submodules. 9 years ago
bunnei 78bc2b70bb svc: Some logging cleanup. 9 years ago
bunnei e98a3ca171 svc: Update MemoryInfo flags for 64-bit. 9 years ago
bunnei cb889f9220 svc: Initial nx impl. for QueryMemory, ConnectToPort, SendSyncRequest, etc. 9 years ago
bunnei d62750c46d Remove more 3DS-specific code. 9 years ago
bunnei 15983dcfdc Remove more 3DS-specific code. 9 years ago
bunnei dbd15b0d10 Remove more 3DS-specific code. 9 years ago
bunnei 72b03025ac Remove lots more 3DS-specific code. 9 years ago
bunnei 0906de9a14 hle: Remove a large amount of 3ds-specific service code. 9 years ago
bunnei b1d5db1cf6 Merge remote-tracking branch 'upstream/master' into nx
# 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
9 years ago
bunnei 23ce4f5afc loader: Various improvements for NSO/NRO loaders. 9 years ago
Dragios 83e5f639e6 Change command header in nwm::UDS Initialize function 9 years ago
Sebastian Valle 20e19a340c Merge pull request #2991 from Subv/getpointer
Remove more usages of GetPointer.
9 years ago
Sebastian Valle 74d4050924 Merge pull request #2975 from shinyquagsire23/archive-ncch-container-and-override
file_sys/archive_ncch: use NCCHs/.apps instead of .romfs files, NCCH section override
9 years ago
bunnei 33ea53094c loader: Add support for NRO, as well as various fixes and shared linker. 9 years ago
Sebastian Valle 84c344b9b1 Merge pull request #2953 from Subv/applet_launch
HLE/APT: Always set up the APT parameter when starting a library applet.
9 years ago
Subv 97f262c1f5 SVC: Removed GetPointer usage in the GetResourceLimit functions. 9 years ago
Subv 46fc7595b4 SVC: Remove GetPointer usage in CreatePort. 9 years ago
Subv 7b09b30ef1 SVC: Replace GetPointer usage with ReadCString in ConnectToPort. 9 years ago
Subv 3c0113632d SVC: Replace GetPointer usage with ReadBlock in OutputDebugString. 9 years ago
Subv 0cfb231e00 SVC: Replace GetPointer usage with Read32 in ReplyAndReceive. 9 years ago
Subv b863d6c860 SVC: Replace GetPointer usage with Read32 in WaitSynchronizationN. 9 years ago
Subv 7772fc0731 Memory: Remove all GetPointer usages from the GDB stub. 9 years ago
Huw Pascoe b3b34a1e76 Extracted the attribute setup and draw commands into their own functions 9 years ago
bunnei d454364bca nso: Fixes to support homebrew NSOs without a MOD header. 9 years ago
bunnei 15c7641bef Merge pull request #2977 from Subv/shmem_create
SharedMemory: Don't take over and unmap the source memory block when creating a shared memory, just reference it
9 years ago
Subv b18589ecf7 Kernel/SharedMemory: Don't take over and unmap the source memory block when creating a shared memory, just reference it.
Also reference the right offset into the backing block for the requested address.
9 years ago
Sebastian Valle 30fabc41c6 Merge pull request #2971 from Subv/per_process_memops
Memory: Add overloads for ReadBlock and WriteBlock that operate on a specific process.
9 years ago
Subv 1f2de7501b Memory: Make WriteBlock take a Process parameter on which to operate 9 years ago
Subv 811c01e5fe Memory: Make ReadBlock take a Process parameter on which to operate 9 years ago
Subv 8217ed7acb Kernel/Thread: Added a helper function to get a thread's command buffer VAddr. 9 years ago
Sebastian Valle 9c123c29a6 Merge pull request #2974 from Subv/nim_event
Services/NIM: Implement CheckForSysUpdateEvent.
9 years ago
shinyquagsire23 4887d18591 file_sys, loader: add support for reading TMDs to determine app paths 9 years ago
shinyquagsire23 8e10c9bb2e file_sys: add class for Title Metadata (TMD) 9 years ago
shinyquagsire23 e21f2348e7 file_sys/ncch_container: add RomFS, ExeFS override to allow for backward compatibility with existing .romfs system archive dumps 9 years ago
shinyquagsire23 c93e5ecfe6 file_sys/archive_ncch: use NCCHContainer instead of loading .romfs files 9 years ago
bunnei 6377585edb arm_interface: Set TLS address for dynarmic core. 9 years ago
bunnei 8c92435ded nso: Refactor and allocate .bss section. 9 years ago
bunnei fa1c7c7ee1 process: Support loading multiple codesets. 9 years ago
bunnei 6bafd3f4f7 loader: Add support for loading an NSO. 9 years ago
bunnei 9eb4888df7 externals: Add lz4. 9 years ago
bunnei 46297c9653 memory: Log with 64-bit values. 9 years ago
bunnei c5ce5c06e4 kernel: Various threading fixes to support 64-bit addressing. 9 years ago
bunnei f01472a5ff core: Various changes to support 64-bit addressing. 9 years ago
bunnei 3411883fe3 arm: Use 64-bit addressing in a bunch of places. 9 years ago
bunnei 1c4f9e822c elf: Check if machine is ARM. 9 years ago
Subv 5bae5a48b9 Services/NIM: Implement CheckForSysUpdateEvent.
Implementation verified by reverse engineering.
This lets the Home Menu boot without crashing on startup.
9 years ago
Huw Pascoe 529f4a0131 Moved down_count to CoreTiming 9 years ago
B3n30 afb1012bcd Services/UDS: Handle the rest of the connection sequence. (#2963)
Services/UDS: Handle the rest of the connection sequence.
9 years ago
Sebastian Valle 7056b9c46a Merge pull request #2946 from Subv/home_menu_apt
Implement PrepareToStartNewestHomeMenu and fixed an APT regression.
9 years ago
Sebastian Valle db752b52e8 Merge pull request #2967 from Subv/thread_wakeup_callbacks
Kernel/Threads: When putting a thread to wait, specify a function to execute when it is awoken
9 years ago