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

Quelle  dma-swiotlb.c   Sprache: C

 
// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Contains routines needed to support swiotlb for ppc.
 *
 * Copyright (C) 2009-2010 Freescale Semiconductor, Inc.
 * Author: Becky Bruce
 */

#include <linux/memblock.h>
#include <asm/machdep.h>
#include <asm/swiotlb.h>

unsigned int ppc_swiotlb_enable;
unsigned int ppc_swiotlb_flags;

void __init swiotlb_detect_4g(void)
{
 if ((memblock_end_of_DRAM() - 1) > 0xffffffff)
  ppc_swiotlb_enable = 1;
}

static int __init check_swiotlb_enabled(void)
{
 if (ppc_swiotlb_enable)
  swiotlb_print_info();
 else
  swiotlb_exit();

 return 0;
}
subsys_initcall(check_swiotlb_enabled);

Messung V0.5
C=94 H=74 G=84

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