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

check cmdline string to determine the frequency

This commit is contained in:
Stefan Lankes 2017-04-03 09:16:12 +02:00
parent 78922085ac
commit 1e3a73ea44

View file

@ -172,7 +172,6 @@ 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
@ -182,7 +181,7 @@ static uint32_t get_frequency_from_mbinfo(void)
return atoi(found+strlen("-freq"));
}
#endif
return 0;
}