get timebase-frequency on osx too.

This commit is contained in:
gbeauche 2004-07-04 05:19:44 +00:00
parent 9545f93d3d
commit ebdb5d29fd

View File

@ -598,6 +598,8 @@ int main(int argc, char **argv)
CPUClockSpeed = value;
else if (sscanf(line, "%[ |]\"bus-frequency\" = <%x>", head, &value) == 2)
BusClockSpeed = value;
else if (sscanf(line, "%[ |]\"timebase-frequency\" = <%x>", head, &value) == 2)
TimebaseSpeed = value;
else if (strchr(line, '}'))
powerpc_node = false;
}