Changeset 59477e3 in mainline
- Timestamp:
- 2006-05-18T19:53:34Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8424198
- Parents:
- bd5a663
- Location:
- arch/ppc32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ppc32/include/boot/boot.h
rbd5a663 r59477e3 35 35 #define TEMP_STACK_SIZE 0x100 36 36 37 #define TASKMAP_MAX_RECORDS 32 37 38 #define MEMMAP_MAX_RECORDS 32 38 39 … … 45 46 __u32 size; 46 47 } utask_t; 48 49 typedef struct { 50 __u32 count; 51 utask_t tasks[TASKMAP_MAX_RECORDS]; 52 } taskmap_t; 47 53 48 54 typedef struct { … … 66 72 67 73 typedef struct { 68 utask_t init;74 taskmap_t taskmap; 69 75 memmap_t memmap; 70 76 screen_t screen; -
arch/ppc32/src/ppc32.c
rbd5a663 r59477e3 41 41 { 42 42 /* 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 } 46 51 } 47 52
Note:
See TracChangeset
for help on using the changeset viewer.