summaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2021-03-21hle: kernel: KMemoryManager: Add aliases.bunnei
2021-03-21hle: kernel: Add architecture and board specific memory regions.bunnei
2021-03-21hle: kernel: KMemoryRegion: Derive region values.bunnei
2021-03-21hle: kernel: Migrate some code from Common::SpinLock to KSpinLock.bunnei
2021-03-21hle: kernel: Add initial KMemoryRegionType module.bunnei
2021-03-21hle: kernel: Move KMemoryRegion to its own module and update.bunnei
2021-03-19Merge pull request #6052 from Morph1984/vi-getindirectlayerimagemapbunnei
IApplicationDisplayService: Stub GetIndirectLayerImageMap
2021-03-18Merge pull request #6056 from zkitX/spl-updatesbunnei
service: Refactor spl
2021-03-17IApplicationDisplayService: Stub GetIndirectLayerImageMapMorph
Used by games invoking the inline software keyboard such as GNOSIA
2021-03-16Merge pull request #6070 from Morph1984/sysver-11.0.1bunnei
system_version: Update to 11.0.1
2021-03-16bsd: Avoid writing empty buffersMorph
Silences log spam on empty buffer writes
2021-03-15Merge pull request #6069 from Morph1984/ngWordbunnei
system_archive: Update NgWord archive version
2021-03-14system_version: Update to 11.0.1Morph
2021-03-14system_archive: Update NgWord archive versionMorph
2021-03-13Merge pull request #6054 from Morph1984/time-GetClockSnapshotbunnei
time: Assign the current time point to the ClockSnapshot
2021-03-11Fix casing on DeallocateAesKeySlotzkitx
2021-03-11Update SPL to fit N's service refactor (4.0.0+) which split into new services.zkitx
2021-03-10time: Fix CalculateSpanBetween implementationMorph
CalculateSpanBetween passes in the ClockSnapshots through 2 input buffers and not as raw arguments. Fix this by reading the 2 input buffers instead of popping raw arguments. Partially fixes Super Smash Bros. Ultimate's Spirit Board
2021-03-10time: Assign the current time point to the ClockSnapshotMorph
Fixes the timer in Super Smash Bros Ultimate's Spirit Board.
2021-03-07common: Fiber: use a reference for YieldTo.bunnei
- Fixes another small leak.
2021-03-05hle: kernel: KThread: Rework dummy threads & fix memory leak.bunnei
- Dummy threads are created on thread local storage for all host threads. - Fixes a leak by removing creation of fibers, which are not applicable here.
2021-03-05Revert "core: Switch to unique_ptr for usage of Common::Fiber."bunnei
2021-03-05Merge pull request #6034 from Morph1984/mbedtlsbunnei
externals: Update mbedtls to 2.16.9
2021-03-04Merge pull request #6006 from bunnei/fiber-unique-ptrbunnei
core: Switch to unique_ptr for usage of Common::Fiber.
2021-03-05aes_util: Remove malformed mbedtls_cipher_finish function callMorph
2021-03-02Merge pull request #5815 from comex/net-error-reformbunnei
Network error handling reform
2021-03-01core: Shutdown: Move kernel cleanup to later in shutdown.bunnei
- Fixes a shutdown crash due to a race condition with GPU still accessing memory.
2021-02-28[network] Error handling reformcomex
`network.cpp` has several error paths which either: - report "Unhandled host socket error=n" and return `SUCCESS`, or - switch on a few possible errors, log them, and translate them to Errno; the same switch statement is copied and pasted in multiple places in the code Convert these paths to use a helper function `GetAndLogLastError`, which is roughly the equivalent of one of the switch statements, but: - handling more cases (both ones that were already in `Errno`, and a few more I added), and - using OS functions to convert the error to a string when logging, so it'll describe the error even if it's not one of the ones in the switch statement. - To handle this, refactor the logic in `GetLastErrorMsg` to expose a new function `NativeErrorToString` which takes the error number explicitly as an argument. And improve the Windows version a bit. Also, add a test which exercises two random error paths.
2021-02-28Merge pull request #6007 from bunnei/ldn-errorbunnei
core: hle: ldn: Error out on call to Initialization.
2021-02-27Merge pull request #5276 from german77/gesturesMorph
HID: Implement gestures
2021-02-27Implements touch, pan, pinch and rotation gesturesgerman
2021-02-27core: hle: ldn: Error out on call to Initialization.bunnei
- Since we do not emulate LDN, returning an error here makes more sense.
2021-02-27core: Switch to unique_ptr for usage of Common::Fiber.bunnei
- With using unique_ptr instead of shared_ptr, we have more explicit ownership of the context. - Fixes a memory leak due to circular reference of the shared pointer.
2021-02-27Merge pull request #5953 from bunnei/memory-refactor-1bunnei
Kernel Rework: Memory updates and refactoring (Part 1)
2021-02-26Merge pull request #5944 from Morph1984/gc-vibrationsbunnei
hid: Implement GameCube Controller Vibrations
2021-02-21hid: Implement GameCube Controller VibrationsMorph
Implements both SendVibrationGcErmCommand and GetActualVibrationGcErmCommand, and modifies GetVibrationDeviceInfo to account for additional controllers.
2021-02-21acc: Stub GetNintendoAccountUserResourceCacheForApplicationMorph
This command returns a Nintendo Account ID and writes 2 output buffers. The first output buffer is a NasUserBaseForApplication and the second output buffer is currently empty. Used by: - Pokken Tournament DX - Super Smash Bros. Ultimate - Super Nintendo Entertainment System - Nintendo Switch Online - Mario Kart 8 Deluxe
2021-02-20kernel: Fix resource release exception on exitameerj
After rewriting the resource limit, objects releasing reserved resources require a live kernel instance. This commit fixes exceptions that occur due to the kernel being destroyed before some objects released their resources, allowing for a graceful exit.
2021-02-18hle: kernel: Migrate PageHeap/PageTable to KPageHeap/KPageTable.bunnei
2021-02-18hle: kernel: Migrate MemoryManager to KMemoryManager.bunnei
2021-02-18hle: kernel: Migrate PageLinkedList to KPageLinkedList.bunnei
2021-02-18hle: kernel: Migrate to KMemoryBlock, KMemoryBlockManager, and others.bunnei
2021-02-18hle: kernel: Migrate SlabHeap to KSlabHeap.bunnei
2021-02-18hle: kernel: Migrate MemoryLayout to KMemoryLayout.bunnei
2021-02-18hle: kernel: Migrate AddressSpaceInfo to KAddressSpaceInfo.bunnei
2021-02-18hle: kernel: memory_manager: Rename AllocateContinuous to AllocateContinuous.bunnei
2021-02-18hle: kernel: KSystemControl does not belong in Memory namespace.bunnei
2021-02-18hle: kernel: memory: PageHeap: Migrate to KPageBitmap class.bunnei
2021-02-18hle: kernel: Add KPageBitmap class.bunnei
2021-02-18hle: kernel: system_control: Add function GenerateRandomU64.bunnei