Error: non-item macro in item position: asm

Is possible to add .text header (structure) enclosed in asm! () macro outside of a rust function? Such as add a efi header, then linked to be efi file, the boot loader can recognize the header to bootup?

Thanks, Shawn

I think you can do this with global_asm!

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.