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-09 23:24:08 +01:00
2007-10-17 21:19:04 +02:00
2008-01-30 13:33:14 +01:00
2008-01-30 13:31:12 +01:00
2007-10-11 11:17:01 +02:00
2007-10-11 11:17:24 +02:00
2007-10-19 11:53:33 -07:00
2007-10-13 10:01:23 -07:00
2008-01-30 13:31:31 +01:00
2008-01-31 22:05:47 +01:00
2008-01-30 13:33:32 +01:00
2007-10-11 11:17:01 +02:00
2008-01-30 13:31:19 +01:00
2008-02-09 23:24:08 +01:00
2008-02-09 23:24:08 +01:00
2008-02-01 17:49:41 +01:00
2008-02-06 22:39:45 +01:00
2008-01-30 13:31:55 +01:00
2008-01-30 13:33:14 +01:00
2008-01-30 13:33:14 +01:00
2008-01-30 13:30:28 +01:00
2008-01-30 13:33:10 +01:00
2007-10-11 11:17:24 +02:00
2008-01-30 13:33:23 +01:00
2007-10-13 10:01:23 -07:00
2007-10-11 11:17:01 +02:00
2007-10-11 11:17:24 +02:00
2008-01-30 13:30:33 +01:00
2008-01-30 13:30:33 +01:00
2008-01-30 13:33:19 +01:00
2008-01-30 13:30:31 +01:00
2007-10-11 11:17:01 +02:00
2008-02-06 22:39:44 +01:00
2007-10-11 11:17:01 +02:00
2007-10-11 11:17:24 +02:00
2008-01-30 13:32:40 +01:00
2008-01-30 13:33:24 +01:00
2007-10-11 11:17:01 +02:00
2008-01-30 13:33:23 +01:00
2008-01-30 13:33:23 +01:00
2007-10-20 01:13:56 +02:00
2007-10-17 08:42:55 -07:00
2008-02-08 09:22:29 -08:00
2008-01-30 13:31:52 +01:00
2008-01-30 13:31:52 +01:00
2008-02-06 22:39:44 +01:00
2008-01-30 13:33:33 +01:00
2008-01-30 13:33:24 +01:00
2007-10-11 11:17:24 +02:00
2008-01-30 13:31:42 +01:00
2008-02-04 16:47:54 +01:00
2007-10-11 11:17:01 +02:00
2008-01-30 13:32:39 +01:00
2008-01-30 13:31:10 +01:00