Changeset 61e90dd in mainline for kernel/arch
- Timestamp:
- 2006-09-19T22:42:57Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 16529d5
- Parents:
- 3abe07f5
- Location:
- kernel/arch/sparc64
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/include/boot/boot.h
r3abe07f5 r61e90dd 36 36 #define KERN_sparc64_BOOT_H_ 37 37 38 39 38 #define VMA 0x400000 40 39 #define LMA VMA … … 43 42 #ifndef __LINKER__ 44 43 44 #include <config.h> 45 45 #include <arch/types.h> 46 46 #include <typedefs.h> 47 #include <genarch/ofw/ofw_tree.h> 47 48 48 49 #define TASKMAP_MAX_RECORDS 32 … … 87 88 } processor_t; 88 89 90 /** Bootinfo structure. 91 * 92 * Must be in sync with bootinfo structure used by the boot loader. 93 */ 89 94 typedef struct { 90 95 taskmap_t taskmap; … … 93 98 keyboard_t keyboard; 94 99 processor_t processor; 100 ballocs_t ballocs; 101 ofw_tree_node_t *ofw_root; 95 102 } bootinfo_t; 96 103 -
kernel/arch/sparc64/src/sparc64.c
r3abe07f5 r61e90dd 52 52 void arch_pre_main(void) 53 53 { 54 /* Setup usermode*/54 /* Copy init task info. */ 55 55 init.cnt = bootinfo.taskmap.count; 56 56 … … 61 61 init.tasks[i].size = bootinfo.taskmap.tasks[i].size; 62 62 } 63 64 /* Copy boot allocations info. */ 65 ballocs.base = bootinfo.ballocs.base; 66 ballocs.size = bootinfo.ballocs.size; 63 67 } 64 68
Note:
See TracChangeset
for help on using the changeset viewer.