Changeset 9c0a9b3 in mainline for arch/ia32/src/drivers/ega.c


Ignore:
Timestamp:
2005-08-30T19:44:27Z (20 years ago)
Author:
Jakub Vana <jakub.vana@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d0c30f7
Parents:
8fc0d455
Message:

1) memcopy and _memcopy functions rewriten to ANSI C norm.
2) Repaired ia32,ia64 and mips version of SPARTAN to work with this memcopy functions
3) Warning for non declared funcions added and repaired ia32,ia64 and mips versions to pass build process with this warning and Werror option

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia32/src/drivers/ega.c

    r8fc0d455 r9c0a9b3  
    3434#include <arch/types.h>
    3535#include <arch/asm.h>
     36#include <memstr.h>
    3637
    3738/*
     
    7374                return;
    7475
    75         memcopy(PA2KA(VIDEORAM) + ROW*2, PA2KA(VIDEORAM), (SCREEN - ROW)*2);
     76        memcopy((void *)PA2KA(VIDEORAM),(void *)PA2KA(VIDEORAM) + ROW*2, (SCREEN - ROW)*2); //swaped
    7677        memsetw(PA2KA(VIDEORAM) + (SCREEN - ROW)*2, ROW, 0x0720);
    7778        ega_cursor = ega_cursor - ROW;
Note: See TracChangeset for help on using the changeset viewer.