Initial commit of OpenSPARC T2 architecture model.
[OpenSPARC-T2-SAM] / sam-t2 / docs / mmi / mmi_register_asi_cb_data.html
CommitLineData
920dae64
AT
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3<head>
4 <title>SPARC Architectural Model: Device and Utility API</title>
5</head>
6<body bgcolor="#ffffff" lang="en-US">
7&nbsp;
8<h2>mmi_register_asi_cb_data</h2>
9<h4>
10NAME</h4>
11<ul>
12mmi_register_asi_cb_data - Register callback data to be passed back
13through asi read/write handlers<br>
14</ul>
15<h4>
16SYNOPSIS</h4>
17<ul>
18 <font color="#0000ff">#include "mmi.h"<br>
19 </font>
20 <p>/* register the call back data that will passed thro' the asi
21load/store callback function (eg: the object pointer that handles the
22asi) */<br>
23mmi_bool_t&nbsp;&nbsp; mmi_register_asi_cb_data (mmi_instance_t
24instance, void *cb_data);<br>
25 </p>
26</ul>
27<h4>
28DESCRIPTION</h4>
29<ul>
30Register&nbsp;<i></i>asi&nbsp; callback data for mmi_instance.
31</ul>
32<ul>
33The callback data is passed back on any call back to asi read/write
34handlers registered by the mmi_instance through <br>
35 <span style="font-style: italic;">mmi_register_asi_action </span>api.<br>
36 <br>
37</ul>
38<h4>RETURN VALUES</h4>
39<h4>
40ERRORS</h4>
41<h4>
42USAGE</h4>
43<small>bool<br>
44Rock_Siu::check_args()<br>
45{<br>
46<br>
47&nbsp; &nbsp;&nbsp; /* register asi handler */<br>
48&nbsp;&nbsp;&nbsp;&nbsp; mmi_register_asi_cb_data(instance, this);<br>
49}<br>
50</small>
51<br>
52<ul>
53 <font size="-1">
54 <pre>
55
56 </pre>
57 </font>
58</ul>
59<h4>
60SEE ALSO</h4>
61<ul>
62 <a href="mmi_register_asi_action.html"><span
63 style="color: rgb(51, 51, 255); text-decoration: underline;">mmi_register_asi_action</span></a><br>
64 <a href="intro.html">intro</a>
65&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
66</ul>
67<h4>
68WARNINGS</h4>
69&nbsp;
70</body>
71</html>