// SPDX-License-Identifier: GPL-2.0 /* devices.c: Initial scan of the prom device tree for important *Sparcdevicenodeswhichweneedtofind. * *Thisisbasedonthesparc64version,butsun4mdoesn'talwaysuse *thehardwareMIDs,sobecareful. * *Copyright(C)1996DavidS.Miller(davem@caip.rutgers.edu)
*/
/* sun4m uses truncated mids since we base the cpuid on the ttable/irqset *address(0-3).Thisgivesusthetruehardwaremid,whichmighthave *someotherbitsset.On4dhardwareandsoftwaremidsarethesame.
*/ int cpu_get_hwmid(phandle prom_node)
{ return prom_getintdefault(prom_node, cpu_mid_prop(), -ENODEV);
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.