pause after claim failed (Nathan Lynch)
authorPaul Nasrat <pnasrat@redhat.com>
Fri, 10 Feb 2006 01:28:01 +0000 (01:28 +0000)
committerPaul Nasrat <pnasrat@redhat.com>
Fri, 10 Feb 2006 01:28:01 +0000 (01:28 +0000)
pause after claim failed (Nathan Lynch)

git-archimport-id: pnasrat@redhat.com/yaboot--devel--1.3--patch-2

second/yaboot.c

index 2c616c3863b791076641c3d3c1edb146de746b36..fd5dee3c5399e818f9469ec5540aa79e2af0ce53 100644 (file)
@@ -916,6 +916,7 @@ yaboot_text_ui(void)
                    sysmap_base = prom_claim(loadinfo.base+loadinfo.memsize, 0x100000, 0);
                    if (sysmap_base == (void *)-1) {
                         prom_printf("Claim failed for sysmap memory\n");
+                        prom_pause();
                         sysmap_base = 0;
                    } else {
                         sysmap_size = file.fs->read(&file, 0xfffff, sysmap_base);