Hi Julien, [EMAIL PROTECTED] wrote:
The module is approx. 150 k in size and I've got 4 MB of RAM with about 900k free after startup. Note that I'm currently executing from RAM because ROM flashing is really slow...
Most likely memory fragmentation will be a problem. With only 900k free you probably don't have many large regions free.
Is it normal that the module makes 150 k with so less code inside ?
Well the module file is in an object file format. So there will be symbol and probably debug info in there as well.
Does it comes from the libraries included ?
No, no libraries are linked into modules. The binary module file contains only that modules code and data. Run the cross "size" tool on it to see how large the code and data regions are.
I've got another question : is it possible to call a function defined in a USER SPACE program from an interrupt handler defined in a module (KERNEL SPACE) ?
No.
Thank for your answers, I'm just getting started with Linux, Coldfire, C programming,... and there's still a lot of information I'm missing.
Regards Greg ------------------------------------------------------------------------ Greg Ungerer -- Chief Software Dude EMAIL: [EMAIL PROTECTED] Secure Computing Corporation PHONE: +61 7 3435 2888 825 Stanley St, FAX: +61 7 3891 3630 Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com _______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev