mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 10:34:58 -06:00
microblaze: Support setting of TLS ptr
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
This commit is contained in:
parent
b6348f29d0
commit
a5b3bdcba8
2 changed files with 3 additions and 0 deletions
|
@ -345,6 +345,7 @@ static inline void cpu_clone_regs(CPUMBState *env, target_ulong newsp)
|
|||
|
||||
static inline void cpu_set_tls(CPUMBState *env, target_ulong newtls)
|
||||
{
|
||||
env->regs[21] = newtls;
|
||||
}
|
||||
|
||||
static inline int cpu_interrupts_enabled(CPUMBState *env)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue