Subv
7b09b30ef1
SVC: Replace GetPointer usage with ReadCString in ConnectToPort.
7 years ago
Subv
3c0113632d
SVC: Replace GetPointer usage with ReadBlock in OutputDebugString.
7 years ago
Subv
0cfb231e00
SVC: Replace GetPointer usage with Read32 in ReplyAndReceive.
7 years ago
Subv
b863d6c860
SVC: Replace GetPointer usage with Read32 in WaitSynchronizationN.
7 years ago
Subv
7772fc0731
Memory: Remove all GetPointer usages from the GDB stub.
7 years ago
bunnei
c1355ada4b
Merge pull request #2985 from huwpascoe/pica_reg
...
Extracted the attribute setup and draw commands into their own functions
7 years ago
Huw Pascoe
b3b34a1e76
Extracted the attribute setup and draw commands into their own functions
7 years ago
bunnei
d454364bca
nso: Fixes to support homebrew NSOs without a MOD header.
7 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
7 years ago
James Rowe
26629c661c
Merge pull request #2982 from MerryMage/lazy-macos-opt
...
macOS: Build x86_64h slice
7 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.
7 years ago
MerryMage
29a6fbacd5
macOS: Build x86_64h slice
...
This commit produces a fat-binary with two slices. The x86_64 slice
is for all x64 systems, and the x86_64h slice targets x64 systems
starting with Haswell. The latter allows the compiler to use newer
instructions that are not available on older microarchitectures.
7 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.
7 years ago
Subv
1f2de7501b
Memory: Make WriteBlock take a Process parameter on which to operate
7 years ago
Subv
811c01e5fe
Memory: Make ReadBlock take a Process parameter on which to operate
7 years ago
Subv
8217ed7acb
Kernel/Thread: Added a helper function to get a thread's command buffer VAddr.
7 years ago
Sebastian Valle
9c123c29a6
Merge pull request #2974 from Subv/nim_event
...
Services/NIM: Implement CheckForSysUpdateEvent.
7 years ago
shinyquagsire23
4887d18591
file_sys, loader: add support for reading TMDs to determine app paths
7 years ago
shinyquagsire23
8e10c9bb2e
file_sys: add class for Title Metadata (TMD)
7 years ago
shinyquagsire23
e21f2348e7
file_sys/ncch_container: add RomFS, ExeFS override to allow for backward compatibility with existing .romfs system archive dumps
7 years ago
shinyquagsire23
c93e5ecfe6
file_sys/archive_ncch: use NCCHContainer instead of loading .romfs files
7 years ago
Sebastian Valle
5ba48c1610
Merge pull request #2973 from huwpascoe/down_count
...
Moved down_count to CoreTiming
7 years ago
bunnei
6377585edb
arm_interface: Set TLS address for dynarmic core.
7 years ago
bunnei
8c92435ded
nso: Refactor and allocate .bss section.
7 years ago
bunnei
fa1c7c7ee1
process: Support loading multiple codesets.
7 years ago
bunnei
6bafd3f4f7
loader: Add support for loading an NSO.
7 years ago
bunnei
9eb4888df7
externals: Add lz4.
7 years ago
bunnei
46297c9653
memory: Log with 64-bit values.
7 years ago
bunnei
c5ce5c06e4
kernel: Various threading fixes to support 64-bit addressing.
7 years ago
bunnei
f01472a5ff
core: Various changes to support 64-bit addressing.
7 years ago
bunnei
3411883fe3
arm: Use 64-bit addressing in a bunch of places.
7 years ago
bunnei
1c4f9e822c
elf: Check if machine is ARM.
7 years ago
Subv
5bae5a48b9
Services/NIM: Implement CheckForSysUpdateEvent.
...
Implementation verified by reverse engineering.
This lets the Home Menu boot without crashing on startup.
7 years ago
Huw Pascoe
529f4a0131
Moved down_count to CoreTiming
7 years ago
B3n30
afb1012bcd
Services/UDS: Handle the rest of the connection sequence. ( #2963 )
...
Services/UDS: Handle the rest of the connection sequence.
7 years ago
James Rowe
8244762b89
Merge pull request #2972 from Subv/ignore_.vs
...
Add the .vs folder and the CMakeSettings.json file from Visual Studio to gitignore
7 years ago
Subv
1f99d53e2c
Add the .vs folder and the CMakeSettings.json file from Visual Studio to gitignore.
7 years ago
Sebastian Valle
7056b9c46a
Merge pull request #2946 from Subv/home_menu_apt
...
Implement PrepareToStartNewestHomeMenu and fixed an APT regression.
7 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
7 years ago
Sebastian Valle
a3de996ae7
Merge pull request #2962 from huwpascoe/static_cast
...
Fixed type conversion ambiguity
7 years ago
Huw Pascoe
a13ab958cb
Fixed type conversion ambiguity
7 years ago
bunnei
b07af7dda8
Merge pull request #2961 from Subv/load_titles
...
Loaders: Don't automatically set the current process every time we load an application.
7 years ago
Subv
8432749db7
Kernel/Threads: When putting a thread to wait, specify a function to execute 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.
7 years ago
Sebastian Valle
0d42706a7b
Merge pull request #2907 from Subv/warnings3
...
Disable unary operator- on Math::Vec2/Vec3/Vec4 for unsigned types.
7 years ago
Subv
a321bce378
Disable unary operator- on Math::Vec2/Vec3/Vec4 for unsigned types.
...
It is unlikely we will ever use this without first doing a Cast to a signed type.
Fixes 9 "unary minus operator applied to unsigned type, result still unsigned" warnings on MSVC2017.3
7 years ago
Subv
7f48aa8d25
Loaders: Don't automatically set the current process every time we load an 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.
7 years ago
James Rowe
5620327e03
Merge pull request #2954 from Subv/cache_unmapped_mem
...
Memory/RasterizerCache: Ignore unmapped memory regions when caching physical regions
7 years ago
Subv
3165466b66
Kernel/Thread: Allow specifying which process a thread belongs to when 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.
7 years ago
Subv
a8d2f5787f
Tests: Added Memory::IsValidVirtualAddress tests.
7 years ago
Subv
c102e3ae28
Tests: Fixed ARM VFP tests
7 years ago