beautypg.com

7 svr_static – Renesas Stub Generator V.1.00 User Manual

Page 49

background image

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{

Δ

};

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.

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.

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
is not affected by definition of SVR_SECTION.

The server-parameter area information is output to _svr.c in the following format.

#pragma section

#pragma pack 4

static UINT8 ucServerArea_[ ALIGNUP4() ];

#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};

This manual is related to the following products: