Parent Directory
|
Revision Log
|
Patch
| revision 1.5 by bellard, Wed Nov 19 22:04:21 2003 UTC | revision 1.6 by bellard, Sun Nov 23 23:26:39 2003 UTC | |
|---|---|---|
| # | Line 190 void cpu_x86_set_a20(CPUX86State *env, i | Line 190 void cpu_x86_set_a20(CPUX86State *env, i |
| 190 | { | { |
| 191 | a20_state = (a20_state != 0); | a20_state = (a20_state != 0); |
| 192 | if (a20_state != a20_enabled) { | if (a20_state != a20_enabled) { |
| 193 | /* if the cpu is currently executing code, we must unlink it and | |
| 194 | all the potentially executing TB */ | |
| 195 | cpu_interrupt(env, 0); | |
| 196 | ||
| 197 | /* when a20 is changed, all the MMU mappings are invalid, so | /* when a20 is changed, all the MMU mappings are invalid, so |
| 198 | we must flush everything */ | we must flush everything */ |
| 199 | page_unmap(); | page_unmap(); |
|
||||||||
| savannah-hackers-public@gnu.org | ViewVC Help |
| Powered by ViewVC 1.1.26 |