Changeset dac629e in mainline
- Timestamp:
- 2008-09-14T12:04:28Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- de9c5cb
- Parents:
- b968f39
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/sparc64/loader/main.c
rb968f39 rdac629e 37 37 #include "ofwarch.h" 38 38 #include <align.h> 39 #include <string.h> 39 40 40 41 bootinfo_t bootinfo; … … 160 161 (void) ofw_claim_phys(base + top, silo_ramdisk_size); 161 162 (void) ofw_map(base + top, base + top, silo_ramdisk_size, -1); 162 /* 163 * FIXME If the source and destination overlap, it may be 164 * desirable to copy in reverse order, depending on how the two 165 * regions overlap. 166 */ 167 memcpy(base + top, (void *)((uintptr_t)silo_ramdisk_image), 163 memmove(base + top, (void *)((uintptr_t)silo_ramdisk_image), 168 164 silo_ramdisk_size); 169 165 printf("done.\n");
Note:
See TracChangeset
for help on using the changeset viewer.