1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<HTML>
3<HEAD>
4<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows">
6<META http-equiv="Content-Style-Type" content="text/css">
7<TITLE>ELReadImage</TITLE>
8<LINK rel="stylesheet" href="../css/nitro.css" type="text/css">
9</HEAD>
10<BODY>
11<H1 align="left">ELReadImage <img src="../image/TWL.gif" align="middle"></h1>
12<h2>Syntax</h2>
13<DL>
14  <DD>
15  <CODE>#include &lt;twl/el.h&gt;</CODE><BR>
16  <BR>
17  <PRE><CODE>
18typedef u32   (*ELReadImage)( u32 offset, void* buf, u32 size);
19</CODE></PRE>
20</DL>
21
22<H2>Arguments</H2>
23<TABLE border="1" width="100%">
24  <TBODY>
25    <TR>
26<TD width="13%"><SPAN class="argument"><CODE>offset</CODE></SPAN></TD>
27<TD width="87%">Offset from the start of the dynamic module to be passed to the library</TD>
28    </TR>
29    <TR>
30<TD width="13%"><SPAN class="argument"><CODE>buf</CODE></SPAN></TD>
31<TD width="87%">Address where the data is to be loaded</TD>
32    </TR>
33    <TR>
34<TD width="13%"><SPAN class="argument"><CODE>size</CODE></SPAN></TD>
35<TD width="87%">Size of the data to load</TD>
36    </TR>
37  </TBODY>
38</TABLE>
39
40<H2>Description</H2>
41<P>
42Used when the EL library loads a dynamic module.<br>With this function, data from the linked dynamic module of the specified <SPAN class="argument">size</SPAN>, starting from the (starting address + <SPAN class="argument">offset</SPAN>) position, must be loaded into <SPAN class="argument">buf</SPAN>. If the data are loaded successfully, return 0.<BR>If the process fails, return a non-zero value.
43</P>
44
45<H2>Revision History</H2>
46<P>
472008/10/02 Added a description of the function.<br> 2008/01/21 Initial version.</P>
48<hr><p>CONFIDENTIAL</p></body>
49</HTML>
50