Changeset 1ea99cc in mainline for boot/arch/sparc64/loader/main.c


Ignore:
Timestamp:
2009-08-20T20:47:35Z (15 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b50b5af2
Parents:
24edc18
Message:

Merge changes from original Subversion dynload branch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/sparc64/loader/main.c

    r24edc18 r1ea99cc  
    210210                (void) ofw_map(bootinfo.physmem_start + base + top, base + top,
    211211                    silo_ramdisk_size, -1);
    212                 memmove(base + top, (void *)((uintptr_t)silo_ramdisk_image),
     212                /*
     213                 * FIXME If the source and destination overlap, it may be
     214                 * desirable to copy in reverse order, depending on how the two
     215                 * regions overlap.
     216                 */
     217                memcpy(base + top, (void *)((uintptr_t)silo_ramdisk_image),
    213218                    silo_ramdisk_size);
    214219                printf("done.\n");
Note: See TracChangeset for help on using the changeset viewer.