Ignore:
File:
1 edited

Legend:

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

    r4646710 r9d58539  
    3232#include <arch/asm.h>
    3333#include <arch/ofw.h>
     34#include <arch/_components.h>
    3435#include <genarch/ofw.h>
    3536#include <genarch/ofw_tree.h>
     
    4344#include <errno.h>
    4445#include <inflate.h>
    45 #include "../../components.h"
    4646
    4747/* The lowest ID (read from the VER register) of some US3 CPU model */
     
    220220        size_t i;
    221221        for (i = 0; i < COMPONENTS; i++)
    222                 printf(" %p|%p: %s image (%zu/%zu bytes)\n", components[i].addr,
    223                     ofw_translate(components[i].addr), components[i].name,
     222                printf(" %p|%p: %s image (%zu/%zu bytes)\n", components[i].start,
     223                    ofw_translate(components[i].start), components[i].name,
    224224                    components[i].inflated, components[i].size);
    225225       
     
    267267                    ALIGN_UP(components[i - 1].inflated, PAGE_SIZE), -1);
    268268               
    269                 int err = inflate(components[i - 1].addr, components[i - 1].size,
     269                int err = inflate(components[i - 1].start, components[i - 1].size,
    270270                    dest[i - 1], components[i - 1].inflated);
    271271               
Note: See TracChangeset for help on using the changeset viewer.