X86 Encoder Decoder
xed-machine-mode-enum.h File Reference
#include "xed-common-hdrs.h"

Enumerations

enum  xed_machine_mode_enum_t {
  XED_MACHINE_MODE_INVALID,
  XED_MACHINE_MODE_LONG_64,
  XED_MACHINE_MODE_LONG_COMPAT_32,
  XED_MACHINE_MODE_LONG_COMPAT_16,
  XED_MACHINE_MODE_LEGACY_32,
  XED_MACHINE_MODE_LEGACY_16,
  XED_MACHINE_MODE_REAL_16,
  XED_MACHINE_MODE_REAL_32,
  XED_MACHINE_MODE_LAST
}
 

Functions

XED_DLL_EXPORT xed_machine_mode_enum_t str2xed_machine_mode_enum_t (const char *s)
 This converts strings to xed_machine_mode_enum_t types. More...
 
XED_DLL_EXPORT const char * xed_machine_mode_enum_t2str (const xed_machine_mode_enum_t p)
 This converts strings to xed_machine_mode_enum_t types. More...
 
XED_DLL_EXPORT xed_machine_mode_enum_t xed_machine_mode_enum_t_last (void)
 Returns the last element of the enumeration. More...
 

Enumeration Type Documentation

◆ xed_machine_mode_enum_t

Enumerator
XED_MACHINE_MODE_INVALID 
XED_MACHINE_MODE_LONG_64 

64b operating mode

XED_MACHINE_MODE_LONG_COMPAT_32 

32b protected mode

XED_MACHINE_MODE_LONG_COMPAT_16 

16b protected mode

XED_MACHINE_MODE_LEGACY_32 

32b protected mode

XED_MACHINE_MODE_LEGACY_16 

16b protected mode

XED_MACHINE_MODE_REAL_16 

16b real mode

XED_MACHINE_MODE_REAL_32 

32b real mode (CS.D bit = 1)

XED_MACHINE_MODE_LAST