162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 262306a36Sopenharmony_ci * 362306a36Sopenharmony_ci * Copyright (C) 1999 by Kaz Kojima 462306a36Sopenharmony_ci * 562306a36Sopenharmony_ci * Defitions for the address spaces of the SH-4 CPUs. 662306a36Sopenharmony_ci */ 762306a36Sopenharmony_ci#ifndef __ASM_CPU_SH4_ADDRSPACE_H 862306a36Sopenharmony_ci#define __ASM_CPU_SH4_ADDRSPACE_H 962306a36Sopenharmony_ci 1062306a36Sopenharmony_ci#define P0SEG 0x00000000 1162306a36Sopenharmony_ci#define P1SEG 0x80000000 1262306a36Sopenharmony_ci#define P2SEG 0xa0000000 1362306a36Sopenharmony_ci#define P3SEG 0xc0000000 1462306a36Sopenharmony_ci#define P4SEG 0xe0000000 1562306a36Sopenharmony_ci 1662306a36Sopenharmony_ci/* Detailed P4SEG */ 1762306a36Sopenharmony_ci#define P4SEG_STORE_QUE (P4SEG) 1862306a36Sopenharmony_ci#define P4SEG_IC_ADDR 0xf0000000 1962306a36Sopenharmony_ci#define P4SEG_IC_DATA 0xf1000000 2062306a36Sopenharmony_ci#define P4SEG_ITLB_ADDR 0xf2000000 2162306a36Sopenharmony_ci#define P4SEG_ITLB_DATA 0xf3000000 2262306a36Sopenharmony_ci#define P4SEG_OC_ADDR 0xf4000000 2362306a36Sopenharmony_ci#define P4SEG_OC_DATA 0xf5000000 2462306a36Sopenharmony_ci#define P4SEG_TLB_ADDR 0xf6000000 2562306a36Sopenharmony_ci#define P4SEG_TLB_DATA 0xf7000000 2662306a36Sopenharmony_ci#define P4SEG_REG_BASE 0xff000000 2762306a36Sopenharmony_ci 2862306a36Sopenharmony_ci#define PA_AREA0 0x00000000 2962306a36Sopenharmony_ci#define PA_AREA1 0x04000000 3062306a36Sopenharmony_ci#define PA_AREA2 0x08000000 3162306a36Sopenharmony_ci#define PA_AREA3 0x0c000000 3262306a36Sopenharmony_ci#define PA_AREA4 0x10000000 3362306a36Sopenharmony_ci#define PA_AREA5 0x14000000 3462306a36Sopenharmony_ci#define PA_AREA6 0x18000000 3562306a36Sopenharmony_ci#define PA_AREA7 0x1c000000 3662306a36Sopenharmony_ci 3762306a36Sopenharmony_ci#define PA_AREA5_IO 0xb4000000 /* Area 5 IO Memory */ 3862306a36Sopenharmony_ci#define PA_AREA6_IO 0xb8000000 /* Area 6 IO Memory */ 3962306a36Sopenharmony_ci 4062306a36Sopenharmony_ci#endif /* __ASM_CPU_SH4_ADDRSPACE_H */ 4162306a36Sopenharmony_ci 42