mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
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@citrix.com> Acked-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
1 parent
e720df6b5a
commit
fddeb0fd64
1 file changed
+5
-4
@@ -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 */
|
||||