summaryrefslogtreecommitdiff
path: root/src/core (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * | network_interface: Cleanup codeGravatar Morph2021-08-271-76/+83
| | |
| * | network_interface: Replace default return value with std::nulloptGravatar Morph2021-08-271-6/+6
| | |
* | | ngct: Stub NGCT:U serviceGravatar german772021-08-274-0/+70
|/ /
* | Revert "kernel: Various improvements to scheduler"Gravatar bunnei2021-08-2523-224/+140
| |
* | logging: Fix log filter during initializationGravatar ameerj2021-08-242-7/+10
| | | | | | | | | | | | The log filter was being ignored on initialization due to the logging instance being initialized before the config instance, so the log filter was set to its default value. This fixes that oversight, along with using descriptive exceptions instead of abort() calls.
* | Merge pull request #6878 from BreadFish64/optimize-GetHostThreadIDGravatar Ameer J2021-08-241-10/+13
|\ \ | | | | | | kernel: Optimize GetHostThreadID
| * | kernel: Optimize GetHostThreadIDGravatar BreadFish642021-08-161-10/+13
| |/
* | Merge pull request #6869 from yzct12345/shiny-logs-in-the-fireplaceGravatar bunnei2021-08-222-4/+14
|\ \ | | | | | | logging: Simplify and make thread-safe
| * | logging: Simplify and make thread-safeGravatar yzct123452021-08-132-4/+14
| |/ | | | | | | | | | | | | | | | | This simplifies the logging system. This also fixes some lost messages on startup. The simplification is simple. I removed unused functions and moved most things in the .h to the .cpp. I replaced the unnecessary linked list with its contents laid out as three member variables. Anything that went through the linked list now directly accesses the backends. Generic functions are replaced with those for each specific use case and there aren't many. This change increases coupling but we gain back more KISS and encapsulation. With those changes it was easy to make it thread-safe. I just removed the mutex and turned a boolean atomic. I was planning to use this thread-safety in my next PR about stacktraces. It was actually async-signal-safety at first but I ended up using a different approach. Anyway getting rid of the linked list is important for that because have the list of backends constantly changing complicates things.
* | applet_error: Fix 64-bit error code conversionGravatar Morph2021-08-191-6/+25
| |
* | Fix crash in logging in CreateStrayLayerGravatar Valeri2021-08-191-1/+1
| | | | | | It was trying to log value of layer_id which is specifically known not to exist, potentially leading to segfault. Log display_id instead.
* | Fix check is thread current in GetThreadContextGravatar Valeri2021-08-191-1/+1
| | | | | | Misplaced break made it only check for the first core.
* | Merge pull request #6832 from bunnei/scheduler-improvementsGravatar bunnei2021-08-1823-140/+224
|\ \ | | | | | | kernel: Various improvements to scheduler
| * | core: hle: kernel: Disable dispatch count tracking on single core.Gravatar bunnei2021-08-143-5/+12
| | | | | | | | | | | | - This would have limited value, and would be a mess to handle properly.
| * | core: hle: kernel: k_thread: Mark KScopedDisableDispatch as nodiscard.Gravatar bunnei2021-08-071-1/+1
| | |
| * | core: cpu_manager: Use invalid core_id on init and simplify shutdown.Gravatar bunnei2021-08-071-7/+3
| | |
| * | core: hle: service: buffer_queue: Improve management of KEvent.Gravatar bunnei2021-08-073-14/+24
| | |
| * | core: hle: kernel: k_auto_object: Add GetName method.Gravatar bunnei2021-08-071-0/+4
| | | | | | | | | | | | - Useful purely for debugging.
| * | core: hle: service: nvflinger/vi: Improve management of KEvent.Gravatar bunnei2021-08-074-16/+30
| | |
| * | core: hle: kernel: DisableDispatch on suspend threads.Gravatar bunnei2021-08-071-0/+3
| | |
| * | core: hle: kernel: k_scheduler: Improve DisableScheduling and EnableScheduling.Gravatar bunnei2021-08-071-14/+9
| | |
| * | core: cpu_manager: Use KScopedDisableDispatch.Gravatar bunnei2021-08-071-7/+8
| | |
| * | core: hle: kernel: Use CurrentPhysicalCoreIndex as appropriate.Gravatar bunnei2021-08-071-6/+2
| | |
| * | core: hle: kernel: k_scheduler: Remove unnecessary MakeCurrentProcess.Gravatar bunnei2021-08-071-5/+0
| | |
| * | core: hle: kernel: k_scheduler: Improve ScheduleImpl.Gravatar bunnei2021-08-071-6/+7
| | |
| * | core: hle: kernel: k_scheduler: Improve Unload.Gravatar bunnei2021-08-071-17/+29
| | |
| * | core: hle: kernel: k_process: DisableDispatch on main thread.Gravatar bunnei2021-08-071-0/+1
| | |
| * | core: hle: kernel: k_handle_table: Use KScopedDisableDispatch as necessary.Gravatar bunnei2021-08-072-0/+8
| | |
| * | core: hle: kernel: k_thread: Add KScopedDisableDispatch.Gravatar bunnei2021-08-072-1/+47
| | |
| * | core: hle: kernel: Ensure idle threads are closed before destroying scheduler.Gravatar bunnei2021-08-073-24/+22
| | |
| * | core: hle: kernel: Reflect non-emulated threads as core 3.Gravatar bunnei2021-08-077-13/+15
| | |
| * | core: cpu_manager: Use jthread.Gravatar bunnei2021-08-072-18/+13
| | |
* | | network_interface: correct formattingGravatar Sönke Holz2021-08-161-1/+1
| | |
* | | network_interface: fix mingw-w64 buildGravatar spholz2021-08-161-1/+1
| | |
* | | network: retrieve subnet mask and gateway infoGravatar Sönke Holz2021-08-165-24/+137
| | |
* | | network: don't use reinterpret_cast in GetAvailableNetworkInterfacesGravatar spholz2021-08-131-7/+4
| | |
* | | network: fix mingw-w64 buildGravatar Sönke Holz2021-08-131-4/+4
| | | | | | | | | | | | The header "combaseapi.h" of mingw-w64 defines "interface" as "struct".
* | | network: don't use assert to check if no network interfaces are returnedGravatar Sönke Holz2021-08-131-2/+4
| | |
* | | network: use Common::BitCast instead of std::bit_castGravatar Sönke Holz2021-08-131-2/+3
| | |
* | | network: narrow down scope of "result" in win32 code forGravatar Sönke Holz2021-08-131-4/+5
| | | | | | | | | | | | GetAvailableNetworkInterfaces
* | | network: use explicit bool conversions in GetAvailableNetworkInterfacesGravatar Sönke Holz2021-08-131-1/+1
| | |
* | | network: initialize ip_addr in GetHostIPv4Address()Gravatar Sönke Holz2021-08-131-1/+1
| | |
* | | nifm: use operator*() instead of .value() to get value of std::optionalGravatar Sönke Holz2021-08-131-2/+2
| | |
* | | nifm: treat a missing host IP address as a non-critical errorGravatar Sönke Holz2021-08-131-2/+2
| | |
* | | Merge branch 'yuzu-emu:master' into fix-lan-playGravatar spholz2021-08-122-491/+163
|\ \ \ | | |/ | |/|
| * | Merge pull request #6823 from yzct12345/memory-cleanupGravatar bunnei2021-08-092-491/+163
| |\ \ | | |/ | |/| memory: Clean up code
| | * memory: Address lioncash's reviewGravatar yzct123452021-08-071-52/+6
| | |
| | * memory: Dedup Read and Write and fix logging bugsGravatar yzct123452021-08-071-129/+115
| | |
| | * memory: Clean up CopyBlock tooGravatar yzct123452021-08-051-36/+15
| | |
| | * memory: Address lioncash's reviewGravatar yzct123452021-08-052-7/+8
| | |