18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
38c2ecf20Sopenharmony_ci
48c2ecf20Sopenharmony_ci#ifndef __ASM_CSKY_ADDRSPACE_H
58c2ecf20Sopenharmony_ci#define __ASM_CSKY_ADDRSPACE_H
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci#define KSEG0		0x80000000ul
88c2ecf20Sopenharmony_ci#define KSEG0ADDR(a)	(((unsigned long)a & 0x1fffffff) | KSEG0)
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ci#endif /* __ASM_CSKY_ADDRSPACE_H */
11