[Qemu-devel] [PATCH v14 02/34] tcg: Add generic DISAS_NORETURN

Richard Henderson posted 34 patches 8 years, 6 months ago
There is a newer version of this series
[Qemu-devel] [PATCH v14 02/34] tcg: Add generic DISAS_NORETURN
Posted by Richard Henderson 8 years, 6 months ago
This will allow some amount of cleanup to happen before
switching the backends over to enum DisasJumpType.

Signed-off-by: Richard Henderson <rth@twiddle.net>
---
 include/exec/exec-all.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/exec/exec-all.h b/include/exec/exec-all.h
index 48d9d11..6760078 100644
--- a/include/exec/exec-all.h
+++ b/include/exec/exec-all.h
@@ -40,6 +40,7 @@ typedef ram_addr_t tb_page_addr_t;
 #define DISAS_JUMP    1 /* only pc was modified dynamically */
 #define DISAS_UPDATE  2 /* cpu state was modified dynamically */
 #define DISAS_TB_JUMP 3 /* only pc was modified statically */
+#define DISAS_NORETURN 4 /* the tb has already been exited */
 
 #include "qemu/log.h"
 
-- 
2.9.4


Re: [Qemu-devel] [PATCH v14 02/34] tcg: Add generic DISAS_NORETURN
Posted by Emilio G. Cota 8 years, 6 months ago
On Fri, Jul 14, 2017 at 23:42:11 -1000, Richard Henderson wrote:
> This will allow some amount of cleanup to happen before
> switching the backends over to enum DisasJumpType.
> 
> Signed-off-by: Richard Henderson <rth@twiddle.net>

Reviewed-by: Emilio G. Cota <cota@braap.org>

		E.

Re: [Qemu-devel] [PATCH v14 02/34] tcg: Add generic DISAS_NORETURN
Posted by Lluís Vilanova 8 years, 6 months ago
Richard Henderson writes:

> This will allow some amount of cleanup to happen before
> switching the backends over to enum DisasJumpType.

> Signed-off-by: Richard Henderson <rth@twiddle.net>

Reviewed-by: Lluís Vilanova <vilanova@ac.upc.edu>


> ---
>  include/exec/exec-all.h | 1 +
>  1 file changed, 1 insertion(+)

> diff --git a/include/exec/exec-all.h b/include/exec/exec-all.h
> index 48d9d11..6760078 100644
> --- a/include/exec/exec-all.h
> +++ b/include/exec/exec-all.h
> @@ -40,6 +40,7 @@ typedef ram_addr_t tb_page_addr_t;
>  #define DISAS_JUMP    1 /* only pc was modified dynamically */
>  #define DISAS_UPDATE  2 /* cpu state was modified dynamically */
>  #define DISAS_TB_JUMP 3 /* only pc was modified statically */
> +#define DISAS_NORETURN 4 /* the tb has already been exited */
 
>  #include "qemu/log.h"
 
> -- 
> 2.9.4