kern: remove more of clc

This commit is contained in:
Michael Scire 2020-12-01 13:08:47 -08:00 committed by SciresM
parent aae565629e
commit 24d545701c
4 changed files with 5 additions and 29 deletions

View file

@ -26,7 +26,7 @@ namespace ams::kern::arch::arm64 {
constexpr KHardwareTimer() : KInterruptTask(), KHardwareTimerBase(), maximum_time(std::numeric_limits<s64>::max()) { /* ... */ }
public:
/* Public API. */
NOINLINE void Initialize(s32 core_id);
NOINLINE void Initialize();
NOINLINE void Finalize();
static s64 GetTick() {

View file

@ -27,18 +27,6 @@ namespace ams::kern {
struct KCoreLocalContext {
KCurrentContext current;
/* Everything after this point is for debugging. */
/* Retail kernel doesn't even consistently update these fields. */
u64 num_sw_interrupts;
u64 num_hw_interrupts;
std::atomic<u64> num_svc;
u64 num_process_switches;
u64 num_thread_switches;
u64 num_fpu_switches;
u64 num_scheduler_updates;
u64 num_invoked_scheduler_updates;
std::atomic<u64> num_specific_svc[0x80];
u32 perf_counters[6];
};
static_assert(sizeof(KCoreLocalContext) < PageSize);