/* Map between the irq identifier used in hw to the * irq_bucket. The map is sufficient large to hold * the sun4d hw identifiers.
*/ externstruct irq_bucket *irq_map[SUN4D_MAX_IRQ];
/* sun4m specific type definitions */
/* This maps direct to CPU specific interrupt registers */ struct sun4m_irq_percpu {
u32 pending;
u32 clear;
u32 set;
};
/* This maps direct to global interrupt registers */ struct sun4m_irq_global {
u32 pending;
u32 mask;
u32 mask_clear;
u32 mask_set;
u32 interrupt_target;
};
/* The following definitions describe the individual platform features: */ #define FEAT_L10_CLOCKSOURCE (1 << 0) /* L10 timer is used as a clocksource */ #define FEAT_L10_CLOCKEVENT (1 << 1) /* L10 timer is used as a clockevent */ #define FEAT_L14_ONESHOT (1 << 2) /* L14 timer clockevent can oneshot */
/* * Platform specific configuration * The individual platforms assign their platform * specifics in their init functions.
*/ struct sparc_config { void (*init_timers)(void); unsignedint (*build_device_irq)(struct platform_device *op, unsignedint real_irq);
/* generic clockevent features - see FEAT_* above */ int features;
/* clock rate used for clock event timer */ int clock_rate;
/* one period for clock source timer */ unsignedint cs_period;
/* function to obtain offsett for cs period */ unsignedint (*get_cycles_offset)(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.