Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef __ASM_MACH_LOONGSON64_SPACES_H_
0003 #define __ASM_MACH_LOONGSON64_SPACES_H_
0004 
0005 #if defined(CONFIG_64BIT)
0006 #define CAC_BASE        _AC(0x9800000000000000, UL)
0007 #endif /* CONFIG_64BIT */
0008 
0009 /* Skip 128k to trap NULL pointer dereferences */
0010 #define PCI_IOBASE  _AC(0xc000000000000000 + SZ_128K, UL)
0011 #define PCI_IOSIZE  SZ_16M
0012 #define MAP_BASE    (PCI_IOBASE + PCI_IOSIZE)
0013 
0014 #define IO_SPACE_LIMIT  (PCI_IOSIZE - 1)
0015 
0016 #include <asm/mach-generic/spaces.h>
0017 #endif