Re: [PATCH v2 1/2] x86/boot/KASLR: Adapt process_e820_entry for any type of memory entry

2017-07-05 Thread Baoquan He
On 07/05/17 at 03:06pm, Kees Cook wrote: > On Tue, Jul 4, 2017 at 1:04 AM, Baoquan He wrote: > > Now function process_e820_entry is only used to process e820 memory > > entries. Adapt it for any type of memory entry, not just for e820. > > Later we will use it to process efi

Re: [PATCH v2 1/2] x86/boot/KASLR: Adapt process_e820_entry for any type of memory entry

2017-07-05 Thread Baoquan He
On 07/05/17 at 03:06pm, Kees Cook wrote: > On Tue, Jul 4, 2017 at 1:04 AM, Baoquan He wrote: > > Now function process_e820_entry is only used to process e820 memory > > entries. Adapt it for any type of memory entry, not just for e820. > > Later we will use it to process efi mirror regions. > > >

Re: [PATCH v2 1/2] x86/boot/KASLR: Adapt process_e820_entry for any type of memory entry

2017-07-05 Thread Kees Cook
On Tue, Jul 4, 2017 at 1:04 AM, Baoquan He wrote: > Now function process_e820_entry is only used to process e820 memory > entries. Adapt it for any type of memory entry, not just for e820. > Later we will use it to process efi mirror regions. > > So rename the old

Re: [PATCH v2 1/2] x86/boot/KASLR: Adapt process_e820_entry for any type of memory entry

2017-07-05 Thread Kees Cook
On Tue, Jul 4, 2017 at 1:04 AM, Baoquan He wrote: > Now function process_e820_entry is only used to process e820 memory > entries. Adapt it for any type of memory entry, not just for e820. > Later we will use it to process efi mirror regions. > > So rename the old process_e820_entry to

[PATCH v2 1/2] x86/boot/KASLR: Adapt process_e820_entry for any type of memory entry

2017-07-04 Thread Baoquan He
Now function process_e820_entry is only used to process e820 memory entries. Adapt it for any type of memory entry, not just for e820. Later we will use it to process efi mirror regions. So rename the old process_e820_entry to process_mem_region, and extract and wrap the e820 specific processing

[PATCH v2 1/2] x86/boot/KASLR: Adapt process_e820_entry for any type of memory entry

2017-07-04 Thread Baoquan He
Now function process_e820_entry is only used to process e820 memory entries. Adapt it for any type of memory entry, not just for e820. Later we will use it to process efi mirror regions. So rename the old process_e820_entry to process_mem_region, and extract and wrap the e820 specific processing