Warning: This file is not a C or C++ file. It does not have highlighting.

1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef __ASM_MACH_LOONGSON64_SPACES_H_
3#define __ASM_MACH_LOONGSON64_SPACES_H_
4
5#if defined(CONFIG_64BIT)
6#define CAC_BASE _AC(0x9800000000000000, UL)
7#endif /* CONFIG_64BIT */
8
9/* Skip 128k to trap NULL pointer dereferences */
10#define PCI_PORT_BASE _AC(0xc000000000000000 + SZ_128K, UL)
11#define PCI_IOBASE (void __iomem *)PCI_PORT_BASE
12#define PCI_IOSIZE SZ_16M
13#define MAP_BASE (PCI_PORT_BASE + PCI_IOSIZE)
14
15#define IO_SPACE_LIMIT (PCI_IOSIZE - 1)
16
17#include <asm/mach-generic/spaces.h>
18#endif
19

Warning: This file is not a C or C++ file. It does not have highlighting.

source code of linux/arch/mips/include/asm/mach-loongson64/spaces.h