mirror of
https://github.com/hermitcore/libhermit.git
synced 2025-03-09 00:00:03 +01:00
disable bug frequency detection
This commit is contained in:
parent
e5792bd088
commit
e797232871
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue