sparc leon3 hal patch

Konrad Eisele konrad@gaisler.com
Wed Jul 27 07:59:00 GMT 2005


Hi,
I have a patch for the sparc leon hal. The successor of the Leon chip is
the Leon3, so the appended package_hal_sparc.txt.diff &
package_ecos_db.txt.diff  adds a packages/hal/sparc/leon3 dir. I added
also -mflat support and  fpu context saveing to all sparc hals. The 
leon3 arch in addition  support smp. This is the reason for the other 
patches, package_hal_i386.txt.diff and package_kernel.txt.diff. Whith
Leon3 you can boot a cpu at runtime. Therefore I had to change the
loops in kernel to distinguish between loop index and active cpu index.
The changes for package_hal_i386.txt.diff and package_kernel.txt.diff
together will leave the kernel unchanged for that architecture (I guess
it is the only one that uses smp?) but for the sparc it'll have the
desired effect that it'll enable to hot boot a cpu. So:
  o package_hal_sparc.txt.diff : add sparc/leon3 architecture
  o package_ecos_db.txt.diff   : add sparc_leon3 or ecosconfig
  o package_hal_i386.txt.diff and package_kernel.txt.diff: add cpu
    hotboot support (+ a small ifdef patch to test/tm_basic.c)

I think Jiri Gaisler send in the patches before. He told me to
resynchronize with the current cvs. He also sait it's ok that I sign a
possible licence statement if needed. Let me know.
-- Konrad

-------------- next part --------------
A non-text attachment was scrubbed...
Name: package_ecos_db.txt.diff
Type: text/x-patch
Size: 1200 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/ecos-patches/attachments/20050727/9f14f933/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: package_hal_sparc.txt.diff
Type: text/x-patch
Size: 214001 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/ecos-patches/attachments/20050727/9f14f933/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: package_hal_i386.txt.diff
Type: text/x-patch
Size: 708 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/ecos-patches/attachments/20050727/9f14f933/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: package_kernel.txt.diff
Type: text/x-patch
Size: 3105 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/ecos-patches/attachments/20050727/9f14f933/attachment-0003.bin>


More information about the Ecos-patches mailing list