Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Linux/arch/mips/txx9/generic/   (Open Source Betriebssystem Version 6.17.9©)  Datei vom 24.10.2025 mit Größe 1 kB image not shown  

Quelle  irq_tx4938.c   Sprache: C

 
/*
 * linux/arch/mips/tx4938/common/irq.c
 *
 * Common tx4938 irq handler
 * Copyright (C) 2000-2001 Toshiba Corporation
 *
 * 2003-2005 (c) MontaVista Software, Inc. This file is licensed under the
 * terms of the GNU General Public License version 2. This program is
 * licensed "as is" without any warranty of any kind, whether express
 * or implied.
 *
 * Support for TX4938 in 2.6 - Manish Lachwani (mlachwani@mvista.com)
 */

#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <asm/irq_cpu.h>
#include <asm/txx9/tx4938.h>

void __init tx4938_irq_init(void)
{
 int i;

 mips_cpu_irq_init();
 txx9_irq_init(TX4938_IRC_REG & 0xfffffffffULL);
 irq_set_chained_handler(MIPS_CPU_IRQ_BASE + TX4938_IRC_INT,
    handle_simple_irq);
 /* raise priority for errors, timers, SIO */
 txx9_irq_set_pri(TX4938_IR_ECCERR, 7);
 txx9_irq_set_pri(TX4938_IR_WTOERR, 7);
 txx9_irq_set_pri(TX4938_IR_PCIERR, 7);
 txx9_irq_set_pri(TX4938_IR_PCIPME, 7);
 for (i = 0; i < TX4938_NUM_IR_TMR; i++)
  txx9_irq_set_pri(TX4938_IR_TMR(i), 6);
 for (i = 0; i < TX4938_NUM_IR_SIO; i++)
  txx9_irq_set_pri(TX4938_IR_SIO(i), 5);
}

Messung V0.5
C=95 H=-14 G=67

¤ 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.