Revision 0ccff151 hw/mips_malta.c

b/hw/mips_malta.c
802 802
    qemu_register_reset(main_cpu_reset, env);
803 803

  
804 804
    /* allocate RAM */
805
    if (ram_size > (256 << 20)) {
806
        fprintf(stderr,
807
                "qemu: Too much memory for this machine: %d MB, maximum 256 MB\n",
808
                ((unsigned int)ram_size / (1 << 20)));
809
        exit(1);
810
    }
805 811
    cpu_register_physical_memory(0, ram_size, IO_MEM_RAM);
806 812

  
807 813
    /* Map the bios at two physical locations, as on the real board. */

Also available in: Unified diff