yuzu/src/core/hle/kernel
Lioncash 9a07ed53eb core: Make variable shadowing a compile-time error
Now that we have most of core free of shadowing, we can enable the
warning as an error to catch anything that may be remaining and also
eliminate this class of logic bug entirely.
2021-05-16 03:43:16 -04:00
..
arch/arm64 hle: kernel: Add architecture and board specific memory regions. 2021-03-21 14:45:02 -07:00
board/nintendo/nx hle: kernel: k_system_control: Remove unnecessary inline. 2021-03-23 18:33:29 -07:00
init hle: kernel: Move slab resource counts to Kernel. 2021-05-05 16:40:54 -07:00
code_set.cpp kernel: Move CodeSet structure to its own source files 2019-03-20 13:07:04 -04:00
code_set.h VM_Manager: Align allocated memory to 256bytes 2019-07-19 10:06:08 -04:00
global_scheduler_context.cpp core: Make variable shadowing a compile-time error 2021-05-16 03:43:16 -04:00
global_scheduler_context.h core: Make variable shadowing a compile-time error 2021-05-16 03:43:16 -04:00
hle_ipc.cpp hle: kernel: hle_ipc: Fix outgoing IPC response size calculation. 2021-05-11 12:27:43 -07:00
hle_ipc.h hle: kernel: hle_ipc: Fix outgoing IPC response size calculation. 2021-05-11 12:27:43 -07:00
k_address_arbiter.cpp kernel: Unify result codes (#5890) 2021-02-12 15:43:01 -08:00
k_address_arbiter.h core: hle: kernel: Update KAddressArbiter. 2021-01-11 14:23:16 -08:00
k_address_space_info.cpp common: common_sizes: Move sizes to the Common namespace. 2021-03-23 18:31:46 -07:00
k_address_space_info.h hle: kernel: Migrate AddressSpaceInfo to KAddressSpaceInfo. 2021-02-18 16:16:25 -08:00
k_affinity_mask.h k_affinity_mask: Avoid implicit truncation to bool 2021-02-04 15:35:46 -05:00
k_auto_object.cpp hle: kernel: Add initial impl. of KAutoObject. 2021-05-05 16:40:49 -07:00
k_auto_object.h kernel: Eliminate variable shadowing 2021-05-08 12:33:26 -04:00
k_auto_object_container.cpp fixup! hle: kernel: Add initial impl. of KAutoObjectWithListContainer. 2021-05-05 16:40:53 -07:00
k_auto_object_container.h fixup! hle: kernel: Add initial impl. of KAutoObjectWithListContainer. 2021-05-05 16:40:53 -07:00
k_class_token.cpp hle: kernel: KClassToken: Ensure class tokens are correct. 2021-05-05 16:40:53 -07:00
k_class_token.h fixup! hle: kernel: Migrate more of KThread to KAutoObject. 2021-05-05 16:40:54 -07:00
k_client_port.cpp WORKAROUND: temp. disable session resource limits while we work out issues 2021-05-11 10:51:39 -07:00
k_client_port.h kernel: Eliminate variable shadowing 2021-05-08 12:33:26 -04:00
k_client_session.cpp kernel: Eliminate variable shadowing 2021-05-08 12:33:26 -04:00
k_client_session.h kernel: Eliminate variable shadowing 2021-05-08 12:33:26 -04:00
k_condition_variable.cpp kernel: Eliminate variable shadowing 2021-05-08 12:33:26 -04:00
k_condition_variable.h core: hle: kernel: Rename Thread to KThread. 2021-01-28 21:42:25 -08:00
k_event.cpp kernel: Eliminate variable shadowing 2021-05-08 12:33:26 -04:00
k_event.h kernel: Eliminate variable shadowing 2021-05-08 12:33:26 -04:00
k_handle_table.cpp hle: kernel: Migrate to KHandleTable. 2021-05-05 16:40:53 -07:00
k_handle_table.h fixup! hle: kernel: Migrate to KHandleTable. 2021-05-05 16:40:54 -07:00
k_light_condition_variable.h core: Make variable shadowing a compile-time error 2021-05-16 03:43:16 -04:00
k_light_lock.cpp hle: kernel: KLightLock: Fix several bugs. 2021-01-28 21:53:21 -08:00
k_light_lock.h core: hle: kernel: Implement KLightLock. 2021-01-28 21:42:26 -08:00
k_linked_list.h core: Make variable shadowing a compile-time error 2021-05-16 03:43:16 -04:00
k_memory_block.h hle: kernel: Improve MapSharedMemory and implement UnmapSharedMemory. 2021-05-05 16:40:52 -07:00
k_memory_block_manager.cpp core: Make variable shadowing a compile-time error 2021-05-16 03:43:16 -04:00
k_memory_block_manager.h core: Make variable shadowing a compile-time error 2021-05-16 03:43:16 -04:00
k_memory_layout.board.nintendo_nx.cpp hle: kernel: k_memory_layout: Derive memory regions based on board layout. 2021-03-21 14:45:13 -07:00
k_memory_layout.cpp hle: kernel: k_memory_layout: Move KMemoryRegionAllocator out of global. 2021-03-21 14:45:13 -07:00
k_memory_layout.h hle: kernel: k_memory_layout: Use pair instead of tuple. 2021-03-23 18:35:01 -07:00
k_memory_manager.cpp hle: kernel: KMemoryManager: Add CalculateManagementOverheadSize. 2021-03-21 14:45:02 -07:00
k_memory_manager.h hle: kernel: KMemoryManager: Add CalculateManagementOverheadSize. 2021-03-21 14:45:02 -07:00
k_memory_region.h kernel: Eliminate variable shadowing 2021-05-08 12:33:26 -04:00
k_memory_region_type.h hle: kernel: k_memory_region_type: Minor code cleanup. 2021-03-23 18:42:04 -07:00
k_page_bitmap.h hle: kernel: KSystemControl does not belong in Memory namespace. 2021-02-18 16:16:24 -08:00
k_page_heap.cpp hle: kernel: Migrate PageHeap/PageTable to KPageHeap/KPageTable. 2021-02-18 16:16:25 -08:00
k_page_heap.h hle: kernel: Migrate PageHeap/PageTable to KPageHeap/KPageTable. 2021-02-18 16:16:25 -08:00
k_page_linked_list.h core: Make variable shadowing a compile-time error 2021-05-16 03:43:16 -04:00
k_page_table.cpp core: Make variable shadowing a compile-time error 2021-05-16 03:43:16 -04:00
k_page_table.h core: Make variable shadowing a compile-time error 2021-05-16 03:43:16 -04:00
k_port.cpp kernel: Eliminate variable shadowing 2021-05-08 12:33:26 -04:00
k_port.h kernel: Eliminate variable shadowing 2021-05-08 12:33:26 -04:00
k_priority_queue.h k_priority_queue: Unfold several declval usages 2021-02-04 15:18:58 -05:00
k_process.cpp kernel: Eliminate variable shadowing 2021-05-08 12:33:26 -04:00
k_process.h kernel: Eliminate variable shadowing 2021-05-08 12:33:26 -04:00
k_readable_event.cpp kernel: Eliminate variable shadowing 2021-05-08 12:33:26 -04:00
k_readable_event.h kernel: Eliminate variable shadowing 2021-05-08 12:33:26 -04:00
k_resource_limit.cpp kernel: Eliminate variable shadowing 2021-05-08 12:33:26 -04:00
k_resource_limit.h kernel: Eliminate variable shadowing 2021-05-08 12:33:26 -04:00
k_scheduler.cpp core: Make variable shadowing a compile-time error 2021-05-16 03:43:16 -04:00
k_scheduler.h core: Make variable shadowing a compile-time error 2021-05-16 03:43:16 -04:00
k_scheduler_lock.h hle: kernel: Migrate some code from Common::SpinLock to KSpinLock. 2021-03-21 14:45:02 -07:00
k_scoped_lock.h Amend bizarre clang-format suggestions 2021-04-07 01:52:08 -04:00
k_scoped_resource_reservation.h hle: kernel: Rename Process to KProcess. 2021-05-05 16:40:52 -07:00
k_scoped_scheduler_lock_and_sleep.h core: Make variable shadowing a compile-time error 2021-05-16 03:43:16 -04:00
k_server_port.cpp kernel: Eliminate variable shadowing 2021-05-08 12:33:26 -04:00
k_server_port.h kernel: Eliminate variable shadowing 2021-05-08 12:33:26 -04:00
k_server_session.cpp hle: service: Implement IPC::CommandType::Close. 2021-05-10 20:34:38 -07:00
k_server_session.h kernel: Eliminate variable shadowing 2021-05-08 12:33:26 -04:00
k_session.cpp WORKAROUND: temp. disable session resource limits while we work out issues 2021-05-11 10:51:39 -07:00
k_session.h kernel: Eliminate variable shadowing 2021-05-08 12:33:26 -04:00
k_shared_memory.cpp kernel: Eliminate variable shadowing 2021-05-08 12:33:26 -04:00
k_shared_memory.h kernel: Eliminate variable shadowing 2021-05-08 12:33:26 -04:00
k_slab_heap.h hle: kernel: Move slab heap management to KernelCore. 2021-05-05 16:40:51 -07:00
k_spin_lock.cpp hle: kernel: Add KSpinLock implementation. 2021-02-18 16:16:24 -08:00
k_spin_lock.h hle: kernel: Migrate some code from Common::SpinLock to KSpinLock. 2021-03-21 14:45:02 -07:00
k_synchronization_object.cpp kernel: Eliminate variable shadowing 2021-05-08 12:33:26 -04:00
k_synchronization_object.h hle: kernel: Remove deprecated Object class. 2021-05-05 16:40:52 -07:00
k_system_control.h hle: kernel: KSystemControl: Update to reflect board-specific behavior. 2021-03-21 14:45:02 -07:00
k_thread.cpp kernel: Eliminate variable shadowing 2021-05-08 12:33:26 -04:00
k_thread.h kernel: Eliminate variable shadowing 2021-05-08 12:33:26 -04:00
k_thread_queue.h core: Make variable shadowing a compile-time error 2021-05-16 03:43:16 -04:00
k_trace.h hle: kernel: Add k_trace module. 2021-03-21 14:45:02 -07:00
k_transfer_memory.cpp kernel: Eliminate variable shadowing 2021-05-08 12:33:26 -04:00
k_transfer_memory.h kernel: Eliminate variable shadowing 2021-05-08 12:33:26 -04:00
k_writable_event.cpp kernel: Eliminate variable shadowing 2021-05-08 12:33:26 -04:00
k_writable_event.h kernel: Eliminate variable shadowing 2021-05-08 12:33:26 -04:00
kernel.cpp hle: kernel: Implement named service ports using service interface factory. 2021-05-10 20:34:38 -07:00
kernel.h hle: kernel: Implement named service ports using service interface factory. 2021-05-10 20:34:38 -07:00
memory_types.h hle: kernel: Migrate to KMemoryBlock, KMemoryBlockManager, and others. 2021-02-18 16:16:25 -08:00
physical_core.cpp core: Make variable shadowing a compile-time error 2021-05-16 03:43:16 -04:00
physical_core.h core: Make variable shadowing a compile-time error 2021-05-16 03:43:16 -04:00
physical_memory.h physical_memory: Add missing include for <vector>. 2020-04-17 00:59:30 -04:00
process_capability.cpp hle: kernel: Migrate to KHandleTable. 2021-05-05 16:40:53 -07:00
process_capability.h process_capability: Handle extended SVC range 2021-04-07 00:35:49 -04:00
service_thread.cpp hle: kernel: Migrate KSession, KClientSession, and KServerSession to KAutoObject. 2021-05-05 16:40:51 -07:00
service_thread.h hle: kernel: Migrate KSession, KClientSession, and KServerSession to KAutoObject. 2021-05-05 16:40:51 -07:00
slab_helpers.h WORKAROUND: Do not use slab heap while we track down issues with resource management. 2021-05-11 10:27:18 -07:00
svc.cpp core: Make variable shadowing a compile-time error 2021-05-16 03:43:16 -04:00
svc.h core: kernel: Move SVC to its own namesapce. 2020-04-17 00:59:28 -04:00
svc_common.h fixup! hle: kernel: Migrate to KHandleTable. 2021-05-05 16:40:54 -07:00
svc_results.h hle: kernel: Migrate KPort, KClientPort, and KServerPort to KAutoObject. 2021-05-05 16:40:52 -07:00
svc_types.h hle: kernel: Recode implementation of KThread to be more accurate. 2021-01-28 21:42:26 -08:00
svc_wrap.h fixup! hle: kernel: Improve MapSharedMemory and implement UnmapSharedMemory. 2021-05-05 16:40:53 -07:00
time_manager.cpp hle: kernel: Migrate to KHandleTable. 2021-05-05 16:40:53 -07:00
time_manager.h hle: kernel: Remove deprecated Object class. 2021-05-05 16:40:52 -07:00