Loading arch/csky/Kconfig +0 −1 Original line number Diff line number Diff line Loading @@ -191,7 +191,6 @@ endchoice menuconfig HAVE_TCM bool "Tightly-Coupled/Sram Memory" depends on HIGHMEM select GENERIC_ALLOCATOR help The implementation are not only used by TCM (Tightly-Coupled Meory) Loading arch/csky/include/asm/fixmap.h +4 −0 Original line number Diff line number Diff line Loading @@ -27,4 +27,8 @@ enum fixed_addresses { #include <asm-generic/fixmap.h> extern void fixrange_init(unsigned long start, unsigned long end, pgd_t *pgd_base); extern void __init fixaddr_init(void); #endif /* __ASM_CSKY_FIXMAP_H */ arch/csky/include/asm/memory.h +3 −0 Original line number Diff line number Diff line Loading @@ -9,6 +9,9 @@ #include <linux/sizes.h> #define FIXADDR_TOP _AC(0xffffc000, UL) #define PKMAP_BASE _AC(0xff800000, UL) #define VMALLOC_START _AC(0xc0008000, UL) #define VMALLOC_END (PKMAP_BASE - (PAGE_SIZE * 2)) #ifdef CONFIG_HAVE_TCM #ifdef CONFIG_HAVE_DTCM Loading arch/csky/include/asm/pgtable.h +1 −5 Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ #define __ASM_CSKY_PGTABLE_H #include <asm/fixmap.h> #include <asm/memory.h> #include <asm/addrspace.h> #include <abi/pgtable-bits.h> #include <asm-generic/pgtable-nopmd.h> Loading @@ -16,11 +17,6 @@ #define USER_PTRS_PER_PGD (0x80000000UL/PGDIR_SIZE) #define FIRST_USER_ADDRESS 0UL #define PKMAP_BASE (0xff800000) #define VMALLOC_START (0xc0008000) #define VMALLOC_END (PKMAP_BASE - 2*PAGE_SIZE) /* * C-SKY is two-level paging structure: */ Loading arch/csky/kernel/setup.c +2 −0 Original line number Diff line number Diff line Loading @@ -133,6 +133,8 @@ void __init setup_arch(char **cmdline_p) sparse_init(); fixaddr_init(); #ifdef CONFIG_HIGHMEM kmap_init(); #endif Loading Loading
arch/csky/Kconfig +0 −1 Original line number Diff line number Diff line Loading @@ -191,7 +191,6 @@ endchoice menuconfig HAVE_TCM bool "Tightly-Coupled/Sram Memory" depends on HIGHMEM select GENERIC_ALLOCATOR help The implementation are not only used by TCM (Tightly-Coupled Meory) Loading
arch/csky/include/asm/fixmap.h +4 −0 Original line number Diff line number Diff line Loading @@ -27,4 +27,8 @@ enum fixed_addresses { #include <asm-generic/fixmap.h> extern void fixrange_init(unsigned long start, unsigned long end, pgd_t *pgd_base); extern void __init fixaddr_init(void); #endif /* __ASM_CSKY_FIXMAP_H */
arch/csky/include/asm/memory.h +3 −0 Original line number Diff line number Diff line Loading @@ -9,6 +9,9 @@ #include <linux/sizes.h> #define FIXADDR_TOP _AC(0xffffc000, UL) #define PKMAP_BASE _AC(0xff800000, UL) #define VMALLOC_START _AC(0xc0008000, UL) #define VMALLOC_END (PKMAP_BASE - (PAGE_SIZE * 2)) #ifdef CONFIG_HAVE_TCM #ifdef CONFIG_HAVE_DTCM Loading
arch/csky/include/asm/pgtable.h +1 −5 Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ #define __ASM_CSKY_PGTABLE_H #include <asm/fixmap.h> #include <asm/memory.h> #include <asm/addrspace.h> #include <abi/pgtable-bits.h> #include <asm-generic/pgtable-nopmd.h> Loading @@ -16,11 +17,6 @@ #define USER_PTRS_PER_PGD (0x80000000UL/PGDIR_SIZE) #define FIRST_USER_ADDRESS 0UL #define PKMAP_BASE (0xff800000) #define VMALLOC_START (0xc0008000) #define VMALLOC_END (PKMAP_BASE - 2*PAGE_SIZE) /* * C-SKY is two-level paging structure: */ Loading
arch/csky/kernel/setup.c +2 −0 Original line number Diff line number Diff line Loading @@ -133,6 +133,8 @@ void __init setup_arch(char **cmdline_p) sparse_init(); fixaddr_init(); #ifdef CONFIG_HIGHMEM kmap_init(); #endif Loading