A thing I definitely love whenever talking about calling convention is that 64-bit UEFI calling convention is Windows calling convention not SYSV calling convention and even if you remember to make sure you have the right parameters the lack of a red zone will absolutely fuck you up

0

If you have a fediverse account, you can quote this note from your own instance. Search https://nondeterministic.computer/users/mjg59/statuses/116022701697792191 on your instance and quote it. (Note that quoting is not supported in Mastodon.)