Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/C/Linux/arch/mips/mm/   (Open Source Betriebssystem Version 6.17.9©)  Datei vom 24.10.2025 mit Größe 570 B image not shown  

Quelle  ioremap64.c   Sprache: C

 
// SPDX-License-Identifier: GPL-2.0-only
#include <linux/io.h>
#include <ioremap.h>

void __iomem *ioremap_prot(phys_addr_t offset, unsigned long size,
      pgprot_t prot)
{
 unsigned long flags = pgprot_val(prot) & _CACHE_MASK;
 u64 base = (flags == _CACHE_UNCACHED ? IO_BASE : UNCAC_BASE);
 void __iomem *addr;

 addr = plat_ioremap(offset, size, flags);
 if (!addr)
  addr = (void __iomem *)(unsigned long)(base + offset);
 return addr;
}
EXPORT_SYMBOL(ioremap_prot);

void iounmap(const volatile void __iomem *addr)
{
 plat_iounmap(addr);
}
EXPORT_SYMBOL(iounmap);

Messung V0.5
C=97 H=91 G=93

¤ Dauer der Verarbeitung: 0.3 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.