summaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2021-08-29Merge pull request #6905 from Morph1984/nifm-miscbunnei
nifm/network_interface: Cleanup and populate fields in GetCurrentNetworkProfile
2021-08-27ngct: Stub NGCT:U servicegerman77
2021-08-27service: nifm: Populate fields in GetCurrentNetworkProfileMorph
Populates the current_address, subnet_mask, and gateway fields from the selected network interface.
2021-08-27service: nifm: Cleanup GetCurrentIpConfigInfoMorph
2021-08-27network_interface: Cleanup codeMorph
2021-08-27network_interface: Replace default return value with std::nulloptMorph
2021-08-25Revert "kernel: Various improvements to scheduler"bunnei
2021-08-24logging: Fix log filter during initializationameerj
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.
2021-08-24Merge pull request #6878 from BreadFish64/optimize-GetHostThreadIDAmeer J
kernel: Optimize GetHostThreadID
2021-08-22Merge pull request #6869 from yzct12345/shiny-logs-in-the-fireplacebunnei
logging: Simplify and make thread-safe
2021-08-19applet_error: Fix 64-bit error code conversionMorph
2021-08-19Fix crash in logging in CreateStrayLayerValeri
It was trying to log value of layer_id which is specifically known not to exist, potentially leading to segfault. Log display_id instead.
2021-08-19Fix check is thread current in GetThreadContextValeri
Misplaced break made it only check for the first core.
2021-08-18Merge pull request #6832 from bunnei/scheduler-improvementsbunnei
kernel: Various improvements to scheduler
2021-08-16kernel: Optimize GetHostThreadIDBreadFish64
2021-08-16network_interface: correct formattingSönke Holz
2021-08-16network_interface: fix mingw-w64 buildspholz
2021-08-16network: retrieve subnet mask and gateway infoSönke Holz
2021-08-14core: hle: kernel: Disable dispatch count tracking on single core.bunnei
- This would have limited value, and would be a mess to handle properly.
2021-08-13logging: Simplify and make thread-safeyzct12345
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.
2021-08-13network: don't use reinterpret_cast in GetAvailableNetworkInterfacesspholz
2021-08-13network: fix mingw-w64 buildSönke Holz
The header "combaseapi.h" of mingw-w64 defines "interface" as "struct".
2021-08-13network: don't use assert to check if no network interfaces are returnedSönke Holz
2021-08-13network: use Common::BitCast instead of std::bit_castSönke Holz
2021-08-13network: narrow down scope of "result" in win32 code forSönke Holz
GetAvailableNetworkInterfaces
2021-08-13network: use explicit bool conversions in GetAvailableNetworkInterfacesSönke Holz
2021-08-13network: initialize ip_addr in GetHostIPv4Address()Sönke Holz
2021-08-13nifm: use operator*() instead of .value() to get value of std::optionalSönke Holz
2021-08-13nifm: treat a missing host IP address as a non-critical errorSönke Holz
2021-08-12Merge branch 'yuzu-emu:master' into fix-lan-playspholz
2021-08-12network: correct formatting in network.cpp and network_interface.cppSönke Holz
2021-08-12configuration: add option to select network interfacespholz
This commit renames the "Services" tab to "Network" and adds a combobox that allows the user to select the network interface that yuzu should use. This new setting is now used to get the local IP address in Network::GetHostIPv4Address. This prevents yuzu from selecting the wrong network interface and thus using the wrong IP address. The return type of Network::GetHostIPv4Adress has also been changed.
2021-08-09Merge pull request #6823 from yzct12345/memory-cleanupbunnei
memory: Clean up code
2021-08-07core: hle: kernel: k_thread: Mark KScopedDisableDispatch as nodiscard.bunnei
2021-08-07core: cpu_manager: Use invalid core_id on init and simplify shutdown.bunnei
2021-08-07core: hle: service: buffer_queue: Improve management of KEvent.bunnei
2021-08-07core: hle: kernel: k_auto_object: Add GetName method.bunnei
- Useful purely for debugging.
2021-08-07core: hle: service: nvflinger/vi: Improve management of KEvent.bunnei
2021-08-07core: hle: kernel: DisableDispatch on suspend threads.bunnei
2021-08-07core: hle: kernel: k_scheduler: Improve DisableScheduling and EnableScheduling.bunnei
2021-08-07core: cpu_manager: Use KScopedDisableDispatch.bunnei
2021-08-07core: hle: kernel: Use CurrentPhysicalCoreIndex as appropriate.bunnei
2021-08-07core: hle: kernel: k_scheduler: Remove unnecessary MakeCurrentProcess.bunnei
2021-08-07core: hle: kernel: k_scheduler: Improve ScheduleImpl.bunnei
2021-08-07core: hle: kernel: k_scheduler: Improve Unload.bunnei
2021-08-07core: hle: kernel: k_process: DisableDispatch on main thread.bunnei
2021-08-07core: hle: kernel: k_handle_table: Use KScopedDisableDispatch as necessary.bunnei
2021-08-07core: hle: kernel: k_thread: Add KScopedDisableDispatch.bunnei
2021-08-07core: hle: kernel: Ensure idle threads are closed before destroying scheduler.bunnei
2021-08-07core: hle: kernel: Reflect non-emulated threads as core 3.bunnei