Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Q
qemu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Xing Lin
qemu
Commits
611d4f99
Commit
611d4f99
authored
Sep 01, 2013
by
Andreas Färber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
translate-all: Change tb_flush_jmp_cache() argument to CPUState
Signed-off-by:
Andreas Färber
<
afaerber@suse.de
>
parent
648f034c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
cputlb.c
cputlb.c
+1
-1
include/exec/cputlb.h
include/exec/cputlb.h
+1
-1
translate-all.c
translate-all.c
+1
-2
No files found.
cputlb.c
View file @
611d4f99
...
...
@@ -106,7 +106,7 @@ void tlb_flush_page(CPUArchState *env, target_ulong addr)
tlb_flush_entry
(
&
env
->
tlb_table
[
mmu_idx
][
i
],
addr
);
}
tb_flush_jmp_cache
(
env
,
addr
);
tb_flush_jmp_cache
(
cpu
,
addr
);
}
/* update the TLBs so that writes to code in the virtual page 'addr'
...
...
include/exec/cputlb.h
View file @
611d4f99
...
...
@@ -31,7 +31,7 @@ void tlb_set_dirty(CPUArchState *env, target_ulong vaddr);
extern
int
tlb_flush_count
;
/* exec.c */
void
tb_flush_jmp_cache
(
CPU
ArchState
*
env
,
target_ulong
addr
);
void
tb_flush_jmp_cache
(
CPU
State
*
cpu
,
target_ulong
addr
);
MemoryRegionSection
*
address_space_translate_for_iotlb
(
AddressSpace
*
as
,
hwaddr
addr
,
hwaddr
*
xlat
,
...
...
translate-all.c
View file @
611d4f99
...
...
@@ -1479,9 +1479,8 @@ void cpu_io_recompile(CPUState *cpu, uintptr_t retaddr)
cpu_resume_from_signal
(
env
,
NULL
);
}
void
tb_flush_jmp_cache
(
CPU
ArchState
*
env
,
target_ulong
addr
)
void
tb_flush_jmp_cache
(
CPU
State
*
cpu
,
target_ulong
addr
)
{
CPUState
*
cpu
=
ENV_GET_CPU
(
env
);
unsigned
int
i
;
/* Discard jump cache entries for any tb which might potentially
...
...
Write
Preview
Markdown
is supported
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