diff options
author | Huang, Ying <ying.huang@intel.com> | 2008-02-13 10:22:41 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-02-13 16:20:35 +0100 |
commit | 4de0d4a6d173351b023ab2855c3d331146a418e5 (patch) | |
tree | 59fd58a74fc693e8b7c2b769180abc8bcbd2df61 /lib/crc7.c | |
parent | x86: EFI: fix use of unitialized variable and the cache logic (diff) | |
download | linux-4de0d4a6d173351b023ab2855c3d331146a418e5.tar.xz linux-4de0d4a6d173351b023ab2855c3d331146a418e5.zip |
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>
Diffstat (limited to 'lib/crc7.c')
0 files changed, 0 insertions, 0 deletions