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
b0e102dd
Commit
b0e102dd
authored
Nov 19, 2010
by
Peter Maydell
Committed by
Riku Voipio
Dec 03, 2010
Browse files
[PATCH] target-arm: remove unused functions cpu_lock(), cpu_unlock()
Signed-off-by:
Riku Voipio
<
riku.voipio@nokia.com
>
parent
6a865752
Changes
2
Hide whitespace changes
Inline
Side-by-side
target-arm/cpu.h
View file @
b0e102dd
...
...
@@ -227,8 +227,6 @@ int cpu_arm_handle_mmu_fault (CPUARMState *env, target_ulong address, int rw,
int
mmu_idx
,
int
is_softmuu
);
#define cpu_handle_mmu_fault cpu_arm_handle_mmu_fault
void
cpu_lock
(
void
);
void
cpu_unlock
(
void
);
static
inline
void
cpu_set_tls
(
CPUARMState
*
env
,
target_ulong
newtls
)
{
env
->
cp15
.
c13_tls2
=
newtls
;
...
...
target-arm/op_helper.c
View file @
b0e102dd
...
...
@@ -28,20 +28,6 @@ void raise_exception(int tt)
cpu_loop_exit
();
}
/* thread support */
static
spinlock_t
global_cpu_lock
=
SPIN_LOCK_UNLOCKED
;
void
cpu_lock
(
void
)
{
spin_lock
(
&
global_cpu_lock
);
}
void
cpu_unlock
(
void
)
{
spin_unlock
(
&
global_cpu_lock
);
}
uint32_t
HELPER
(
neon_tbl
)(
uint32_t
ireg
,
uint32_t
def
,
uint32_t
rn
,
uint32_t
maxindex
)
{
...
...
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