mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-01 06:58:22 +00:00
timekeeper sources: add an option to disable each one of them
This commit is contained in:
@@ -3,8 +3,13 @@
|
||||
#include <arch/cpuid.h>
|
||||
#include <logging.h>
|
||||
#include <kernel/alloc.h>
|
||||
#include <arch/hpet.h>
|
||||
#include <kernel/cmdline.h>
|
||||
|
||||
static bool tsc_probe(void) {
|
||||
if (cmdline_get("notsc"))
|
||||
return false;
|
||||
|
||||
cpuid_results_t cpuid_results;
|
||||
|
||||
uint32_t max_extended_leaf = cpuid_extended_max_leaf();
|
||||
|
||||
Reference in New Issue
Block a user