1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-09 00:00:03 +01:00

disable (temporary) frequency detection

This commit is contained in:
Stefan Lankes 2016-11-07 23:38:52 +01:00
parent e5792bd088
commit a7e74cceae

View file

@ -170,6 +170,7 @@ static void fpu_init_xsave(union fpu_state* fpu)
static uint32_t get_frequency_from_mbinfo(void)
{
#if 0
if (mb_info && (mb_info->flags & MULTIBOOT_INFO_CMDLINE))
{
// search in the command line for cpu frequency
@ -179,7 +180,7 @@ static uint32_t get_frequency_from_mbinfo(void)
return atoi(found+strlen("-freq"));
}
#endif
return 0;
}