Changeset ba18512 in mainline for arch/ia32/src


Ignore:
Timestamp:
2005-08-30T21:33:09Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b524f816
Parents:
fa0dfaf
Message:

Switch order of 'src' and 'dst' arguments in some left-over uses of memcopy.

Cleanup.

Location:
arch/ia32/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • arch/ia32/src/asm.S

    rfa0dfaf rba18512  
    259259#
    260260# Copy a given number of bytes (3rd argument)
    261 # from the memory location defined by 1st argument
    262 # to the memory location defined by 2nd argument.
     261# from the memory location defined by 2nd argument
     262# to the memory location defined by 1st argument.
    263263# The memory areas cannot overlap.
    264264#
  • arch/ia32/src/drivers/ega.c

    rfa0dfaf rba18512  
    7474                return;
    7575
    76         memcopy((void *)PA2KA(VIDEORAM),(void *)PA2KA(VIDEORAM) + ROW*2, (SCREEN - ROW)*2); //swaped
     76        memcopy((void *)PA2KA(VIDEORAM),(void *)(PA2KA(VIDEORAM) + ROW*2), (SCREEN - ROW)*2); //swaped
    7777        memsetw(PA2KA(VIDEORAM) + (SCREEN - ROW)*2, ROW, 0x0720);
    7878        ega_cursor = ega_cursor - ROW;
  • arch/ia32/src/smp/mps.c

    rfa0dfaf rba18512  
    313313#ifdef MPSCT_VERBOSE
    314314        char buf[7];
    315         memcopy((__address) bus->bus_type, (__address) buf, 6);
     315        memcopy((void *) buf, (void *) bus->bus_type, 6);
    316316        buf[6] = 0;
    317317        printf("bus%d: %s\n", bus->bus_id, buf);
Note: See TracChangeset for help on using the changeset viewer.