mirror of https://github.com/Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
344 B
13 lines
344 B
/* SPDX-License-Identifier: GPL-2.0 */ |
|
#include <mach/hardware.h> |
|
#include <asm/hardware/entry-macro-iomd.S> |
|
|
|
.equ ioc_base_high, IOC_BASE & 0xff000000 |
|
.equ ioc_base_low, IOC_BASE & 0x00ff0000 |
|
|
|
.macro get_irqnr_preamble, base, tmp |
|
mov \base, #ioc_base_high @ point at IOC |
|
.if ioc_base_low |
|
orr \base, \base, #ioc_base_low |
|
.endif |
|
.endm
|
|
|