Subversion Repositories HelenOS

Rev

Rev 3492 | Rev 3582 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3492 Rev 3502
Line 81... Line 81...
81
 
81
 
82
    if (!ofw_memmap(&bootinfo.memmap)) {
82
    if (!ofw_memmap(&bootinfo.memmap)) {
83
        printf("Error: unable to get memory map, halting.\n");
83
        printf("Error: unable to get memory map, halting.\n");
84
        halt();
84
        halt();
85
    }
85
    }
86
   
86
 
87
    if (bootinfo.memmap.total == 0) {
87
    if (bootinfo.memmap.total == 0) {
88
        printf("Error: no memory detected, halting.\n");
88
        printf("Error: no memory detected, halting.\n");
89
        halt();
89
        halt();
90
    }
90
    }
91
 
91