[lkml]   [2014]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [patch] x86: Introduce BOOT_EFI and BOOT_CF9 into the reboot sequence loop
On Sun, Mar 02, 2014 at 01:31:13AM +0800, Li, Aubrey wrote:
> On 2014/3/2 1:22, Matthew Garrett wrote:
> > No. The EFI reboot call jumps into the firmware and executes code.
> Firmware actually writes CF9.

Your firmware writes CF9. Other firmware may hit some other addresses.
We don't know what the behaviour of that firmware will be if it takes a
fault in the process.

By and large the rule when it comes to dealing with firmware interaction
is "Copy Windows as closely as possible". Older versions of Windows
didn't appear to hit the EFI reset vector, but if they're doing it now
then we should do the same - but we should only do so once we have an
expectation that it'll work rather than dumping an oops all over
someone's screen. And, as I keep saying, the code to handle this case is
written. Let's just make sure that your code ends up behind it in the

Matthew Garrett |

 \ /
  Last update: 2014-03-01 20:01    [W:0.245 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site