/* Legacy device binding -- will go away when no users are left. */
node = of_find_node_by_type(NULL, "cpm"); if (!node)
node = of_find_compatible_node(NULL, NULL, "fsl,qe"); if (!node)
node = of_find_node_by_type(NULL, "qe");
if (node) {
of_property_read_u32(node, "brg-frequency", &brgfreq); if (brgfreq == -1 || !brgfreq) if (!of_property_read_u32(node, "bus-frequency",
&brgfreq))
brgfreq /= 2;
of_node_put(node);
}
#ifdef CONFIG_EPAPR_PARAVIRT /* * Restart the current partition * * This function should be assigned to the ppc_md.restart function pointer, * to initiate a partition restart when we're running under the Freescale * hypervisor.
*/ void __noreturn fsl_hv_restart(char *cmd)
{
pr_info("hv restart\n");
fh_partition_restart(-1); while (1) ;
}
/* * Halt the current partition * * This function should be assigned to the pm_power_off and ppc_md.halt * function pointers, to shut down the partition when we're running under * the Freescale hypervisor.
*/ void __noreturn fsl_hv_halt(void)
{
pr_info("hv exit\n");
fh_partition_stop(-1); while (1) ;
} #endif
Messung V0.5
¤ Dauer der Verarbeitung: 0.12 Sekunden
(vorverarbeitet)
¤
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.