Changeset a9ddab2 in mainline
- Timestamp:
- 2008-09-06T21:31:41Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a1696d8
- Parents:
- 6d37d27
- Location:
- boot/arch/sparc64/loader
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/sparc64/loader/boot.S
r6d37d27 ra9ddab2 54 54 .word 0 55 55 .half 0 56 .half 0 57 .half 0 58 .half 0 59 .global silo_ramdisk_image 60 silo_ramdisk_image: 61 .word 0 62 .global silo_ramdisk_size 63 silo_ramdisk_size: 64 .word 0 56 65 57 66 .align 8 -
boot/arch/sparc64/loader/main.c
r6d37d27 ra9ddab2 58 58 static void version_print(void) 59 59 { 60 printf("HelenOS SPARC64 Bootloader\nRelease %s%s%s\nCopyright (c) 2006 HelenOS project\n", release, revision, timestamp); 60 printf("HelenOS SPARC64 Bootloader\nRelease %s%s%s\n" 61 "Copyright (c) 2006 HelenOS project\n", 62 release, revision, timestamp); 61 63 } 62 64 … … 81 83 halt(); 82 84 } 85 86 /* 87 * SILO for some reason adds 0x400000 and subtracts 88 * bootinfo.physmem_start to/from silo_ramdisk_image. 89 * We just need plain physical address so we fix it up. 90 */ 91 if (silo_ramdisk_image) { 92 silo_ramdisk_image += bootinfo.physmem_start; 93 silo_ramdisk_image -= 0x400000; 94 } 83 95 84 96 printf("\nSystem info\n"); 85 97 printf(" memory: %dM starting at %P\n", 86 98 bootinfo.memmap.total >> 20, bootinfo.physmem_start); 87 99 88 100 printf("\nMemory statistics\n"); -
boot/arch/sparc64/loader/main.h
r6d37d27 ra9ddab2 60 60 } bootinfo_t; 61 61 62 extern uint32_t silo_ramdisk_image; 63 extern uint32_t silo_ramdisk_size; 64 62 65 extern bootinfo_t bootinfo; 63 66
Note:
See TracChangeset
for help on using the changeset viewer.