<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EstiloCorreo17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EstiloCorreo18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=ES link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hi,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN-US>I have the following files in rtems 4.8.2.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>It compiles Ok, but when I run it on TSIM it gives the following error:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US>TSIM/LEON SPARC simulator, version 2.0.15 (professional version)<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US>Copyright (C) 2001, Gaisler Research - all rights reserved.<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US>For latest updates, go to http://www.gaisler.com/<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US>Comments or bug-reports to tsim@gaisler.com<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US>serial port A on stdin/stdout<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US>allocated 4096 K RAM memory, in 1 bank(s)<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US>allocated 32 M SDRAM memory, in 1 bank<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US>allocated 2048 K ROM memory<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US>icache: 1 * 4 kbytes, 16 bytes/line (4 kbytes total)<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US>dcache: 1 * 4 kbytes, 16 bytes/line (4 kbytes total)<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US>section: .text, addr: 0x40000000, size 95760 bytes<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US>section: .data, addr: 0x40017610, size 3184 bytes<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US>section: .jcr, addr: 0x40018280, size 4 bytes<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US>read 639 symbols<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US>tsim> go 0x40000000<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US>resuming at 0x40000000<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US>Call to testRun ...<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US>Init<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US>Math test<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US>Unexpected trap ( 4) at address 0x40001584<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US>fp disabled<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US>Program exited normally.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>It seems as if the fp was no enabled at RTEMS level, but as you can see in the init.h file I have:<o:p></o:p></span></p><p class=MsoNormal style='text-indent:35.4pt'><span lang=EN-US>#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Any idea why?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Thanks,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Oscar<o:p></o:p></span></p></div><p>
<! English>
<font size=1 color=gray face=Arial><span style='font-size:
8.0pt;font-family:Arial;color:gray'><hr size=2 width='100%' align=center>
This message including any attachments may contain confidential information,
according to our Information Security Management System, and intended solely
for a specific individual to whom they are addressed. Any unauthorised copy,
disclosure or distribution of this message is strictly forbidden. If you have
received this transmission in error, please notify the sender immediately and delete it.
</span></font>
<! Spanish>
<font size=1 color=gray face=Arial><span style='font-size:
8.0pt;font-family:Arial;color:gray'><hr size=2 width='100%' align=center>
Este mensaje, y en su caso, cualquier fichero anexo al mismo, puede contener
información clasificada por su emisor como confidencial en el marco de su
Sistema de Gestión de Seguridad de la Información siendo para uso 
exclusivo del destinatario, quedando prohibida su divulgación copia o 
distribución a terceros sin la autorización expresa del remitente. 
Si Vd. ha recibido este mensaje erróneamente, se ruega lo notifique al 
remitente y proceda a su borrado.
</span></font><font size=1 color=gray face=Arial><span lang=EN-GB
style='font-size:8.0pt;font-family:Arial;color:gray'>Gracias por su
colaboración.<o:p></o:p></span></font>
<! Portuguese>
<font size=1 color=gray face=Arial><span style='font-size:
8.0pt;font-family:Arial;color:gray'><hr size=2 width='100%' align=center>
Esta mensagem, incluindo qualquer ficheiro anexo, pode conter informação confidencial, 
de acordo com nosso Sistema de Gestão de Segurança da Informação, sendo para uso exclusivo 
do destinatário e estando proibida a sua divulgação, cópia ou distribuição a terceiros 
sem autorização expressa do remetente da mesma. Se recebeu esta mensagem por engano, 
por favor avise de imediato o remetente e apague-a.
</span></font><font size=1 color=gray face=Arial><span lang=EN-GB
style='font-size:8.0pt;font-family:Arial;color:gray'>Obrigado pela sua colaboração.
<o:p></o:p></span></font>

<hr size=2 width='100%' align=center></p>
</body></html>