Changeset 59477e3 in mainline for arch/ppc32/src/ppc32.c


Ignore:
Timestamp:
2006-05-18T19:53:34Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8424198
Parents:
bd5a663
Message:

ppc32: update boot API

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ppc32/src/ppc32.c

    rbd5a663 r59477e3  
    4141{
    4242        /* Setup usermode */
    43         init.cnt = 1;
    44         init.tasks[0].addr = PA2KA(bootinfo.init.addr);
    45         init.tasks[0].size = bootinfo.init.size;
     43        init.cnt = bootinfo.taskmap.count;
     44       
     45        __u32 i;
     46       
     47        for (i = 0; i < bootinfo.taskmap.count; i++) {
     48                init.tasks[i].addr = PA2KA(bootinfo.taskmap.tasks[i].addr);
     49                init.tasks[i].size = bootinfo.taskmap.tasks[i].size;
     50        }
    4651}
    4752
Note: See TracChangeset for help on using the changeset viewer.