Lines Matching +full:long +full:- +full:ram +full:- +full:code
2 * Copyright (C) 2007-2009 Michal Simek <monstr@monstr.eu>
3 * Copyright (C) 2007-2009 PetaLogix
32 #include <linux/dma-mapping.h>
46 * ASM code. Default position is BSS section which is cleared
70 code (ie no point checking for CRAMFS if it's not even enabled) */
74 if (memcmp(&addr[0], "-rom1fs-", 8) == 0) /* romfs */ in get_romfs_len()
86 unsigned long kernel_tlb;
88 void __init machine_early_init(const char *cmdline, unsigned int ram, in machine_early_init() argument
92 unsigned long *src, *dst; in machine_early_init()
104 romfs_base = (ram ? ram : (unsigned int)&__init_end); in machine_early_init()
119 memset(__bss_start, 0, __bss_stop-__bss_start); in machine_early_init()
120 memset(_ssbss, 0, _esbss-_ssbss); in machine_early_init()
126 * Maybe worth to move to asm code */ in machine_early_init()
131 pr_info("Ramdisk addr 0x%08x, ", ram); in machine_early_init()
135 pr_info("Compiled-in FDT at %p\n", _fdt_start); in machine_early_init()
163 * in block ram. If you want to copy reset vector setup offset to 0x0 */ in machine_early_init()
167 dst = (unsigned long *) (offset * sizeof(u32)); in machine_early_init()
173 per_cpu(CURRENT_SAVE, 0) = (unsigned long)current; in machine_early_init()