1 /* SPDX-License-Identifier: GPL-2.0 */
2 // Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
4 #ifndef __ASM_CSKY_FIXMAP_H
5 #define __ASM_CSKY_FIXMAP_H
9 #include <linux/threads.h>
10 #include <asm/kmap_types.h>
13 enum fixed_addresses
{
16 FIX_KMAP_END
= FIX_KMAP_BEGIN
+ (KM_TYPE_NR
* NR_CPUS
) - 1,
18 __end_of_fixed_addresses
21 #define FIXADDR_TOP 0xffffc000
22 #define FIXADDR_SIZE (__end_of_fixed_addresses << PAGE_SHIFT)
23 #define FIXADDR_START (FIXADDR_TOP - FIXADDR_SIZE)
25 #include <asm-generic/fixmap.h>
27 #endif /* __ASM_CSKY_FIXMAP_H */