Initial commit of OpenSPARC T2 architecture model.
[OpenSPARC-T2-SAM] / sam-t2 / docs / mmi / mmi_register_asi_cb_data.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>SPARC Architectural Model: Device and Utility API</title>
</head>
<body bgcolor="#ffffff" lang="en-US">
&nbsp;
<h2>mmi_register_asi_cb_data</h2>
<h4>
NAME</h4>
<ul>
mmi_register_asi_cb_data - Register callback data to be passed back
through asi read/write handlers<br>
</ul>
<h4>
SYNOPSIS</h4>
<ul>
<font color="#0000ff">#include "mmi.h"<br>
</font>
<p>/* register the call back data that will passed thro' the asi
load/store callback function (eg: the object pointer that handles the
asi) */<br>
mmi_bool_t&nbsp;&nbsp; mmi_register_asi_cb_data (mmi_instance_t
instance, void *cb_data);<br>
</p>
</ul>
<h4>
DESCRIPTION</h4>
<ul>
Register&nbsp;<i></i>asi&nbsp; callback data for mmi_instance.
</ul>
<ul>
The callback data is passed back on any call back to asi read/write
handlers registered by the mmi_instance through <br>
<span style="font-style: italic;">mmi_register_asi_action </span>api.<br>
<br>
</ul>
<h4>RETURN VALUES</h4>
<h4>
ERRORS</h4>
<h4>
USAGE</h4>
<small>bool<br>
Rock_Siu::check_args()<br>
{<br>
<br>
&nbsp; &nbsp;&nbsp; /* register asi handler */<br>
&nbsp;&nbsp;&nbsp;&nbsp; mmi_register_asi_cb_data(instance, this);<br>
}<br>
</small>
<br>
<ul>
<font size="-1">
<pre>
</pre>
</font>
</ul>
<h4>
SEE ALSO</h4>
<ul>
<a href="mmi_register_asi_action.html"><span
style="color: rgb(51, 51, 255); text-decoration: underline;">mmi_register_asi_action</span></a><br>
<a href="intro.html">intro</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</ul>
<h4>
WARNINGS</h4>
&nbsp;
</body>
</html>