Changeset 33540 in vbox for trunk/src/recompiler/exec.c
- Timestamp:
- Oct 28, 2010 9:27:05 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/exec.c
r19094 r33540 524 524 525 525 #if defined(CONFIG_USER_ONLY) 526 /* Currently it is not recomm anded to allocate big chunks of data in526 /* Currently it is not recommended to allocate big chunks of data in 527 527 user mode. It will change when a dedicated libc will be used */ 528 528 #define USE_STATIC_CODE_GEN_BUFFER … … 556 556 code_gen_buffer_size = DEFAULT_CODE_GEN_BUFFER_SIZE; 557 557 #else 558 /* XXX: needs a justments */558 /* XXX: needs adjustments */ 559 559 code_gen_buffer_size = (unsigned long)(phys_ram_size / 4); 560 560 #endif … … 1697 1697 if (env->singlestep_enabled != enabled) { 1698 1698 env->singlestep_enabled = enabled; 1699 /* must flush all the translated code to avoid inconsist ancies */1699 /* must flush all the translated code to avoid inconsistencies */ 1700 1700 /* XXX: only flush what is necessary */ 1701 1701 tb_flush(env); … … 2393 2393 #if 0 2394 2394 /* called from signal handler: invalidate the code and unprotect the 2395 page. Return TRUE if the fault was succes fully handled. */2395 page. Return TRUE if the fault was successfully handled. */ 2396 2396 int page_unprotect(target_ulong addr, unsigned long pc, void *puc) 2397 2397 { … … 2514 2514 2515 2515 /* modify the flags of a page and invalidate the code if 2516 necessary. The flag PAGE_WRITE_ORG is position ned automatically2516 necessary. The flag PAGE_WRITE_ORG is positioned automatically 2517 2517 depending on PAGE_WRITE */ 2518 2518 void page_set_flags(target_ulong start, target_ulong end, int flags) … … 2580 2580 2581 2581 /* called from signal handler: invalidate the code and unprotect the 2582 page. Return TRUE if the fault was succes fully handled. */2582 page. Return TRUE if the fault was successfully handled. */ 2583 2583 int page_unprotect(target_ulong address, unsigned long pc, void *puc) 2584 2584 {
Note:
See TracChangeset
for help on using the changeset viewer.