Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Linux/arch/powerpc/platforms/86xx/   (Open Source Betriebssystem Version 6.17.9©)  Datei vom 24.10.2025 mit Größe 861 B image not shown  

Quelle  common.c   Sprache: C

 
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Routines common to most mpc86xx-based boards.
 */


#include <linux/init.h>
#include <linux/mod_devicetable.h>
#include <linux/of_platform.h>
#include <asm/reg.h>
#include <asm/synch.h>

#include "mpc86xx.h"

static const struct of_device_id mpc86xx_common_ids[] __initconst = {
 { .type = "soc", },
 { .compatible = "soc", },
 { .compatible = "simple-bus", },
 { .name = "localbus", },
 { .compatible = "gianfar", },
 { .compatible = "fsl,mpc8641-pcie", },
 {},
};

int __init mpc86xx_common_publish_devices(void)
{
 return of_platform_bus_probe(NULL, mpc86xx_common_ids, NULL);
}

long __init mpc86xx_time_init(void)
{
 unsigned int temp;

 /* Set the time base to zero */
 mtspr(SPRN_TBWL, 0);
 mtspr(SPRN_TBWU, 0);

 temp = mfspr(SPRN_HID0);
 temp |= HID0_TBEN;
 mtspr(SPRN_HID0, temp);
 isync();

 return 0;
}

Messung V0.5
C=94 H=70 G=82

¤ Dauer der Verarbeitung: 0.1 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

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.