summaryrefslogtreecommitdiff
path: root/src/core (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Kernel/Threads: A thread waking up by timeout from a WaitProcessWideKey may ↵Gravatar Subv2018-06-021-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | already have an assigned lock owner. This situation may happen like so: Thread 1 with low priority calls WaitProcessWideKey with timeout. Thread 2 with high priority calls WaitProcessWideKey without timeout. Thread 3 calls SignalProcessWideKey - Thread 2 acquires the lock and awakens. - Thread 1 can't acquire the lock and is put to sleep with the lock owner being Thread 2. Thread 1's timeout expires, with the lock owner still being set to Thread 2.
* | | Service/time: implement posix time to calendar conversionGravatar mailwl2018-06-012-14/+72
| | |
* | | Merge pull request #488 from Subv/thread_masksGravatar bunnei2018-05-313-4/+31
|\ \ \ | | | | | | | | Kernel/SVC: Corrected the behavior of svcSetThreadCoreMask for core values -2 and -3.
| * | | Kernel/Thread: Corrected a typo that caused the affinity mask to never be ↵Gravatar Subv2018-05-301-2/+2
| | | | | | | | | | | | | | | | changed.
| * | | Kernel/SVC: Support special core values -2 and -3 in svcSetThreadCoreMask.Gravatar Subv2018-05-302-1/+28
| | | | | | | | | | | | | | | | Also added some proper error handling.
| * | | Kernel/Thread: Corrected a typo in an assert about the processor id.Gravatar Subv2018-05-301-1/+1
| |/ /
* | | add IPC CommandType & Some HID FunctionInfo (#487)Gravatar greggameplayer2018-05-302-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add some CommandType * add some hid FunctionInfo * add some other HID FunctionInfo * delete non useful comments
* | | nvhost_ctrl: Stub out IocCtrlEventRegister.Gravatar bunnei2018-05-292-0/+10
| | |
* | | nvhost_ctrl: Stub out IocCtrlEventWaitAsyncCommand.Gravatar bunnei2018-05-292-5/+9
|/ /
* | Service/BCAT: add module and servicesGravatar mailwl2018-05-286-0/+118
| |
* | Merge pull request #475 from ogniK5377/nvos-getconfigGravatar bunnei2018-05-271-1/+1
|\ \ | | | | | | NvOsGetConfigU32 should return null instead of 0 for default output value
| * | NvOsGetConfigU32 should return null instead of 0 for default outputGravatar David Marcec2018-05-261-1/+1
| | |
* | | am: Stub IApplicationFunctions GetDisplayVersion.Gravatar bunnei2018-05-262-1/+10
|/ /
* | Add & correct miscellaneous things (#470)Gravatar greggameplayer2018-05-254-4/+55
| | | | | | | | | | | | | | | | | | | | | | | | * add some InfoType * correct OpenApplicationProxy cmd number * add IDisplayController functions * fix clang-format * add more system languages
* | Merge pull request #466 from mailwl/nv-timeoutGravatar bunnei2018-05-252-0/+16
|\ \ | | | | | | Stub NVGPU_IOCTL_CHANNEL_SET_TIMEOUT
| * | Stub NVGPU_IOCTL_CHANNEL_SET_TIMEOUTGravatar mailwl2018-05-242-0/+16
| | | | | | | | | | | | Used in Nintendo Labo ToyCon 1&2
* | | GetAudioRendererWorkBufferSize impl (#465)Gravatar David2018-05-252-2/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * GetAudioRendererWorkBufferSize impl Impl of GetAudioRendererWorkBufferSize based on RE, if this can be cleaned up, please contribute! * Naming conventions * Removed unneeded placeholder * lioncache changes * fixed const * switched to Common::AlignUp
* | | Stubbed NVGPU_GPU_IOCTL_ZBC_SET_TABLE (#463)Gravatar David2018-05-242-0/+22
|/ / | | | | We have no clue on what this actually does yet so stubbing it since it's just input only should be fine for now
* | Fix deadlocks caused from HID having too many layoutsGravatar David Marcec2018-05-231-1/+1
| | | | | | | | Games such as SMO deadlock if we have more than 2 layouts
* | Merge pull request #460 from greggameplayer/patch-6Gravatar bunnei2018-05-231-2/+8
|\ \ | | | | | | Add & correct some error modules
| * | Add & correct some error modulesGravatar greggameplayer2018-05-231-2/+8
| | |
* | | Merge pull request #459 from greggameplayer/patch-5Gravatar bunnei2018-05-233-29/+117
|\ \ \ | | | | | | | | Add ioctl commands with their params and size check
| * | | change some functionsGravatar greggameplayer2018-05-231-6/+6
| | | | | | | | | | | | according to the changes made previously
| * | | correct placement and add size checkGravatar greggameplayer2018-05-231-21/+25
| | | |
| * | | Add ioctl commands with their params and size checkGravatar greggameplayer2018-05-231-2/+86
| |/ /
* | | Merge pull request #454 from Subv/signal_processwideGravatar bunnei2018-05-231-83/+74
|\ \ \ | |/ / |/| | Kernel/SVC: Signal the highest priority threads first in svcSignalProcessWideKey
| * | Kernel/SVC: Signal the highest priority threads first in ↵Gravatar Subv2018-05-191-51/+68
| | | | | | | | | | | | svcSignalProcessWideKey.
| * | Kernel/Threads: Reschedule the proper core when operating on that core's ↵Gravatar Subv2018-05-191-2/+6
| | | | | | | | | | | | threads.
| * | SVC: Removed unused WaitSynchronization1 functionGravatar Subv2018-05-191-30/+0
| | |
* | | Implemented NVHOST_IOCTL_CHANNEL_GET_WAITBASE (#440)Gravatar David2018-05-222-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | | Merge pull request #456 from Subv/unmap_bufferGravatar bunnei2018-05-204-1/+98
|\ \ \ | | | | | | | | Implemented nvhost-as-gpu's UnmapBuffer and nvmap's Free ioctls.
| * | | GPU: Implemented the nvmap Free ioctl.Gravatar Subv2018-05-202-1/+48
| | | | | | | | | | | | | | | | It releases a reference to an nvmap object
| * | | GPU: Implemented nvhost-as-gpu's UnmapBuffer ioctl.Gravatar Subv2018-05-202-0/+50
| |/ / | | | | | | | | | It removes a mapping previously created with the MapBufferEx ioctl.
* | | Correct audio command numbers & add or rename some functions (#455)Gravatar greggameplayer2018-05-205-34/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | | Merge pull request #457 from Subv/mutex_waitersGravatar bunnei2018-05-201-1/+0
|\ \ \ | | | | | | | | Mutex: Do not assert when the mutex waiting threads list isn't empty on mutex release.
| * | | Mutex: Do not assert when the mutex waiting threads list isn't empty on ↵Gravatar Subv2018-05-201-1/+0
| |/ / | | | | | | | | | | | | | | | 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.
* | | Merge pull request #445 from greggameplayer/patch-2Gravatar bunnei2018-05-203-6/+7
|\ \ \ | | | | | | | | Properly rename functions of Fatal Module & add ThrowFatal to this module
| * | | rename fatal:u functions & add ThrowFatalGravatar greggameplayer2018-05-181-2/+3
| | | |
| * | | Properly update fatal.h void nameGravatar greggameplayer2018-05-181-2/+2
| | | |
| * | | Properly rename fatal module functionsGravatar greggameplayer2018-05-181-2/+2
| |/ /
* | | Merge pull request #443 from ogniK5377/ipc-500Gravatar Sebastian Valle2018-05-193-1/+7
|\ \ \ | | | | | | | | Added IPC RequestWithContext & ControlWithContext
| * | | Added RequestWithContext & ControlWithContextGravatar David Marcec2018-05-173-1/+7
| |/ /
* | | Add and correct some Error Modules (#444)Gravatar greggameplayer2018-05-191-6/+40
| | | | | | | | | | | | * Add and correct some Error Modules
* | | Updated nfp with more service namesGravatar Hexagon122018-05-131-24/+24
|/ /
* | Merge pull request #436 from bunnei/multi-coreGravatar bunnei2018-05-1117-181/+577
|\ \ | | | | | | Initial support for multi-core
| * | core: Add several missing docstrings.Gravatar bunnei2018-05-101-0/+8
| | |
| * | thread: Rename mask to affinity_masks.Gravatar bunnei2018-05-103-4/+4
| | |
| * | core: Run all CPU cores separately, even in single-thread mode.Gravatar bunnei2018-05-102-13/+23
| | |
| * | thread: Support core change on ResumeFromWait and improve ChangeCore.Gravatar bunnei2018-05-101-37/+68
| | |
| * | scheduler: Protect scheduling functions with a global mutex.Gravatar bunnei2018-05-102-0/+18
| | |