Home | History | Annotate | Download | only in hw

Lines Matching full:ram_size

73 static void android_load_kernel(CPUState *env, int ram_size, const char *kernel_filename,
101 if (initrd_offset + initrd_size > ram_size) {
109 ram_size - initrd_offset);
122 cmdline = ram_size - TARGET_PAGE_SIZE;
131 cpu_physical_memory_write(ram_size - TARGET_PAGE_SIZE, (void *)kernel_cmd, strlen(kernel_cmd) + 1);
143 env->active_tc.gpr[5] = ram_size; /* a1 */
150 static void android_mips_init_(ram_addr_t ram_size,
169 if (ram_size > GOLDFISH_IO_SPACE)
170 ram_size = GOLDFISH_IO_SPACE; /* avoid overlap of ram and IO regs */
171 ram_offset = qemu_ram_alloc(NULL, "android_mips", ram_size);
172 cpu_register_physical_memory(0, ram_size, ram_offset | IO_MEM_RAM);
262 android_load_kernel(env, ram_size, kernel_filename, kernel_cmdline, initrd_filename);