init.c (a69862d8d04e4877965cc938140c9f8e6da0b827) init.c (4ed89f2228061422ce5f62545fd0b6f6648bd2cc)
1/*
2 * linux/arch/arm/mm/init.c
3 *
4 * Copyright (C) 1995-2005 Russell King
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.

--- 53 unchanged lines hidden (view full) ---

62 phys_initrd_size = size;
63 }
64 return 0;
65}
66early_param("initrd", early_initrd);
67
68static int __init parse_tag_initrd(const struct tag *tag)
69{
1/*
2 * linux/arch/arm/mm/init.c
3 *
4 * Copyright (C) 1995-2005 Russell King
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.

--- 53 unchanged lines hidden (view full) ---

62 phys_initrd_size = size;
63 }
64 return 0;
65}
66early_param("initrd", early_initrd);
67
68static int __init parse_tag_initrd(const struct tag *tag)
69{
70 printk(KERN_WARNING "ATAG_INITRD is deprecated; "
70 pr_warn("ATAG_INITRD is deprecated; "
71 "please update your bootloader.\n");
72 phys_initrd_start = __virt_to_phys(tag->u.initrd.start);
73 phys_initrd_size = tag->u.initrd.size;
74 return 0;
75}
76
77__tagtable(ATAG_INITRD, parse_tag_initrd);
78

--- 460 unchanged lines hidden (view full) ---

539 free_highpages();
540
541 mem_init_print_info(NULL);
542
543#define MLK(b, t) b, t, ((t) - (b)) >> 10
544#define MLM(b, t) b, t, ((t) - (b)) >> 20
545#define MLK_ROUNDUP(b, t) b, t, DIV_ROUND_UP(((t) - (b)), SZ_1K)
546
71 "please update your bootloader.\n");
72 phys_initrd_start = __virt_to_phys(tag->u.initrd.start);
73 phys_initrd_size = tag->u.initrd.size;
74 return 0;
75}
76
77__tagtable(ATAG_INITRD, parse_tag_initrd);
78

--- 460 unchanged lines hidden (view full) ---

539 free_highpages();
540
541 mem_init_print_info(NULL);
542
543#define MLK(b, t) b, t, ((t) - (b)) >> 10
544#define MLM(b, t) b, t, ((t) - (b)) >> 20
545#define MLK_ROUNDUP(b, t) b, t, DIV_ROUND_UP(((t) - (b)), SZ_1K)
546
547 printk(KERN_NOTICE "Virtual kernel memory layout:\n"
547 pr_notice("Virtual kernel memory layout:\n"
548 " vector : 0x%08lx - 0x%08lx (%4ld kB)\n"
549#ifdef CONFIG_HAVE_TCM
550 " DTCM : 0x%08lx - 0x%08lx (%4ld kB)\n"
551 " ITCM : 0x%08lx - 0x%08lx (%4ld kB)\n"
552#endif
553 " fixmap : 0x%08lx - 0x%08lx (%4ld kB)\n"
554 " vmalloc : 0x%08lx - 0x%08lx (%4ld MB)\n"
555 " lowmem : 0x%08lx - 0x%08lx (%4ld MB)\n"
556#ifdef CONFIG_HIGHMEM
557 " pkmap : 0x%08lx - 0x%08lx (%4ld MB)\n"
558#endif
559#ifdef CONFIG_MODULES
560 " modules : 0x%08lx - 0x%08lx (%4ld MB)\n"
561#endif
548 " vector : 0x%08lx - 0x%08lx (%4ld kB)\n"
549#ifdef CONFIG_HAVE_TCM
550 " DTCM : 0x%08lx - 0x%08lx (%4ld kB)\n"
551 " ITCM : 0x%08lx - 0x%08lx (%4ld kB)\n"
552#endif
553 " fixmap : 0x%08lx - 0x%08lx (%4ld kB)\n"
554 " vmalloc : 0x%08lx - 0x%08lx (%4ld MB)\n"
555 " lowmem : 0x%08lx - 0x%08lx (%4ld MB)\n"
556#ifdef CONFIG_HIGHMEM
557 " pkmap : 0x%08lx - 0x%08lx (%4ld MB)\n"
558#endif
559#ifdef CONFIG_MODULES
560 " modules : 0x%08lx - 0x%08lx (%4ld MB)\n"
561#endif
562 " .text : 0x%p" " - 0x%p" " (%4td kB)\n"
563 " .init : 0x%p" " - 0x%p" " (%4td kB)\n"
564 " .data : 0x%p" " - 0x%p" " (%4td kB)\n"
565 " .bss : 0x%p" " - 0x%p" " (%4td kB)\n",
562 " .text : 0x%p" " - 0x%p" " (%4d kB)\n"
563 " .init : 0x%p" " - 0x%p" " (%4d kB)\n"
564 " .data : 0x%p" " - 0x%p" " (%4d kB)\n"
565 " .bss : 0x%p" " - 0x%p" " (%4d kB)\n",
566
567 MLK(UL(CONFIG_VECTORS_BASE), UL(CONFIG_VECTORS_BASE) +
568 (PAGE_SIZE)),
569#ifdef CONFIG_HAVE_TCM
570 MLK(DTCM_OFFSET, (unsigned long) dtcm_end),
571 MLK(ITCM_OFFSET, (unsigned long) itcm_end),
572#endif
573 MLK(FIXADDR_START, FIXADDR_TOP),

--- 83 unchanged lines hidden ---
566
567 MLK(UL(CONFIG_VECTORS_BASE), UL(CONFIG_VECTORS_BASE) +
568 (PAGE_SIZE)),
569#ifdef CONFIG_HAVE_TCM
570 MLK(DTCM_OFFSET, (unsigned long) dtcm_end),
571 MLK(ITCM_OFFSET, (unsigned long) itcm_end),
572#endif
573 MLK(FIXADDR_START, FIXADDR_TOP),

--- 83 unchanged lines hidden ---