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

2017-07-05 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 v3 1/2] x86/boot/KASLR: Adapt process_e820_entry for any type of memory entry

2017-07-05 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