Changeset 59e4864 in mainline for boot/arch/ia64/loader/main.c
- Timestamp:
- 2008-11-11T08:00:42Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f3c4a26
- Parents:
- a2a5529
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/ia64/loader/main.c
ra2a5529 r59e4864 35 35 #include <balloc.h> 36 36 37 bootinfo_t bootinfo;37 extern bootinfo_t binfo; 38 38 component_t components[COMPONENTS]; 39 39 … … 70 70 71 71 72 bootinfo_t *bootinfo=&binfo; 73 72 74 //for(ii=0;ii<KERNEL_SIZE;ii++) ((char *)(0x100000))[ii] = ((char *)KERNEL_START)[ii+1]; 73 75 … … 93 95 94 96 95 bootinfo .taskmap.count = 0;97 bootinfo->taskmap.count = 0; 96 98 for (i = 0; i < COMPONENTS; i++) { 97 99 98 100 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++; 102 104 } 103 105 } 104 106 105 106 jump_to_kernel(&bootinfo); 107 jump_to_kernel(bootinfo); 107 108 108 109
Note:
See TracChangeset
for help on using the changeset viewer.