|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH 1/3] x86/emul: Adjust comments in x86-types.h
x86_segment enumerates segments, not segment registers. Adjust the comment to
make this clearer.
Fix a stray tab with the closing #endif.
No functional change.
Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
---
CC: Jan Beulich <jbeulich@xxxxxxxx>
CC: Roger Pau Monné <roger@xxxxxxxxxxxxxx>
CC: Teddy Astie <teddy.astie@xxxxxxxxxx>
---
xen/arch/x86/include/asm/x86-types.h | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/xen/arch/x86/include/asm/x86-types.h
b/xen/arch/x86/include/asm/x86-types.h
index 1c43421885f7..26b06aeac380 100644
--- a/xen/arch/x86/include/asm/x86-types.h
+++ b/xen/arch/x86/include/asm/x86-types.h
@@ -16,9 +16,10 @@
#endif
/*
- * Comprehensive enumeration of x86 segment registers. Various bits of code
- * rely on this order (general purpose before system, tr at the beginning of
- * system).
+ * x86 Segments.
+ *
+ * Various areas of code rely on this order (general purpose before system, tr
+ * at the beginning of system).
*/
enum x86_segment {
/* General purpose. Matches the SReg3 encoding in opcode/ModRM bytes. */
@@ -73,4 +74,4 @@ struct segment_register {
uint64_t base;
};
-#endif /* X86_X86_TYPES_H */
+#endif /* X86_X86_TYPES_H */
--
2.39.5
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |