Some typo corrections of the comments. (jomalin)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3763
This commit is contained in:
parent
fd65f6f897
commit
fc1ffcc528
11 changed files with 16 additions and 16 deletions
|
@ -2677,7 +2677,7 @@ restart_prefix:
|
|||
goto illegalopcode;
|
||||
}
|
||||
}
|
||||
// link to next block because the maximal number of opcodes has been reached
|
||||
// link to next block because the maximum number of opcodes has been reached
|
||||
dyn_set_eip_end();
|
||||
dyn_reduce_cycles();
|
||||
dyn_save_critical_regs();
|
||||
|
|
|
@ -246,7 +246,7 @@ run_block:
|
|||
// the block was exited due to a non-predictable control flow
|
||||
// modifying instruction (like ret) or some nontrivial cpu state
|
||||
// changing instruction (for example switch to/from pmode),
|
||||
// or the maximal number of instructions to translate was reached
|
||||
// or the maximum number of instructions to translate was reached
|
||||
#if C_HEAVY_DEBUG
|
||||
if (DEBUG_HeavyIsBreakpoint()) return debugCallback;
|
||||
#endif
|
||||
|
|
|
@ -53,7 +53,7 @@ public:
|
|||
CacheBlockDynRec * to; // this block can transfer control to the to-block
|
||||
CacheBlockDynRec * next;
|
||||
CacheBlockDynRec * from; // the from-block can transfer control to this block
|
||||
} link[2]; // maximal two links (conditional jumps)
|
||||
} link[2]; // maximum two links (conditional jumps)
|
||||
CacheBlockDynRec * crossblock;
|
||||
};
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
/*
|
||||
The function CreateCacheBlock translates the instruction stream
|
||||
until either an unhandled instruction is found, the maximal
|
||||
until either an unhandled instruction is found, the maximum
|
||||
number of translated instructions is reached or some critical
|
||||
instruction is encountered.
|
||||
*/
|
||||
|
@ -586,7 +586,7 @@ restart_prefix:
|
|||
goto illegalopcode;
|
||||
}
|
||||
}
|
||||
// link to next block because the maximal number of opcodes has been reached
|
||||
// link to next block because the maximum number of opcodes has been reached
|
||||
dyn_set_eip_end();
|
||||
dyn_reduce_cycles();
|
||||
gen_jmp_ptr(&decode.block->link[0].to,offsetof(CacheBlockDynRec,cache.start));
|
||||
|
|
|
@ -849,7 +849,7 @@ void PAGING_SetDirBase(Bitu cr3) {
|
|||
}
|
||||
|
||||
void PAGING_Enable(bool enabled) {
|
||||
/* If paging is disable we work from a default paging table */
|
||||
/* If paging is disabled, we work from a default paging table */
|
||||
if (paging.enabled==enabled) return;
|
||||
paging.enabled=enabled;
|
||||
if (enabled) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue