Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/ppc32/src/main.c

    r4646710 re5ac4130  
    3030#include <arch/arch.h>
    3131#include <arch/asm.h>
     32#include <arch/_components.h>
    3233#include <genarch/ofw.h>
    3334#include <genarch/ofw_tree.h>
     
    4142#include <errno.h>
    4243#include <inflate.h>
    43 #include "../../components.h"
    4444
    4545#define BALLOC_MAX_SIZE  131072
     
    7575        size_t i;
    7676        for (i = 0; i < COMPONENTS; i++)
    77                 printf(" %p|%p: %s image (%zu/%zu bytes)\n", components[i].addr,
    78                     ofw_translate(components[i].addr), components[i].name,
     77                printf(" %p|%p: %s image (%zu/%zu bytes)\n", components[i].start,
     78                    ofw_translate(components[i].start), components[i].name,
    7979                    components[i].inflated, components[i].size);
    8080       
     
    139139                printf("%s ", components[i - 1].name);
    140140               
    141                 int err = inflate(components[i - 1].addr, components[i - 1].size,
     141                int err = inflate(components[i - 1].start, components[i - 1].size,
    142142                    inflate_base + dest[i - 1], components[i - 1].inflated);
    143143               
Note: See TracChangeset for help on using the changeset viewer.