summaryrefslogtreecommitdiff
path: root/arch/csky/include/asm/addrspace.h
blob: d1c2ede692edb787475e540a993d52e1afb3afc5 (plain)
1
2
3
4
5
6
7
8
9
10
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef __ASM_CSKY_ADDRSPACE_H
#define __ASM_CSKY_ADDRSPACE_H

#define KSEG0		0x80000000ul
#define KSEG0ADDR(a)	(((unsigned long)a & 0x1fffffff) | KSEG0)

#endif /* __ASM_CSKY_ADDRSPACE_H */