
Section 6 Definitions of Server Functions
Rev. 1.01 Mar. 17, 2008 Page 60 of 128
REJ10J1822-0101
6.5.4
REF (Passing by Reference)
Description:
This keyword specifies that only the address of the parameter will be passed between the client
and the server. REF is useful when the size of the parameter to be passed is large.
This keyword can be used in conjunction with IN and with the data-type keywords PTR, STR, and
ARY.
Figure 6.1 illustrates the difference between cases with and without REF.
[IN PTR] struct ST *ptr
[IN REF PTR] struct ST *ptr
ptr
Parameter to be
passed to the
server function
ptr
Copying
struct ST
struct ST
ptr
struct ST
ptr
Parameter specified in the client
Parameter specified in the client
Server parameter area
(in a non-cacheable area)
Server parameter area
(in a non-cacheable area)
Copying
Parameter to be
passed to the
server function
Client area
Client area*
*Note: When the device in use does not provide a facility for cache-snooping
between the CPU cores (as is the case for the SH2A-DUAL etc.), the server
parameter area must be allocated in a non-cacheable area.
Figure 6.1 REF
Summary of Contents for Stub Generator REJ10J1822-0101
Page 4: ......
Page 6: ......
Page 12: ...vi ...
Page 16: ...Section 2 Installation Rev 1 01 Mar 17 2008 Page 4 of 128 REJ10J1822 0101 ...
Page 34: ...Section 4 Executing RPCGEN Rev 1 01 Mar 17 2008 Page 22 of 128 REJ10J1822 0101 ...
Page 60: ...Section 5 Specifications of a Config File Rev 1 01 Mar 17 2008 Page 48 of 128 REJ10J1822 0101 ...
Page 118: ...Section 9 Notes Rev 1 01 Mar 17 2008 Page 106 of 128 REJ10J1822 0101 ...
Page 131: ...Section 11 Samples Rev 1 01 Mar 17 2008 Page 119 of 128 REJ10J1822 0101 ...
Page 140: ...Section 11 Samples Rev 1 01 Mar 17 2008 Page 128 of 128 REJ10J1822 0101 ...
Page 143: ......