Subversion Repositories HelenOS-historic

Compare Revisions

Regard whitespace Rev 1779 → Rev 1782

/boot/trunk/arch/sparc64/loader/main.c
30,15 → 30,17
#include <printf.h>
#include "asm.h"
#include "_components.h"
#include <ofw.h>
 
#define KERNEL_VIRTUAL_ADDRESS 0x400000
 
bootinfo_t bootinfo;
 
void bootstrap(void)
{
printf("HelenOS SPARC64 Bootloader\n");
component_t components[COMPONENTS];
bootinfo_t bootinfo;
init_components(components);
printf("\nMemory statistics\n");
49,6 → 51,12
for (i = 0; i < COMPONENTS; i++)
printf(" %L: %s image (size %d bytes)\n", components[i].start, components[i].name, components[i].size);
screen_t scr;
ofw_screen(&scr);
printf("\n%P: fb, %dx%dx%d\n", ofw_translate(scr.addr), scr.width, scr.height, scr.bpp);
 
printf("\nCopying components\n");
unsigned int top = 0;
bootinfo.cnt = 0;