Huang, Ying 4de0d4a6d1 x86: EFI runtime code mapping enhancement
This patch enhances EFI runtime code memory mapping as following:

- Move __supported_pte_mask & _PAGE_NX checking before invoking
  runtime_code_page_mkexec(). This makes it possible for compiler to
  eliminate runtime_code_page_mkexec() on machine without NX support.

- Use set_memory_x/nx in early_mapping_set_exec(). This eliminates the
  duplicated implementation.

This patch has been tested on Intel x86_64 platform with EFI64/32
firmware.

Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-02-13 16:20:35 +01:00
..
2008-02-05 09:44:06 -08:00
2008-02-06 10:41:02 -08:00
2007-10-20 01:13:56 +02:00
2007-10-17 20:16:15 +02:00
2007-10-20 01:13:56 +02:00
2008-01-30 13:30:35 +01:00
2008-02-09 23:24:09 +01:00
2008-02-11 20:50:09 -08:00
2007-10-11 11:16:56 +02:00