Renesas 70 Network Card User Manual


 
Chapter 6 Using Configurator
- 113 -
3. Section name
[( Definition format )] Symbol
[( Definition range )] None
[( Default value )] MR_HEAP
Define the name of the section in which the memory pool is located. The section defined here must
always have an area allocated for it in the section file (asm_sec.inc or c_sec.inc).
If no section names are defined, the memory pool is located in the MR_HEAP section.
4. Memory pool size
[( Definition format )] Numeric value
[( Definition range )] 16 to 0xFFFFFFFF
[( Default value )] None
Specify a memory pool size.
Round off a block size you specify to the optimal block size among the four block sizes, and acquires
memory having the rounded-off size from the memory pool.
The following equations define the block sizes:
a = (((max_memsize+(X-1))/ (X × 8))+1) × 8
b = a × 2
c = a × 4
d = a × 8
max_memsize: the value specified in the configuration file
X: data size for block control (8 byte per a block control)
Variable-size memory pool function needs 8 byte RAM area per a block control. Memory pool size
needs a size more than a, b, c or d that can be stored max_memsize + 8.
[( Cyclic handler definition )]
This definition is necessary to use Cyclic handler function.
<< Format >>
// Cyclic Handlar Definition
cyclic_hand[
ID No.
]{
name =
ID name
;
interval_counter =
Activation cycle
;
start =
TA_STA attribute
;
phsatr =
TA_PHS attribute
;
phs_counter =
Activation phase
;
entry_address =
Start address
;
exitf =
Extended information
;
};
:
:
The ID number must be in the range of 1 to 255. The ID number can be omitted.
If omitted, numbers are automatically assigned sequentially beginning with the smallest.