Subversion Repositories HelenOS

Rev

Rev 1899 | Rev 1977 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1899 Rev 1972
Line 35... Line 35...
35
#include <ofw_tree.h>
35
#include <ofw_tree.h>
36
#include "ofwarch.h"
36
#include "ofwarch.h"
37
#include <align.h>
37
#include <align.h>
38
 
38
 
39
bootinfo_t bootinfo;
39
bootinfo_t bootinfo;
-
 
40
component_t components[COMPONENTS];
40
 
41
 
41
void bootstrap(void)
42
void bootstrap(void)
42
{
43
{
43
    printf("HelenOS SPARC64 Bootloader\n");
44
    printf("HelenOS SPARC64 Bootloader\n");
44
 
45
   
45
    component_t components[COMPONENTS];
-
 
46
    init_components(components);
46
    init_components(components);
47
 
47
 
48
    if (!ofw_memmap(&bootinfo.memmap)) {
48
    if (!ofw_memmap(&bootinfo.memmap)) {
49
        printf("Error: unable to get memory map, halting.\n");
49
        printf("Error: unable to get memory map, halting.\n");
50
        halt();
50
        halt();