[Simit-arm-cvs] simit-arm/emulator loadfpe.cpp,1.4,1.5
Brought to you by:
weiqin04
From: Wei Q. <wei...@us...> - 2005-05-21 20:28:56
|
Update of /cvsroot/simit-arm/simit-arm/emulator In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22432/emulator Modified Files: loadfpe.cpp Log Message: renamed some cache functions Index: loadfpe.cpp =================================================================== RCS file: /cvsroot/simit-arm/simit-arm/emulator/loadfpe.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** loadfpe.cpp 20 May 2005 06:11:27 -0000 1.4 --- loadfpe.cpp 21 May 2005 20:28:48 -0000 1.5 *************** *** 13,16 **** --- 13,19 ---- #include <cstring> + using emulator::MEMORY_PAGE_READABLE; + using emulator::MEMORY_PAGE_EXECUTABLE; + void armulator::load_fpe(const char *fname) { *************** *** 98,103 **** if (new_section_flags&SHF_EXECINSTR) { #ifdef EMUMEM_SAFE ! // mem->set_permission(new_section_addr, new_section_size, ! // MEMORY_PAGE_READABLE | MEMORY_PAGE_EXECUTABLE); if (verbose) --- 101,106 ---- if (new_section_flags&SHF_EXECINSTR) { #ifdef EMUMEM_SAFE ! mem->set_permission(new_section_addr, new_section_size, ! MEMORY_PAGE_READABLE | MEMORY_PAGE_EXECUTABLE); if (verbose) |