Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xing Lin
qemu
Commits
6bb70571
Commit
6bb70571
authored
Nov 23, 2003
by
bellard
Browse files
a20 fix
git-svn-id:
svn://svn.savannah.nongnu.org/qemu/trunk@477
c046a42c-6fe2-441c-8c8c-71466251a162
parent
4136f33c
Changes
1
Hide whitespace changes
Inline
Side-by-side
target-i386/helper2.c
View file @
6bb70571
...
...
@@ -190,6 +190,10 @@ void cpu_x86_set_a20(CPUX86State *env, int a20_state)
{
a20_state
=
(
a20_state
!=
0
);
if
(
a20_state
!=
a20_enabled
)
{
/* if the cpu is currently executing code, we must unlink it and
all the potentially executing TB */
cpu_interrupt
(
env
,
0
);
/* when a20 is changed, all the MMU mappings are invalid, so
we must flush everything */
page_unmap
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment