spaces.h 488 B

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