]> git.ozlabs.org Git - yaboot.git/blobdiff - second/yaboot.c
Add claim/release runtime debug output
[yaboot.git] / second / yaboot.c
index afa79eeb4feb031ecd9459e533ba8fa0700441dd..c73348845721ee06eaadaff8bab1e5cb8497e37f 100644 (file)
@@ -177,6 +177,8 @@ yaboot_start (unsigned long r3, unsigned long r4, unsigned long r5)
      /* Initialize OF interface */
      prom_init ((prom_entry) r5);
 
+     prom_print_available();
+
      /* Allocate some memory for malloc'ator */
      malloc_base = prom_claim_chunk((void *)MALLOCADDR, MALLOCSIZE, 0);
      if (malloc_base == (void *)-1) {
@@ -1168,6 +1170,8 @@ yaboot_text_ui(void)
 
          DEBUG_F("Entering kernel...\n");
 
+         prom_print_available();
+
           /* call the kernel with our stack. */
          kernel_entry(initrd_base + loadinfo.load_loc, initrd_size, prom, 0, 0);
          continue;