1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3 <title>XED2: XED2 User Guide - Thu May 15 03:15:09 2008 </title>
4 <link href="doxygen.css" rel="stylesheet" type="text/css">
5 <link href="tabs.css" rel="stylesheet" type="text/css">
7 <!-- Generated by Doxygen 1.4.6 -->
10 <li><a href="main.html"><span>Main Page</span></a></li>
11 <li><a href="modules.html"><span>Modules</span></a></li>
12 <li><a href="classes.html"><span>Data Structures</span></a></li>
13 <li id="current"><a href="files.html"><span>Files</span></a></li>
15 <form action="search.php" method="get">
16 <table cellspacing="0" cellpadding="0" border="0">
18 <td><label> <u>S</u>earch for </label></td>
19 <td><input type="text" name="query" value="" size="20" accesskey="s"/></td>
27 <li><a href="files.html"><span>File List</span></a></li>
28 <li><a href="globals.html"><span>Globals</span></a></li>
30 <h1>xed-state.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
31 <dl compact><dt><b>Author:</b></dt><dd>Mark Charney <<a href="mailto:mark.charney@intel.com">mark.charney@intel.com</a>> </dd></dl>
34 Definition in file <a class="el" href="xed-state_8h-source.html">xed-state.h</a>.
36 <code>#include "<a class="el" href="xed-types_8h-source.html">xed-types.h</a>"</code><br>
37 <code>#include "<a class="el" href="xed-portability_8h-source.html">xed-portability.h</a>"</code><br>
38 <code>#include "<a class="el" href="xed-address-width-enum_8h-source.html">xed-address-width-enum.h</a>"</code><br>
39 <code>#include "<a class="el" href="xed-machine-mode-enum_8h-source.html">xed-machine-mode-enum.h</a>"</code><br>
42 <a href="xed-state_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
44 <tr><td colspan="2"><br><h2>Data Structures</h2></td></tr>
45 <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structxed__state__s.html">xed_state_s</a></td></tr>
47 <tr><td class="mdescLeft"> </td><td class="mdescRight">Encapsulates machine modes for decoder/encoder requests. <a href="structxed__state__s.html#_details">More...</a><br></td></tr>
48 <tr><td colspan="2"><br><h2>Address width</h2></td></tr>
49 <tr><td class="memItemLeft" nowrap align="right" valign="top">static XED_INLINE <a class="el" href="xed-address-width-enum_8h.html#2fe76cf1d3e62a77190798dc87c0a865">xed_address_width_enum_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__INIT.html#ga5df14c6b5a97bd9f9ee4c50ab790a85">xed_state_get_address_width</a> (const <a class="el" href="group__INIT.html#g58af142456a133c3df29c763216a85cf">xed_state_t</a> *p)</td></tr>
51 <tr><td class="mdescLeft"> </td><td class="mdescRight">return the address width <a href="group__INIT.html#ga5df14c6b5a97bd9f9ee4c50ab790a85"></a><br></td></tr>
52 <tr><td class="memItemLeft" nowrap align="right" valign="top">static XED_INLINE void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__INIT.html#g0bce6ad444edb7846803eff273be5669">xed_state_set_address_width</a> (<a class="el" href="group__INIT.html#g58af142456a133c3df29c763216a85cf">xed_state_t</a> *p, <a class="el" href="xed-address-width-enum_8h.html#2fe76cf1d3e62a77190798dc87c0a865">xed_address_width_enum_t</a> arg_addr_width)</td></tr>
54 <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the address width. <a href="group__INIT.html#g0bce6ad444edb7846803eff273be5669"></a><br></td></tr>
55 <tr><td colspan="2"><br><h2>Machine mode</h2></td></tr>
56 <tr><td class="memItemLeft" nowrap align="right" valign="top">static XED_INLINE <a class="el" href="xed-machine-mode-enum_8h.html#754db9d73c5365644094cd161fe570a7">xed_machine_mode_enum_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__INIT.html#g8b1fc00b95c50fd54959889d72dc569a">xed_state_get_machine_mode</a> (const <a class="el" href="group__INIT.html#g58af142456a133c3df29c763216a85cf">xed_state_t</a> *p)</td></tr>
58 <tr><td class="mdescLeft"> </td><td class="mdescRight">return the machine mode <a href="group__INIT.html#g8b1fc00b95c50fd54959889d72dc569a"></a><br></td></tr>
59 <tr><td class="memItemLeft" nowrap align="right" valign="top">static XED_INLINE <a class="el" href="xed-types_8h.html#d355c921b747945a82d62233a599c7b5">xed_bool_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__INIT.html#g8d32c7696d58a4a4aa103de13f7de577">xed_state_long64_mode</a> (const <a class="el" href="group__INIT.html#g58af142456a133c3df29c763216a85cf">xed_state_t</a> *p)</td></tr>
61 <tr><td class="mdescLeft"> </td><td class="mdescRight">true iff the machine is in LONG_64 mode <a href="group__INIT.html#g8d32c7696d58a4a4aa103de13f7de577"></a><br></td></tr>
62 <tr><td class="memItemLeft" nowrap align="right" valign="top">static XED_INLINE <a class="el" href="xed-types_8h.html#d355c921b747945a82d62233a599c7b5">xed_bool_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__INIT.html#g15a9c2418fa6909fc7eeebea045722e6">xed_state_mode_width_16</a> (const <a class="el" href="group__INIT.html#g58af142456a133c3df29c763216a85cf">xed_state_t</a> *p)</td></tr>
64 <tr><td class="memItemLeft" nowrap align="right" valign="top">static XED_INLINE <a class="el" href="xed-types_8h.html#d355c921b747945a82d62233a599c7b5">xed_bool_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__INIT.html#ga2f13457567fea6468967cde050eefdf">xed_state_mode_width_32</a> (const <a class="el" href="group__INIT.html#g58af142456a133c3df29c763216a85cf">xed_state_t</a> *p)</td></tr>
66 <tr><td class="memItemLeft" nowrap align="right" valign="top">static XED_INLINE void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__INIT.html#gbb8aa407f1664d9cee6201bb69e638f7">xed_state_set_machine_mode</a> (<a class="el" href="group__INIT.html#g58af142456a133c3df29c763216a85cf">xed_state_t</a> *p, <a class="el" href="xed-machine-mode-enum_8h.html#754db9d73c5365644094cd161fe570a7">xed_machine_mode_enum_t</a> arg_mode)</td></tr>
68 <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the machine mode. <a href="group__INIT.html#gbb8aa407f1664d9cee6201bb69e638f7"></a><br></td></tr>
69 <tr><td colspan="2"><br><h2>Stack address width</h2></td></tr>
70 <tr><td class="memItemLeft" nowrap align="right" valign="top">static XED_INLINE <a class="el" href="xed-address-width-enum_8h.html#2fe76cf1d3e62a77190798dc87c0a865">xed_address_width_enum_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__INIT.html#g4fb992e21a8f9f9f39e8fa36f22de96c">xed_state_get_stack_address_width</a> (const <a class="el" href="group__INIT.html#g58af142456a133c3df29c763216a85cf">xed_state_t</a> *p)</td></tr>
72 <tr><td class="mdescLeft"> </td><td class="mdescRight">Return the STACK address width. <a href="group__INIT.html#g4fb992e21a8f9f9f39e8fa36f22de96c"></a><br></td></tr>
73 <tr><td class="memItemLeft" nowrap align="right" valign="top">static XED_INLINE void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__INIT.html#g724e2158223d6c97bd8fb619af042cf7">xed_state_set_stack_address_width</a> (<a class="el" href="group__INIT.html#g58af142456a133c3df29c763216a85cf">xed_state_t</a> *p, <a class="el" href="xed-address-width-enum_8h.html#2fe76cf1d3e62a77190798dc87c0a865">xed_address_width_enum_t</a> arg_addr_width)</td></tr>
75 <tr><td class="mdescLeft"> </td><td class="mdescRight">set the STACK address width <a href="group__INIT.html#g724e2158223d6c97bd8fb619af042cf7"></a><br></td></tr>
76 <tr><td colspan="2"><br><h2>Initialization</h2></td></tr>
77 <tr><td class="memItemLeft" nowrap align="right" valign="top">static XED_INLINE void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__INIT.html#g2363cf0a5b4628b09c0dfd1641119714">xed_state_init</a> (<a class="el" href="group__INIT.html#g58af142456a133c3df29c763216a85cf">xed_state_t</a> *p, <a class="el" href="xed-machine-mode-enum_8h.html#754db9d73c5365644094cd161fe570a7">xed_machine_mode_enum_t</a> arg_mmode, <a class="el" href="xed-address-width-enum_8h.html#2fe76cf1d3e62a77190798dc87c0a865">xed_address_width_enum_t</a> arg_addr_width, <a class="el" href="xed-address-width-enum_8h.html#2fe76cf1d3e62a77190798dc87c0a865">xed_address_width_enum_t</a> arg_stack_addr_width)</td></tr>
79 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="group__INIT.html#g2363cf0a5b4628b09c0dfd1641119714"></a><br></td></tr>
80 <tr><td class="memItemLeft" nowrap align="right" valign="top">static XED_INLINE void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__INIT.html#g8eea80ff7aa0fc77c3c3e90ce3e1fd64">xed_state_zero</a> (<a class="el" href="group__INIT.html#g58af142456a133c3df29c763216a85cf">xed_state_t</a> *p)</td></tr>
82 <tr><td class="mdescLeft"> </td><td class="mdescRight">clear the xed_state_t <a href="group__INIT.html#g8eea80ff7aa0fc77c3c3e90ce3e1fd64"></a><br></td></tr>
83 <tr><td colspan="2"><br><h2>Typedefs</h2></td></tr>
84 <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef XED_DLL_EXPORT <a class="el" href="structxed__state__s.html">xed_state_s</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__INIT.html#g58af142456a133c3df29c763216a85cf">xed_state_t</a></td></tr>
86 <tr><td class="mdescLeft"> </td><td class="mdescRight">Encapsulates machine modes for decoder/encoder requests. <a href="group__INIT.html#g58af142456a133c3df29c763216a85cf"></a><br></td></tr>
87 <tr><td colspan="2"><br><h2>Functions</h2></td></tr>
88 <tr><td class="memItemLeft" nowrap align="right" valign="top">XED_DLL_EXPORT int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__INIT.html#g0910f14ae574d3cca7e4cfcc7bc2e0e5">xed_state_print</a> (const <a class="el" href="group__INIT.html#g58af142456a133c3df29c763216a85cf">xed_state_t</a> *p, char *buf, int buflen)</td></tr>
91 <hr size="1"><address style="align: right;"><small>Generated on Thu May 15 03:15:09 2008 for XED2 by
92 <a href="http://www.doxygen.org/index.html">
93 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address>