Messages in this thread | | | Date | Tue, 16 Jul 2013 14:59:11 -0700 | Subject | Re: [PATCH v2 1/3] x86, boot: add mmio serial during compressed boot | From | Yinghai Lu <> |
| |
On Tue, Jul 16, 2013 at 12:41 PM, H. Peter Anvin <hpa@zytor.com> wrote: > On 07/16/2013 12:40 PM, Kees Cook wrote: >>> >>> I think setting up a dynamic #PF handler is the right thing for the >>> decompressor, we already did for the kernel proper. >> >> I'm not sure how to accomplish this yet. I'm still trying to >> understand how the page tables are arranged. :) >> > > Look at the handler at the top of arch/x86/kernel/head64.c.
could extract code from arch/x86/kernel/{head64.c, head_64.S}, and share them with arch/x86/boot/compressed/{misc.c, head_64.S}
Yinghai
| |