https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194359

--- Comment #11 from Marcel Moolenaar <[email protected]> ---
(In reply to Ed Maste from comment #9)
> > If the installer knows what the firmware is ((I don't know if we pass 
> > anything from the loader to the kernel))
> 
> We report if the system was booted by BIOS or UEFI via the
> machdep.bootmethod sysctl (returns BIOS or UEFI).
> 
> I think this won't help though, because it returns BIOS for both the legacy
> BIOS case and the UEFI CSM (i.e. simulated BIOS) case, and based on the
> discussion here it seems (some) real BIOS needs the PMBR active flag set
> while CSM needs it unset.

I guess that means we need to be able to distinguish between true BIOS and UEFI
CSM. There seems to be some code for that:

http://kernel.ubuntu.com/git?p=cking/debug-code/.git;a=commit;h=2e654e01bf4014b27387cf64bb03316064478eea

I have no idea how well this works or if this is at all a legit way to do that.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to