bunnei
1996cae9cb
hle: kernel: k_memory_layout: Move KMemoryRegionAllocator out of global.
5 years ago
bunnei
343eaecd38
hle: kernel: k_memory_layout: Derive memory regions based on board layout.
5 years ago
bunnei
8d0ba7ee49
common: common_sizes: Move Invalid to Size_* prefix and add missing values.
5 years ago
bunnei
80688362cf
hle: kernel: k_memory_region: Refactor to simplify code.
5 years ago
bunnei
edbc505e52
hle: kernel: board: k_system_control: Extend to include memory region sizes.
5 years ago
bunnei
10265ad0e4
hle: kernel: board: Add secure_monitor module.
5 years ago
bunnei
28be8aec9a
common: Move common sizes to their own header for code reuse.
5 years ago
bunnei
01f04fee32
hle: kernel: k_address_space_info: Cleanup.
5 years ago
bunnei
f2e1441567
hle: kernel: Add k_trace module.
5 years ago
bunnei
5762517728
hle: kernel: KSystemControl: Update to reflect board-specific behavior.
5 years ago
bunnei
a439867f2c
hle: kernel: KMemoryManager: Add CalculateManagementOverheadSize.
5 years ago
bunnei
43a29b5803
hle: kernel: KMemoryManager: Add aliases.
5 years ago
bunnei
c17beefe3d
hle: kernel: Add architecture and board specific memory regions.
5 years ago
bunnei
3fb64da452
hle: kernel: KMemoryRegion: Derive region values.
5 years ago
bunnei
5872561077
hle: kernel: Migrate some code from Common::SpinLock to KSpinLock.
5 years ago
bunnei
541b4353e4
hle: kernel: Add initial KMemoryRegionType module.
5 years ago
bunnei
778e0f8ec1
hle: kernel: Move KMemoryRegion to its own module and update.
5 years ago
Morph
ec514a4d1b
IApplicationDisplayService: Stub GetIndirectLayerImageMap
Used by games invoking the inline software keyboard such as GNOSIA
5 years ago
Morph
8441094ba3
bsd: Avoid writing empty buffers
Silences log spam on empty buffer writes
5 years ago
zkitx
4439801c0f
Fix casing on DeallocateAesKeySlot
5 years ago
zkitx
ad653550eb
Update SPL to fit N's service refactor (4.0.0+) which split into new services.
5 years ago
Morph
87cfe5b1da
time: Fix CalculateSpanBetween implementation
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
5 years ago
Morph
2490ffbbce
time: Assign the current time point to the ClockSnapshot
Fixes the timer in Super Smash Bros Ultimate's Spirit Board.
5 years ago
bunnei
8f7eb194af
common: Fiber: use a reference for YieldTo.
- Fixes another small leak.
5 years ago
bunnei
47af34003b
hle: kernel: KThread: Rework dummy threads & fix memory leak.
- 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.
5 years ago
bunnei
a5ab85ac37
Revert "core: Switch to unique_ptr for usage of Common::Fiber."
5 years ago
german
e895ab7d6f
Implements touch, pan, pinch and rotation gestures
5 years ago
bunnei
ab65cb499d
core: hle: ldn: Error out on call to Initialization.
- Since we do not emulate LDN, returning an error here makes more sense.
5 years ago
bunnei
51fb0a6f96
core: Switch to unique_ptr for usage of Common::Fiber.
- 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.
5 years ago
Morph
ec19a85890
hid: Implement GameCube Controller Vibrations
Implements both SendVibrationGcErmCommand and GetActualVibrationGcErmCommand, and modifies GetVibrationDeviceInfo to account for additional controllers.
5 years ago
Morph
3de8e7a8f2
acc: Stub GetNintendoAccountUserResourceCacheForApplication
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
5 years ago
ameerj
8e4c9c9852
kernel: Fix resource release exception on exit
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.
5 years ago
bunnei
93e20867b0
hle: kernel: Migrate PageHeap/PageTable to KPageHeap/KPageTable.
5 years ago
bunnei
b1e27890e8
hle: kernel: Migrate MemoryManager to KMemoryManager.
5 years ago
bunnei
93109c870e
hle: kernel: Migrate PageLinkedList to KPageLinkedList.
5 years ago
bunnei
65e0178cc0
hle: kernel: Migrate to KMemoryBlock, KMemoryBlockManager, and others.
5 years ago
bunnei
9e520e8f12
hle: kernel: Migrate SlabHeap to KSlabHeap.
5 years ago
bunnei
1d162f28d1
hle: kernel: Migrate MemoryLayout to KMemoryLayout.
5 years ago
bunnei
7ed5dd0d62
hle: kernel: Migrate AddressSpaceInfo to KAddressSpaceInfo.
5 years ago
bunnei
701ef616b2
hle: kernel: memory_manager: Rename AllocateContinuous to AllocateContinuous.
5 years ago
bunnei
f7a008d77f
hle: kernel: KSystemControl does not belong in Memory namespace.
5 years ago
bunnei
6a19086001
hle: kernel: memory: PageHeap: Migrate to KPageBitmap class.
5 years ago
bunnei
a02566136c
hle: kernel: Add KPageBitmap class.
5 years ago
bunnei
e7c33d1ad6
hle: kernel: system_control: Add function GenerateRandomU64.
5 years ago
bunnei
6da91da08e
hle: kernel: Add KSpinLock implementation.
5 years ago
bunnei
0d62f30b00
hle: kernel: Rename SharedMemory to KSharedMemory.
5 years ago
bunnei
d9a8060ce3
hle: service: ldn: IUserLocalCommunicationService: Improve the stub.
5 years ago
bunnei
51c13606d6
hle: service: ldn: IUserLocalCommunicationService: Indicate that LDN is disabled.
- Fixes crash on Pokemon Sword/Shield when pressing 'Y'.
5 years ago
bunnei
d25011c92f
hle: service: am: IStorageAccessor: Fix out of bounds error handling.
5 years ago
ameerj
3c37d66c28
Address PR feedback
Co-Authored-By: LC <712067+lioncash@users.noreply.github.com>
6 years ago