qemu-devel
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
[Qemu-devel] longjmp in qemu
From
:
Xin Tong
Subject
:
[Qemu-devel] longjmp in qemu
Date
:
Sat, 28 Jan 2012 17:17:56 -0500
I am investigating what longjmp is used for in qemu.
longjmp is used in a couple of places.
1.
void cpu_loop_exit(void)
{
env->current_tb = NULL;
longjmp(env->jmp_env, 1);
}
cpu_loop_exit is called when there is an interrupt_request or exit_request pending
2.
void cpu_resume_from_signal(CPUState *env1, void *puc)
{
...
longjmp(env->jmp_env, 1);
}
cpu_resume_from_signal is called in a couple of places, each of which suggests something faulty has happened. my guess is that it will get call when exceptions have occurred in the code cache. Am I right ?
Thanks
Xin
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
[Qemu-devel] longjmp in qemu
,
Xin Tong
<=
Re: [Qemu-devel] longjmp in qemu
,
Xin Tong
,
2012/01/29
Re: [Qemu-devel] longjmp in qemu
,
陳韋任
,
2012/01/31
Prev by Date:
[Qemu-devel] Proper way to walk through all vpcus
Next by Date:
Re: [Qemu-devel] [PATCH v9 3/3] pc: Support system flash memory with pflash
Previous by thread:
[Qemu-devel] Proper way to walk through all vpcus
Next by thread:
Re: [Qemu-devel] longjmp in qemu
Index(es):
Date
Thread