Changeset 59e4864 in mainline for boot/arch/ia64/loader/main.c


Ignore:
Timestamp:
2008-11-11T08:00:42Z (17 years ago)
Author:
Jakub Vana <jakub.vana@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f3c4a26
Parents:
a2a5529
Message:

Alfa of SMP support on IA64

File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/ia64/loader/main.c

    ra2a5529 r59e4864  
    3535#include <balloc.h>
    3636
    37 bootinfo_t bootinfo;
     37extern bootinfo_t binfo;
    3838component_t components[COMPONENTS];
    3939
     
    7070       
    7171       
     72        bootinfo_t *bootinfo=&binfo;
     73       
    7274        //for(ii=0;ii<KERNEL_SIZE;ii++) ((char *)(0x100000))[ii] = ((char *)KERNEL_START)[ii+1];
    7375       
     
    9395
    9496
    95         bootinfo.taskmap.count = 0;
     97        bootinfo->taskmap.count = 0;
    9698        for (i = 0; i < COMPONENTS; i++) {
    9799
    98100                if (i > 0) {
    99                         bootinfo.taskmap.tasks[bootinfo.taskmap.count].addr = components[i].start;
    100                         bootinfo.taskmap.tasks[bootinfo.taskmap.count].size = components[i].size;
    101                         bootinfo.taskmap.count++;
     101                        bootinfo->taskmap.tasks[bootinfo->taskmap.count].addr = components[i].start;
     102                        bootinfo->taskmap.tasks[bootinfo->taskmap.count].size = components[i].size;
     103                        bootinfo->taskmap.count++;
    102104                }
    103105        }
    104106
    105 
    106         jump_to_kernel(&bootinfo);
     107        jump_to_kernel(bootinfo);
    107108
    108109
Note: See TracChangeset for help on using the changeset viewer.