A couple of questions

"Michael P. Collins" on korat mcollins at hawkeye.sps.mot.com
Fri Sep 29 23:07:56 UTC 2000


  A few unrelated questions:

1. I've spent a lot of time this week working with the linkcmds files
   for my BSP.  I build my BSP two different ways, to link for ROM
   (in which case the .data section must be copied to RAM at startup)
   and for RAM.  In the past, I modeled my linkcmds files for these
   two variations on those in the efi332 BSP.  Those files a now
   quite different from each other, to the point were I suspect you
   would get link errors if linkcmds_ROM were used.  Aside from some
   different symbol names in the linker control file, I see that the
   method of linking C++ constructors and destructors is substantially
   different.  Presuming that the file "efi332/startup/linkcmds" is
   most correct, I've used that as a model for my own files.  Is this
   the right thing to do?

2. At startup, my BSP under 4.0 (again, strongly influenced by efi332)
   cleared all of RAM.  This is no longer the case, and again it comes
   back to the way the linkcmds file (for efi332 in RAM) has changed.
   The question is, should all of RAM generally be cleared at startup,
   or just .bss?  Any good arguments either way?

  Thanks,

					-- MC --



More information about the users mailing list