xed-error-enum.h File Reference


Detailed Description

Author:
Mark Charney <mark.charney@intel.com>

Definition in file xed-error-enum.h.

#include "xed-common-hdrs.h"

Go to the source code of this file.

Defines

#define _XED_ERROR_ENUM_H_

Enumerations

enum  xed_error_enum_t {
  XED_ERROR_NONE,
  XED_ERROR_BUFFER_TOO_SHORT,
  XED_ERROR_GENERAL_ERROR,
  XED_ERROR_BAD_REGISTER,
  XED_ERROR_BAD_LOCK_PREFIX,
  XED_ERROR_BAD_REP_PREFIX,
  XED_ERROR_LAST
}

Functions

XED_DLL_EXPORT xed_error_enum_t str2xed_error_enum_t (const char *s)
XED_DLL_EXPORT const char * xed_error_enum_t2str (const xed_error_enum_t p)


Define Documentation

#define _XED_ERROR_ENUM_H_
 

Definition at line 40 of file xed-error-enum.h.


Enumeration Type Documentation

enum xed_error_enum_t
 

Enumerator:
XED_ERROR_NONE  There was no error.
XED_ERROR_BUFFER_TOO_SHORT  There were not enough bytes in the given buffer.
XED_ERROR_GENERAL_ERROR  XED could not decode the given instruction.
XED_ERROR_BAD_REGISTER  XED could not decode the given instruction because an invalid register encoding was used.
XED_ERROR_BAD_LOCK_PREFIX  A lock prefix was found where none is allowed.
XED_ERROR_BAD_REP_PREFIX  An F2 or F3 prefix was found where none is allowed.
XED_ERROR_LAST 

Definition at line 42 of file xed-error-enum.h.


Function Documentation

XED_DLL_EXPORT xed_error_enum_t str2xed_error_enum_t const char *  s  ) 
 

XED_DLL_EXPORT const char* xed_error_enum_t2str const xed_error_enum_t  p  ) 
 


Generated on Thu May 15 03:15:09 2008 for XED2 by  doxygen 1.4.6