Changeset 9c0a9b3 in mainline for arch/ia32/src/mm/page.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/mm/page.c

    r8fc0d455 r9c0a9b3  
    3737#include <synch/spinlock.h>
    3838#include <debug.h>
     39#include <memstr.h>
    3940
    4041__address bootstrap_dba;
     
    7273
    7374                dba = frame_alloc(FRAME_KA | FRAME_PANIC);
    74                 memcopy(bootstrap_dba, dba, PAGE_SIZE);
     75                memcopy((void *)dba,(void *)bootstrap_dba , PAGE_SIZE); //swaped
    7576                write_cr3(KA2PA(dba));
    7677        }
Note: See TracChangeset for help on using the changeset viewer.