Renesas V.1.00 Computer Hardware User Manual


 
Section 5 Specifications of a Config File
Rev. 1.01 Mar. 17, 2008 Page 37 of 128
REJ10J1822-0101
5.5.7 SVR_STATIC
Format:
SVR_STATIC{<size>Δ<section name>};
Description:
This statement defines the server as static. If this definition is omitted, the server will be dynamic.
Note that SVR_STATIC cannot be used in conjunction with SVR_NOINIT.
<Size> indicates the size of the server parameter area. Specify an integer constant that can be
represented as UINT32. The specified value is rounded up to the nearest multiple of four.
<Section name> indicates the section name to be given to the server parameter area. Note,
however, that the actual section name will be ‘B’ followed by the section name given here. This
<section name> is not affected by definition of SVR_SECTION.
The server-parameter area information is output to <config file>_svr.c in the following format.
#pragma section <section name>
#pragma pack 4
static UINT8 ucServerArea_<server name>[ ALIGNUP4(<size>) ];
#pragma unpack
#pragma section
Note:
Since the SH2A-DUAL does not have a facility for the CPU cores to snoop on each other’s
caches, the server parameter area must be allocated in a non-cacheable area. Specify a section
name that can be distinguished from those of sections to be allocated in cacheable areas.
Example:
SVR_STATIC{ 512 D_SVRAREA};