greggameplayer
7f5e8a533a
correct placement and add size check
8 years ago
greggameplayer
c4f1216df1
Add ioctl commands with their params and size check
8 years ago
David
ccfff97269
Implemented NVHOST_IOCTL_CHANNEL_GET_WAITBASE ( #440 )
* Implemented NVHOST_IOCTL_CHANNEL_GET_WAITBASE
struct + 4 seems to be hard coded at 0 and struct + 0 seems to be ignored?
* IocGetWaitbase -> IocChannelGetWaitbaseCommand
* Added super late fixes
8 years ago
greggameplayer
f79c96c560
Correct audio command numbers & add or rename some functions ( #455 )
* Add unknown function at the number command 2
* correct audout:u commands numbers
* correct audrec:u cmd number & add Unknown function
* correct IAudioDevice command numbers
* correct codecctl cmd numbers & rename the 8 function
* correct place of unknown function & fix clang-format
8 years ago
Subv
12d6b53e60
Shaders: Implemented the FMNMX shader instruction.
8 years ago
Subv
fe463e2a1c
Mutex: Do not assert when the mutex waiting threads list isn't empty on mutex release.
A thread may own multiple mutexes at the same time, and only release one of them while other threads are waiting for the other mutexes.
8 years ago
Subv
722736e4c9
GPU: Implemented the nvmap Free ioctl.
It releases a reference to an nvmap object
8 years ago
Subv
9abfc3df7b
GPU: Implemented nvhost-as-gpu's UnmapBuffer ioctl.
It removes a mapping previously created with the MapBufferEx ioctl.
8 years ago
greggameplayer
c97505ad44
Add and correct some Error Modules ( #444 )
* Add and correct some Error Modules
8 years ago
Subv
e3e8902d40
Kernel/SVC: Signal the highest priority threads first in svcSignalProcessWideKey.
8 years ago
Subv
8ce8160ce3
Kernel/Threads: Reschedule the proper core when operating on that core's threads.
8 years ago
Subv
8935ca8e11
SVC: Removed unused WaitSynchronization1 function
8 years ago
Subv
5647fa35ff
Qt/WaitTree: Display the callstack for each thread in the wait tree widget.
8 years ago
Subv
062b1fb17c
ShadersDecompiler: Added decoding for the PSETP instruction.
8 years ago
Subv
1a6aabdb1f
GLRenderer: Remove unused hw_vao_enabled_attributes variable.
8 years ago
Subv
891762da58
GLRenderer: Remove unused vertex buffer and increase the size of the stream buffer to 128 MB.
The stream buffer is where all the vertex data is copied, some games require this to be much bigger than the 4 MB we used to have.
8 years ago
Subv
fe167421d1
GLRenderer: Log the shader source code when program linking fails.
8 years ago
greggameplayer
357c048a07
rename fatal:u functions & add ThrowFatal
8 years ago
greggameplayer
72725e1599
Properly update fatal.h void name
8 years ago
greggameplayer
63735e7339
Properly rename fatal module functions
8 years ago
David Marcec
75bd5bf8be
Added RequestWithContext & ControlWithContext
8 years ago
Hexagon12
44797f150c
Updated nfp with more service names
8 years ago
David Marcec
3a41706e7f
More accurate GetTPCMasks impl
8 years ago
bunnei
6136866f8e
core: Add several missing docstrings.
8 years ago
bunnei
ce7d89cb0e
thread: Rename mask to affinity_masks.
8 years ago
bunnei
4b895995ab
core: Run all CPU cores separately, even in single-thread mode.
8 years ago
bunnei
d96be9b56b
thread: Support core change on ResumeFromWait and improve ChangeCore.
8 years ago
bunnei
eabfdfe4ec
scheduler: Protect scheduling functions with a global mutex.
8 years ago
bunnei
f006872017
wait_tree: Add ideal core and affinity mask.
8 years ago
bunnei
82bb8701ea
thread: Initialize ideal_core and mask members.
8 years ago
bunnei
5a5850af69
threading: Reschedule only on cores that are necessary.
8 years ago
bunnei
9e559ceb09
svc: Implement GetThreadCoreMask and SetThreadCoreMask.
8 years ago
bunnei
922b5c326e
thread: Implement ChangeCore function.
8 years ago
bunnei
7b6dd22605
svc: SignalProcessWideKey should apply to all cores.
8 years ago
bunnei
6c4f161ba2
svc: Implement GetCurrentProcessorNumber.
8 years ago
bunnei
26a22031aa
wait_tree: Show all threads on all schedulers.
8 years ago
bunnei
bbd273e7ce
core: Add a configuration setting for use_multi_core.
8 years ago
bunnei
6eacbd693d
core: Support session close with multicore.
8 years ago
bunnei
44c565aeca
core: Implement multicore support.
8 years ago
bunnei
fc8b0d9d2b
core: Create a thread for each CPU core, keep in lock-step with a barrier.
8 years ago
bunnei
0867e78c8a
core: Move common CPU core things to its own class.
8 years ago
Hexagon12
e37fc58ae6
Stubs for QLaunch ( #428 )
* Stubs for QLaunch
* Wiped unrelated stuff
* Addressed comment
* Dropped GetPopFromGeneralChannelEvent
8 years ago
Max Thomas
a12f45de82
hid: Tweaks, Analog Sticks ( #435 )
* hid: Update mouse/keyboard state
* hid: Working analog sticks
* hid: Nits
* hid: Nits
* hid: Update mystery sections
* hid: Tweaks
8 years ago
Lioncash
f9b42fa139
memory_hook: Default virtual destructor in the cpp file
Prevents creating multiple copies of the vtable in every translation unit that uses the class.
Also silences a -Wweak-vtables warning
8 years ago
Lioncash
2403aef8e9
core_timing: Don't include the log header in core timing's header
Avoids propagating logging macros and facilities to files that may not need them.
This also allows hiding an internal constant.
8 years ago
Lioncash
1b310cbb3a
general: Make formatting of logged hex values more straightforward
This makes the formatting expectations more obvious (e.g. any zero padding specified
is padding that's entirely dedicated to the value being printed, not any pretty-printing
that also gets tacked on).
8 years ago
bunnei
5e4d01f80c
ipc: Add support for PopIpcInterface() method.
- This can be used for domain objects as inputs to service functions.
8 years ago
Lioncash
7bee2c9d13
vector_math: Ensure members are always initialized
Ensures that values are always in a well-defined state.
8 years ago
David
3a3b58df8b
GetSharedFontInOrderOfPriority ( #381 )
* GetSharedFontInOrderOfPriority
* Update pl_u.cpp
* Ability to use ReadBuffer and WriteBuffer with different buffer indexes, fixed up GetSharedFontInOrderOfPriority
* switched to NGLOG
* Update pl_u.cpp
* Update pl_u.cpp
* language_code is actually language code and not index
* u32->u64
* final cleanups
8 years ago
Subv
a16f48e0d7
GPU: Don't write to invalid memory locations when handling ioctls that don't have an output.
8 years ago