Changeset 822b64e in mainline for arch/sparc64/loader/main.c
- Timestamp:
- 2006-07-05T13:53:21Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2e672fd
- Parents:
- 83253ad
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/sparc64/loader/main.c
r83253ad r822b64e 31 31 #include "asm.h" 32 32 #include "_components.h" 33 #include <ofw.h> 33 34 34 35 #define KERNEL_VIRTUAL_ADDRESS 0x400000 36 37 bootinfo_t bootinfo; 35 38 36 39 void bootstrap(void) 37 40 { 38 41 printf("HelenOS SPARC64 Bootloader\n"); 39 42 40 43 component_t components[COMPONENTS]; 41 bootinfo_t bootinfo;42 44 init_components(components); 43 45 44 46 printf("\nMemory statistics\n"); 45 47 printf(" kernel entry point at %L\n", KERNEL_VIRTUAL_ADDRESS); … … 49 51 for (i = 0; i < COMPONENTS; i++) 50 52 printf(" %L: %s image (size %d bytes)\n", components[i].start, components[i].name, components[i].size); 53 54 screen_t scr; 55 56 ofw_screen(&scr); 57 printf("\n%P: fb, %dx%dx%d\n", ofw_translate(scr.addr), scr.width, scr.height, scr.bpp); 58 51 59 52 60 printf("\nCopying components\n"); … … 65 73 printf("done.\n"); 66 74 } 67 75 68 76 printf("\nBooting the kernel...\n"); 69 77 jump_to_kernel((void *) KERNEL_VIRTUAL_ADDRESS, &bootinfo, sizeof(bootinfo));
Note:
See TracChangeset
for help on using the changeset viewer.