Re: efiboot: boot i386 kernel (part 1)

2017-12-17 Thread Mike Larkin
On Sun, Dec 17, 2017 at 12:17:26PM -0800, Mike Larkin wrote: > On Sun, Dec 17, 2017 at 08:34:52PM +0100, Patrick Wildt wrote: > > Hi, > > > > I had been looking into booting a 32-bit kernel with efiboot and the > > first thing I stumbled upon is that when we jump back into 32-bit mode > > we

Re: efiboot: boot i386 kernel (part 1)

2017-12-17 Thread Mike Larkin
On Sun, Dec 17, 2017 at 08:34:52PM +0100, Patrick Wildt wrote: > Hi, > > I had been looking into booting a 32-bit kernel with efiboot and the > first thing I stumbled upon is that when we jump back into 32-bit mode > we don't disable the Long Mode Extension. Thus when the i386 kernel > turns on

efiboot: boot i386 kernel (part 1)

2017-12-17 Thread Patrick Wildt
Hi, I had been looking into booting a 32-bit kernel with efiboot and the first thing I stumbled upon is that when we jump back into 32-bit mode we don't disable the Long Mode Extension. Thus when the i386 kernel turns on paging, LME goes active as well and "weird things happen". Not sure this