Definition in file xed-state.h.
#include "xed-types.h"
#include "xed-portability.h"
#include "xed-address-width-enum.h"
#include "xed-machine-mode-enum.h"
Go to the source code of this file.
Data Structures | |
| struct | xed_state_s |
| Encapsulates machine modes for decoder/encoder requests. More... | |
Address width | |
| static XED_INLINE xed_address_width_enum_t | xed_state_get_address_width (const xed_state_t *p) |
| return the address width | |
| static XED_INLINE void | xed_state_set_address_width (xed_state_t *p, xed_address_width_enum_t arg_addr_width) |
| Set the address width. | |
Machine mode | |
| static XED_INLINE xed_machine_mode_enum_t | xed_state_get_machine_mode (const xed_state_t *p) |
| return the machine mode | |
| static XED_INLINE xed_bool_t | xed_state_long64_mode (const xed_state_t *p) |
| true iff the machine is in LONG_64 mode | |
| static XED_INLINE xed_bool_t | xed_state_mode_width_16 (const xed_state_t *p) |
| static XED_INLINE xed_bool_t | xed_state_mode_width_32 (const xed_state_t *p) |
| static XED_INLINE void | xed_state_set_machine_mode (xed_state_t *p, xed_machine_mode_enum_t arg_mode) |
| Set the machine mode. | |
Stack address width | |
| static XED_INLINE xed_address_width_enum_t | xed_state_get_stack_address_width (const xed_state_t *p) |
| Return the STACK address width. | |
| static XED_INLINE void | xed_state_set_stack_address_width (xed_state_t *p, xed_address_width_enum_t arg_addr_width) |
| set the STACK address width | |
Initialization | |
| static XED_INLINE void | xed_state_init (xed_state_t *p, xed_machine_mode_enum_t arg_mmode, xed_address_width_enum_t arg_addr_width, xed_address_width_enum_t arg_stack_addr_width) |
| Constructor. | |
| static XED_INLINE void | xed_state_zero (xed_state_t *p) |
| clear the xed_state_t | |
Typedefs | |
| typedef XED_DLL_EXPORT xed_state_s | xed_state_t |
| Encapsulates machine modes for decoder/encoder requests. | |
Functions | |
| XED_DLL_EXPORT int | xed_state_print (const xed_state_t *p, char *buf, int buflen) |
1.4.6