Currently, if a configuration file contains protocol: efi entries, they will be shown in the menu when Limine is booted in BIOS mode, however these entries are unbootable in BIOS mode as far as I can tell.
I did check to see if there was a way to do this with configuration automatically but there doesn't seem to be an obvious way to achieve this currently.
To be sure, I tested booting protocol: efi entries under BIOS-mode Limine and as you would expect, they didn't boot.
My suggestion would be to simply not show these entries in BIOS-mode Limine.
I don't think the reverse is required, as most other protocols, including efi, should work when booted via UEFI. One exception to this is likely multiboot1, which does not support EFI booting, so it also could potentially be hidden from the menu on EFI-booted systems.
Currently, if a configuration file contains
protocol: efientries, they will be shown in the menu when Limine is booted in BIOS mode, however these entries are unbootable in BIOS mode as far as I can tell.I did check to see if there was a way to do this with configuration automatically but there doesn't seem to be an obvious way to achieve this currently.
To be sure, I tested booting
protocol: efientries under BIOS-mode Limine and as you would expect, they didn't boot.My suggestion would be to simply not show these entries in BIOS-mode Limine.
I don't think the reverse is required, as most other protocols, including
efi, should work when booted via UEFI. One exception to this is likelymultiboot1, which does not support EFI booting, so it also could potentially be hidden from the menu on EFI-booted systems.