docs/tcg-ops: Rename cpu_env to tcg_env
PATCH 1/1 docs/tcg-ops: Rename cpu_env to tcg_env
Commit ad75a51e (tcg: Rename cpu_env to tcg_env) from 2023, renamed cpu_env to tcg_env. However the same was never done in the docs. Updating docs with the necessary renaming.
Signed-off-by Chinmay Rath <[email protected]>
--- docs/devel/tcg-ops.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
docs/devel/tcg-ops.rst +2 -2
@@ -66,7 +66,7 @@ Variables * ``TEMP_FIXED`` - There is one TCG *fixed global* variable, ``cpu_env``, which is + There is one TCG *fixed global* variable, ``tcg_env``, which is live in all translation blocks, and holds a pointer to ``CPUArchState``. This variable is held in a host cpu register at all times in all translation blocks.
@@ -75,7 +75,7 @@ Variables A TCG *global* is a variable which is live in all translation blocks, and corresponds to memory location that is within ``CPUArchState``. - These may be specified as an offset from ``cpu_env``, in which case + These may be specified as an offset from ``tcg_env``, in which case they are called *direct globals*, or may be specified as an offset from a direct global, in which case they are called *indirect globals*. Even indirect globals should still reference memory within
Signature · 1 line
2.55.0
Quoted 8 lines · Chinmay Rath
Commit
ad75a51e(tcg: Renamecpu_envtotcg_env) from 2023, renamedcpu_envtotcg_env. However the same was never done in the docs. Updating docs with the necessary renaming.Signed-off-by Chinmay Rath <[email protected]>--- docs/devel/tcg-ops.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by Philippe Mathieu-Daudé <[email protected]>
Quoted 23 lines · Chinmay Rath
Commit
ad75a51e(tcg: Renamecpu_envtotcg_env) from 2023, renamedcpu_envtotcg_env. However the same was never done in the docs. Updating docs with the necessary renaming.Signed-off-by Chinmay Rath <[email protected]>--- docs/devel/tcg-ops.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)docs/devel/tcg-ops.rst +1
-1@@ -66,7 +66,7 @@ Variables * ``TEMP_FIXED`` - There is one TCG *fixed global* variable, ``cpu_env``, which is + There is one TCG *fixed global* variable, ``tcg_env``, which is live in all translation blocks, and holds a pointer to ``CPUArchState``. This variable is held in a host cpu register at all times in all translation blocks.
docs/devel/tcg-ops.rst Variables · line 81
Quoted 8 lines
docs/devel/tcg-ops.rst +1
-1@@ -75,7 +75,7 @@ Variables A TCG *global* is a variable which is live in all translation blocks, and corresponds to memory location that is within ``CPUArchState``. - These may be specified as an offset from ``cpu_env``, in which case + These may be specified as an offset from ``tcg_env``, in which case they are called *direct globals*, or may be specified as an offset from a direct global, in which case they are called *indirect globals*. Even indirect globals should still reference memory within
Oops. Queued.
r~