suyu/src/core/hle/kernel
Morph 8e56a84566 core_timing: Use CNTPCT as the guest CPU tick
Previously, we were mixing the raw CPU frequency and CNTFRQ.
The raw CPU frequency (1020 MHz) should've never been used as CNTPCT (whose frequency is CNTFRQ) is the only counter available.
2023-06-07 21:44:42 -04:00
..
arch/arm64 general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
board/nintendo/nx settings: rename extended memory layout to unsafe, move from general to system 2023-04-30 14:24:22 -04:00
init kernel: use KTypedAddress for addresses 2023-03-22 09:35:16 -04:00
svc core_timing: Use CNTPCT as the guest CPU tick 2023-06-07 21:44:42 -04:00
code_set.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
code_set.h kernel: use KTypedAddress for addresses 2023-03-22 09:35:16 -04:00
global_scheduler_context.cpp kernel: convert GlobalSchedulerContext, KAddressArbiter, KScopedSchedulerLockAndSleep, KThreadQueue to new style 2023-03-12 22:06:53 -04:00
global_scheduler_context.h kernel: remove gratitutous attribute usage 2023-03-12 22:09:09 -04:00
initial_process.h kernel: use KTypedAddress for addresses 2023-03-22 09:35:16 -04:00
k_address_arbiter.cpp kernel: fix unbounded stack usage in atomics 2023-03-28 22:28:27 -04:00
k_address_arbiter.h kernel: use KTypedAddress for addresses 2023-03-22 09:35:16 -04:00
k_address_space_info.cpp device_memory: Use smaller virtual reservation size for compatibility with 39-bit paging 2023-06-03 00:05:28 -07:00
k_address_space_info.h general: fix type inconsistencies 2023-03-07 20:05:19 -05:00
k_affinity_mask.h kernel: convert KPort, KSession 2023-03-12 22:06:53 -04:00
k_auto_object.cpp kernel: remove kernel_ 2023-03-12 22:09:09 -04:00
k_auto_object.h kernel: match calls to Register and Unregister 2023-04-29 21:52:26 -04:00
k_auto_object_container.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
k_auto_object_container.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
k_capabilities.cpp kernel: convert KPort, KSession 2023-03-12 22:06:53 -04:00
k_capabilities.h kernel: convert KPort, KSession 2023-03-12 22:06:53 -04:00
k_class_token.cpp core: hle: kernel: Address review comments. 2022-11-05 12:23:47 -04:00
k_class_token.h core: hle: kernel: Add KSystemResource. 2022-11-03 21:17:07 -07:00
k_client_port.cpp kernel: remove kernel_ 2023-03-12 22:09:09 -04:00
k_client_port.h kernel: convert KPort, KSession 2023-03-12 22:06:53 -04:00
k_client_session.cpp kernel: use KTypedAddress for addresses 2023-03-22 09:35:16 -04:00
k_client_session.h kernel: remove kernel_ 2023-03-12 22:09:09 -04:00
k_code_memory.cpp kernel: use KTypedAddress for addresses 2023-03-22 09:35:16 -04:00
k_code_memory.h kernel: use KTypedAddress for addresses 2023-03-22 09:35:16 -04:00
k_condition_variable.cpp kernel: fix unbounded stack usage in atomics 2023-03-28 22:28:27 -04:00
k_condition_variable.h kernel: use KTypedAddress for addresses 2023-03-22 09:35:16 -04:00
k_debug.h kernel: remove kernel_ 2023-03-12 22:09:09 -04:00
k_device_address_space.cpp kernel: use KTypedAddress for addresses 2023-03-22 09:35:16 -04:00
k_device_address_space.h kernel: use KTypedAddress for addresses 2023-03-22 09:35:16 -04:00
k_dynamic_page_manager.h kernel: use KTypedAddress for addresses 2023-03-22 09:35:16 -04:00
k_dynamic_resource_manager.h core: hle: kernel: k_dynamic_resource_manager: Add KBlockInfoManager, KBlockInfoSlabHeap. 2022-11-03 21:17:06 -07:00
k_dynamic_slab_heap.h kernel: use KTypedAddress for addresses 2023-03-22 09:35:16 -04:00
k_event.cpp kernel: remove kernel_ 2023-03-12 22:09:09 -04:00
k_event.h kernel: remove kernel_ 2023-03-12 22:09:09 -04:00
k_event_info.h kernel: remove general boost lists 2023-04-29 22:11:32 -04:00
k_handle_table.cpp k_handle_table: Remove cast to void* in GetObjectForIpc 2022-11-22 13:58:42 -05:00
k_handle_table.h general: rename CurrentProcess to ApplicationProcess 2023-02-13 19:03:12 -05:00
k_hardware_timer.cpp timing: wait for completion on unregister 2023-01-14 15:48:01 -05:00
k_hardware_timer.h kernel: remove TimeManager 2022-12-18 20:21:24 -05:00
k_hardware_timer_base.h kernel: add KHardwareTimer 2022-12-18 16:37:19 -05:00
k_interrupt_manager.cpp kernel: use GetCurrentProcess 2023-02-13 11:05:14 -05:00
k_interrupt_manager.h core: hle: kernel: k_thread: Implement thread termination DPC. 2022-10-18 19:13:34 -07:00
k_light_condition_variable.cpp kernel: convert KConditionVariable, KLightConditionVariable, KLightLock 2023-03-12 22:06:53 -04:00
k_light_condition_variable.h kernel: convert KConditionVariable, KLightConditionVariable, KLightLock 2023-03-12 22:06:53 -04:00
k_light_lock.cpp kernel: convert KConditionVariable, KLightConditionVariable, KLightLock 2023-03-12 22:06:53 -04:00
k_light_lock.h kernel: convert KConditionVariable, KLightConditionVariable, KLightLock 2023-03-12 22:06:53 -04:00
k_memory_block.h kernel: use KTypedAddress for addresses 2023-03-22 09:35:16 -04:00
k_memory_block_manager.cpp kernel: use KTypedAddress for addresses 2023-03-22 09:35:16 -04:00
k_memory_block_manager.h k_memory_block_manager: remove auditing calls 2023-05-23 09:15:16 -04:00
k_memory_layout.cpp kernel: use KTypedAddress for addresses 2023-03-22 09:35:16 -04:00
k_memory_layout.h kernel: use KTypedAddress for addresses 2023-03-22 09:35:16 -04:00
k_memory_manager.cpp kernel: use KTypedAddress for addresses 2023-03-22 09:35:16 -04:00
k_memory_manager.h kernel: use KTypedAddress for addresses 2023-03-22 09:35:16 -04:00
k_memory_region.h kernel: use KTypedAddress for addresses 2023-03-22 09:35:16 -04:00
k_memory_region_type.h core: hle: kernel: k_memory_region_type: Refresh. 2022-11-03 21:17:07 -07:00
k_object_name.cpp kernel: add KObjectName 2023-02-17 09:16:05 -05:00
k_object_name.h kernel: remove general boost lists 2023-04-29 22:11:32 -04:00
k_page_bitmap.h core: hle: kernel: k_page_bitmap: Refresh. 2022-11-03 21:17:06 -07:00
k_page_buffer.cpp kernel: use KTypedAddress for addresses 2023-03-22 09:35:16 -04:00
k_page_buffer.h kernel: use KTypedAddress for addresses 2023-03-22 09:35:16 -04:00
k_page_group.cpp Revert "Revert "k_page_group: synchronize"" 2023-01-07 15:32:10 -08:00
k_page_group.h kernel: use KTypedAddress for addresses 2023-03-22 09:35:16 -04:00
k_page_heap.cpp kernel: use KTypedAddress for addresses 2023-03-22 09:35:16 -04:00
k_page_heap.h kernel: use KTypedAddress for addresses 2023-03-22 09:35:16 -04:00
k_page_table.cpp memory: rename global memory references to application memory 2023-03-23 20:28:47 -04:00
k_page_table.h memory: rename global memory references to application memory 2023-03-23 20:28:47 -04:00
k_page_table_manager.h kernel: use KTypedAddress for addresses 2023-03-22 09:35:16 -04:00
k_page_table_slab_heap.h kernel: use KTypedAddress for addresses 2023-03-22 09:35:16 -04:00
k_port.cpp kernel: remove kernel_ 2023-03-12 22:09:09 -04:00
k_port.h kernel: remove kernel_ 2023-03-12 22:09:09 -04:00
k_priority_queue.h kernel: convert KMemoryLayout, KMemoryRegion*, KPageTableSlabHeap, KPriorityQueue 2023-03-12 22:06:53 -04:00
k_process.cpp memory: rename global memory references to application memory 2023-03-23 20:28:47 -04:00
k_process.h memory: rename global memory references to application memory 2023-03-23 20:28:47 -04:00
k_readable_event.cpp kernel: remove kernel_ 2023-03-12 22:09:09 -04:00
k_readable_event.h kernel: remove kernel_ 2023-03-12 22:09:09 -04:00
k_resource_limit.cpp kernel: prefer std::addressof 2023-03-12 22:09:09 -04:00
k_resource_limit.h kernel: convert KResourceLimit 2023-03-12 22:09:09 -04:00
k_scheduler.cpp core_timing: Use CNTPCT as the guest CPU tick 2023-06-07 21:44:42 -04:00
k_scheduler.h kernel: remove kernel_ 2023-03-12 22:09:09 -04:00
k_scheduler_lock.h kernel: convert KAbstractSchedulerLock 2023-03-12 22:06:53 -04:00
k_scoped_lock.h kernel: conver KScopedLock, KScopedResourceReservation, KSessionRequest, KSharedMemory, KSpinLock 2023-03-12 22:06:53 -04:00
k_scoped_resource_reservation.h kernel: conver KScopedLock, KScopedResourceReservation, KSessionRequest, KSharedMemory, KSpinLock 2023-03-12 22:06:53 -04:00
k_scoped_scheduler_lock_and_sleep.h kernel: convert GlobalSchedulerContext, KAddressArbiter, KScopedSchedulerLockAndSleep, KThreadQueue to new style 2023-03-12 22:06:53 -04:00
k_server_port.cpp kernel: remove kernel_ 2023-03-12 22:09:09 -04:00
k_server_port.h kernel: remove general boost lists 2023-04-29 22:11:32 -04:00
k_server_session.cpp memory: rename global memory references to application memory 2023-03-23 20:28:47 -04:00
k_server_session.h kernel: remove general boost lists 2023-04-29 22:11:32 -04:00
k_session.cpp kernel: remove kernel_ 2023-03-12 22:09:09 -04:00
k_session.h kernel: remove kernel_ 2023-03-12 22:09:09 -04:00
k_session_request.cpp kernel: use KTypedAddress for addresses 2023-03-22 09:35:16 -04:00
k_session_request.h kernel: remove general boost lists 2023-04-29 22:11:32 -04:00
k_shared_memory.cpp kernel: use KTypedAddress for addresses 2023-03-22 09:35:16 -04:00
k_shared_memory.h kernel: use KTypedAddress for addresses 2023-03-22 09:35:16 -04:00
k_shared_memory_info.h kernel: remove general boost lists 2023-04-29 22:11:32 -04:00
k_slab_heap.h kernel: prefer std::addressof 2023-03-12 22:09:09 -04:00
k_spin_lock.cpp kernel: conver KScopedLock, KScopedResourceReservation, KSessionRequest, KSharedMemory, KSpinLock 2023-03-12 22:06:53 -04:00
k_spin_lock.h kernel: conver KScopedLock, KScopedResourceReservation, KSessionRequest, KSharedMemory, KSpinLock 2023-03-12 22:06:53 -04:00
k_synchronization_object.cpp kernel: remove kernel_ 2023-03-12 22:09:09 -04:00
k_synchronization_object.h kernel: convert miscellaneous 2023-03-12 22:06:53 -04:00
k_system_control.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
k_system_resource.cpp kernel: remove gratitutous attribute usage 2023-03-12 22:09:09 -04:00
k_system_resource.h kernel: use KTypedAddress for addresses 2023-03-22 09:35:16 -04:00
k_thread.cpp memory: rename global memory references to application memory 2023-03-23 20:28:47 -04:00
k_thread.h kernel: remove general boost lists 2023-04-29 22:11:32 -04:00
k_thread_local_page.cpp kernel: use KTypedAddress for addresses 2023-03-22 09:35:16 -04:00
k_thread_local_page.h kernel: use KTypedAddress for addresses 2023-03-22 09:35:16 -04:00
k_thread_queue.cpp kernel: convert GlobalSchedulerContext, KAddressArbiter, KScopedSchedulerLockAndSleep, KThreadQueue to new style 2023-03-12 22:06:53 -04:00
k_thread_queue.h kernel: remove kernel_ 2023-03-12 22:09:09 -04:00
k_timer_task.h kernel: add KHardwareTimer 2022-12-18 16:37:19 -05:00
k_trace.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
k_transfer_memory.cpp kernel: use KTypedAddress for addresses 2023-03-22 09:35:16 -04:00
k_transfer_memory.h kernel: use KTypedAddress for addresses 2023-03-22 09:35:16 -04:00
k_typed_address.h kernel: use KTypedAddress for addresses 2023-03-22 09:35:16 -04:00
k_worker_task.h kernel: remove kernel_ 2023-03-12 22:09:09 -04:00
k_worker_task_manager.cpp kernel: remove kernel_ 2023-03-12 22:09:09 -04:00
k_worker_task_manager.h kernel: remove kernel_ 2023-03-12 22:09:09 -04:00
kernel.cpp kernel: match calls to Register and Unregister 2023-04-29 21:52:26 -04:00
kernel.h kernel: use KTypedAddress for addresses 2023-03-22 09:35:16 -04:00
memory_types.h kernel: use KTypedAddress for addresses 2023-03-22 09:35:16 -04:00
physical_core.cpp kernel: convert miscellaneous 2023-03-12 22:06:53 -04:00
physical_core.h kernel: convert miscellaneous 2023-03-12 22:06:53 -04:00
physical_memory.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
process_capability.cpp remove static from pointer sized or smaller types for aesthetics, change constexpr static to static constexpr for consistency 2023-02-14 12:35:39 -05:00
process_capability.h core: Replace all instances of ResultCode with Result 2022-06-26 20:21:37 -05:00
slab_helpers.h kernel: remove kernel_ 2023-03-12 22:09:09 -04:00
svc.cpp kernel: prefer std::addressof 2023-03-12 22:09:09 -04:00
svc.h svc: Fix type consistency (exposed on macOS) 2023-02-21 21:39:17 +00:00
svc_common.h core: hle: kernel: svc_common: Add WaitInfinite & cleanup. 2022-10-18 19:13:34 -07:00
svc_generator.py kernel: prefer std::addressof 2023-03-12 22:09:09 -04:00
svc_results.h kernel/svc: switch to generated wrappers 2023-02-06 23:57:44 -05:00
svc_types.h kernel: use KTypedAddress for addresses 2023-03-22 09:35:16 -04:00
svc_version.h kernel: avoid usage of bit_cast 2023-02-10 09:13:58 -05:00