<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 http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@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;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
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="DE" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">hello world\n<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m looking at <a href="https://git.rtems.org/rtems/tree/bsps/riscv/shared/start/start.S">
https://git.rtems.org/rtems/tree/bsps/riscv/shared/start/start.S</a>  which contains near the end<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">                /* Wait for go issued by the boot processor (mhartid == 0) */<o:p></o:p></p>
<p class="MsoNormal">                LADDR  t0, .Lsecondary_processor_go<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">.Lwait_for_go_again:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">                lw           t1, 0(t0)<o:p></o:p></p>
<p class="MsoNormal">                fence    iorw, iorw<o:p></o:p></p>
<p class="MsoNormal">                bnez      t1, .Lwait_for_go_again<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">                mv         a0, s1<o:p></o:p></p>
<p class="MsoNormal">                call         bsp_start_on_secondary_processor<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">#if __riscv_xlen == 32<o:p></o:p></p>
<p class="MsoNormal">                .align     2<o:p></o:p></p>
<p class="MsoNormal">#elif __riscv_xlen == 64<o:p></o:p></p>
<p class="MsoNormal">                .align     3                        <span style="font-family:Wingdings">
ß</span>---------- Interesting.<o:p></o:p></p>
<p class="MsoNormal">#endif<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">.Lsecondary_processor_go:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">                /*<o:p></o:p></p>
<p class="MsoNormal">                * These are ebreak instructions, just in case we end up here executing<o:p></o:p></p>
<p class="MsoNormal">                * code.<o:p></o:p></p>
<p class="MsoNormal">                */<o:p></o:p></p>
<p class="MsoNormal">                .word    0x00100073<o:p></o:p></p>
<p class="MsoNormal">#if __riscv_xlen == 64<o:p></o:p></p>
<p class="MsoNormal">                .word    0x00100073<o:p></o:p></p>
<p class="MsoNormal">#endif<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’ve never come across a situation where I would want alignment 3 on a 64bit CPU.<o:p></o:p></p>
<p class="MsoNormal">Is this alignment intended? Is it the base 2 log?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b><span style="mso-fareast-language:DE">Jens Schweikhardt</span></b><span style="font-size:12.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;mso-fareast-language:DE">-------------------------------------------------------<br>
Tesat-Spacecom GmbH & Co. KG<br>
Gerberstraße 49<br>
D-71522 Backnang<br>
Direct: +49 7191 930 2849<br>
<br>
"This electronic message may contain highly confidential or privileged information from Tesat-Spacecom GmbH & Co. KG. Any of the information is only intended for the recipient and the use by any other party is not authorized. If you are not the intended recipient,
 be aware, that any disclosure, copying, distribution or use of the contents of this message is prohibited. If you have received this message by error please notify us immediately by telephone (+49 7191 930 2849) or by e-mail (Jens.Schweikhardt@Tesat.de). Thank
 you."<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1"><br>
Tesat-Spacecom GmbH & Co. KG<br>
Sitz: Backnang; Registergericht: Amtsgericht Stuttgart HRA 270977<br>
Persoenlich haftender Gesellschafter: Tesat-Spacecom Geschaeftsfuehrungs GmbH;<br>
Sitz: Backnang; Registergericht: Amtsgericht Stuttgart HRB 271658;<br>
Geschaeftsfuehrung: Dr. Marc Steckling, Kerstin Basche, Ralf Zimmermann<br>
</font><br>
<img src="https://www.tesat.de/images/footer.jpg" width="680" height="194" alt="banner">
</body>
</html>