docs/devel/tcg-ops.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
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 <rathc@linux.ibm.com>
---
docs/devel/tcg-ops.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/devel/tcg-ops.rst b/docs/devel/tcg-ops.rst
index 51fa183e91..7ee419f959 100644
--- a/docs/devel/tcg-ops.rst
+++ b/docs/devel/tcg-ops.rst
@@ -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
--
2.55.0
On 11/19/26 02:23, Chinmay Rath wrote: > 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 <rathc@linux.ibm.com> > --- > docs/devel/tcg-ops.rst | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/docs/devel/tcg-ops.rst b/docs/devel/tcg-ops.rst > index 51fa183e91..7ee419f959 100644 > --- a/docs/devel/tcg-ops.rst > +++ b/docs/devel/tcg-ops.rst > @@ -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 Oops. Queued. r~
On 2026-11-19 11:23, Chinmay Rath wrote: > 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 <rathc@linux.ibm.com> > --- > docs/devel/tcg-ops.rst | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Reviewed-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
© 2016 - 2026 Red Hat, Inc.