[coreboot] XMM stack

Rudolf Marek r.marek at assembler.cz
Sun Oct 4 21:40:48 CEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all

During the weekend train trips I managed to get serialICE 1.2 working with the
XMM stack (in qemu).

There were some gotchas:

#1 missing SSE enable
#2 missing stack setup ;) (taken from RemoteBIOS)
#3 wrong LD script, the rodata section relocation did not work
#4 the stack realign feature
#5 missing -O2 ;)

I'm attaching the modified files right now. Not so big deal hopefully.

Please can someone fix the ld script in proper way? I borrowed this change from
the RemoteBIOS.

Btw now it has just 17KB and not nearly 60KB or so with romcc ;)

With that we have 128B of stack.

Thanks,

Rudolf


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkrI+kAACgkQ3J9wPJqZRNWIXgCePkjokc44LHgoHqRfSCCM4Ero
et0AnRb8V+x3DjTwHHW0al86ceJax7Gd
=WY2S
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Makefile
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20091004/e9878ae5/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: serialice.ld
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20091004/e9878ae5/attachment-0001.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: start.S
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20091004/e9878ae5/attachment-0002.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile.sig
Type: application/octet-stream
Size: 72 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20091004/e9878ae5/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: serialice.ld.sig
Type: application/octet-stream
Size: 72 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20091004/e9878ae5/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: start.S.sig
Type: application/octet-stream
Size: 72 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20091004/e9878ae5/attachment-0002.obj>


More information about the coreboot mailing list