| * (C) Copyright 2000-2002 |
| * Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| * Gleb Natapov <gnatapov@mrv.com> |
| * Daniel Hellstrom, Gaisler Research, daniel@gaisler.com. |
| * SPDX-License-Identifier: GPL-2.0+ |
| #include <asm/processor.h> |
| /* Implemented by SPARC CPUs */ |
| extern int interrupt_init_cpu(void); |
| extern void timer_interrupt_cpu(void *arg); |
| extern int timer_interrupt_init_cpu(void); |
| /* set PIL to 15 ==> no pending interrupts will interrupt CPU */ |
| void intUnlock(int oldLevel) |
| void enable_interrupts(void) |
| set_pil(0); /* enable all interrupts */ |
| int disable_interrupts(void) |
| int interrupt_is_enabled(void) |
| /* call cpu specific function from $(CPU)/interrupts.c */ |
| ret = interrupt_init_cpu(); |
| /* enable global interrupts */ |