Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/C/Linux/tools/testing/selftests/riscv/hwprobe/   (Open Source Betriebssystem Version 6.17.9©)  Datei vom 24.10.2025 mit Größe 724 B image not shown  

Quelle  hwprobe.h   Sprache: C

 
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef SELFTEST_RISCV_HWPROBE_H
#define SELFTEST_RISCV_HWPROBE_H
#include <stddef.h>
#include <asm/hwprobe.h>

#if __BYTE_ORDER == __BIG_ENDIAN
define le32_bswap(_x)    \
 ((((_x) & 0x000000ffU) << 24) |  \
  (((_x) & 0x0000ff00U) <<  8) |  \
  (((_x) & 0x00ff0000U) >>  8) |  \
  (((_x) & 0xff000000U) >> 24))
#else
define le32_bswap(_x) (_x)
#endif

/*
 * Rather than relying on having a new enough libc to define this, just do it
 * ourselves.  This way we don't need to be coupled to a new-enough libc to
 * contain the call.
 */

long riscv_hwprobe(struct riscv_hwprobe *pairs, size_t pair_count,
     size_t cpusetsize, unsigned long *cpus, unsigned int flags);

#endif

Messung V0.5
C=94 H=94 G=93

¤ Dauer der Verarbeitung: 0.2 Sekunden  ¤

*© 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.