Skip to contentSkip to conversation

cpu: Update documentation and comment

PATCH Applied Andreas Färber 2 participants 2 messages May 2, 2012 – May 8, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cpu: Update documentation and comment

State struct CPU had been renamed to CPUState, former CPUState to CPUArchState.

---
 include/qemu/cpu.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
include/qemu/cpu.h +2 -2
index 4291279..78b65b3 100644
@@ -39,7 +39,7 @@ typedef struct CPUState CPUState;
 
 /**
  * CPUClass:
- * @reset: Callback to reset the #CPU to its initial state.
+ * @reset: Callback to reset the #CPUState to its initial state.
  *
  * Represents a CPU family or model.
  */
@@ -61,7 +61,7 @@ struct CPUState {
     Object parent_obj;
     /*< public >*/
 
-    /* TODO Move common fields from CPUState here. */
+    /* TODO Move common fields from CPUArchState here. */
 };
 
 
Signature · 1 line
1.7.7
#1 lore raw
Quoted 4 lines · Andreas Färber

State struct CPU had been renamed to CPUState, former CPUState to CPUArchState.

Applied. Thanks.

Regards,

Anthony Liguori

Quoted 26 lines
---
  include/qemu/cpu.h |    4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)
include/qemu/cpu.h +2 -2
index 4291279..78b65b3 100644
@@ -39,7 +39,7 @@ typedef struct CPUState CPUState;
 
  /**
   * CPUClass:
- * @reset: Callback to reset the #CPU to its initial state.
+ * @reset: Callback to reset the #CPUState to its initial state.
   *
   * Represents a CPU family or model.
   */
@@ -61,7 +61,7 @@ struct CPUState {
      Object parent_obj;
      /*<  public>*/
 
-    /* TODO Move common fields from CPUState here. */
+    /* TODO Move common fields from CPUArchState here. */
  };