Using <strong>DebugLib</strong> instead to print a message, I was able to confirm that my driver is now running properly:<br />
<div style="padding-left: 30px;"><strong>cat debug.log | grep Hello</strong></div>
This works both when adding it in the OVMF build and also when inserted by UEFITool.<br /><br />The drivers is not being listed by the EFI Shell <strong>drivers</strong> command.<br />This is expected to me as Dxe Drivers are unloaded after they return.<br />Nonetheless, the same is happening when I package it as a <strong>DXE_RUNTIME_DRIVER</strong>.<br />What is it that I'm missing?<br /><br />Thank you for your attention,<br />Diogo


 <div width="1" style="color:white;clear:both">_._,_._,_</div> <hr>   Groups.io Links:<p>   You receive all messages sent to this group.    <p> <a target="_blank" href="https://edk2.groups.io/g/devel/message/95953">View/Reply Online (#95953)</a> |    |  <a target="_blank" href="https://groups.io/mt/94734592/1813853">Mute This Topic</a>  | <a href="https://edk2.groups.io/g/devel/post">New Topic</a><br>    <a href="https://edk2.groups.io/g/devel/editsub/1813853">Your Subscription</a> | <a href="mailto:devel+owner@edk2.groups.io">Contact Group Owner</a> |  <a href="https://edk2.groups.io/g/devel/unsub">Unsubscribe</a>  [edk2-devel-archive@redhat.com]<br> <div width="1" style="color:white;clear:both">_._,_._,_</div>