/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2001, 2002, MontaVista Software Inc. * Author: Jun Sun, jsun@mvista.com or jsun@junsun.net * Copyright (c) 2003 Maciej W. Rozycki * * include/asm-mips/time.h * header file for the new style time.c file and time services.
*/ #ifndef _ASM_TIME_H #define _ASM_TIME_H
/* * board specific routines required by time_init().
*/ externvoid plat_time_init(void);
/* * mips_hpt_frequency - must be set if you intend to use an R4k-compatible * counter as a timer interrupt source.
*/ externunsignedint mips_hpt_frequency;
/* * The performance counter IRQ on MIPS is a close relative to the timer IRQ * so it lives here.
*/ externint (*perf_irq)(void); externint __weak get_c0_perfcount_int(void);
/* * Initialize the calling CPU's compare interrupt as clockevent device
*/ externunsignedint get_c0_compare_int(void); externint r4k_clockevent_init(void);
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.