Changeset a9ddab2 in mainline for boot/arch/sparc64/loader/main.c
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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");
Note:
See TracChangeset
for help on using the changeset viewer.