
SCIOPTA - Real-Time Kernel
15-12 Manual Version 4.1 User’s Manual
SCIOPTA - Real-Time Kernel
15 Building SCIOPTA Systems
15.7.2.3 Specific Module Values
For each module four values are calculated in the linker script:
<module_name>_start Start address of module RAM
<module_name>_initsize Size of initialized RAM
<module_name>_size Complete size of the module
<module_name>_mod A structure which contains the above
three addresses.
The SCIOPTA configuration utility SC
ONF is using these definitions to pass the module addresses to the kernel.
Example in the linker script:
.module_init :
{
system_mod = .;
LONG(system_start);
LONG(system_size);
LONG(system_initsize);
dev_mod = .;
LONG(dev_start);
LONG(dev_size);
LONG(dev_initsize);
ips_mod = .;
LONG(ips_start);
LONG(ips_size);
LONG(ips_initsize);
user_mod = .;
LONG(user_start);
LONG(user_size);
LONG(user_initsize);
} > rom
Kommentare zu diesen Handbüchern