1. 08 7月, 2008 1 次提交
  2. 05 6月, 2008 1 次提交
  3. 25 5月, 2008 1 次提交
    • P
      x86 boot: add code to add BIOS provided EFI memory entries to kernel · 69c91893
      Paul Jackson 提交于
      Add to the kernels boot memory map 'memmap' entries found in
      the EFI memory descriptors passed in from the BIOS.
      
      On EFI systems, up to E820MAX == 128 memory map entries can
      be passed via the legacy E820 interface (limited by the size
      of the 'zeropage').  These entries can be duplicated in the
      EFI descriptors also passed from the BIOS, and possibly more
      entries passed by the EFI interface, which does not have the
      E820MAX limit on number of memory map entries.
      
      This code doesn't worry about the likely duplicate, overlapping
      or (unlikely) conflicting entries between the EFI map and the
      E820 map.  It just dumps all the EFI entries into the memmap[]
      array (which already has the E820 entries) and lets the existing
      routine sanitize_e820_map() sort the mess out.
      Signed-off-by: NPaul Jackson <pj@sgi.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      69c91893
  4. 20 4月, 2008 1 次提交
  5. 19 2月, 2008 1 次提交
  6. 15 2月, 2008 1 次提交
  7. 13 2月, 2008 2 次提交
    • H
      x86: EFI runtime code mapping enhancement · 4de0d4a6
      Huang, Ying 提交于
      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: NHuang Ying <ying.huang@intel.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      4de0d4a6
    • T
      x86: EFI: fix use of unitialized variable and the cache logic · e85f2051
      Thomas Gleixner 提交于
      Andi Kleen pointed out that the cache attribute logic is reverse in
      efi_enter_virtual_mode(). This problem alone is harmless as we do not
      (yet) do cache attribute conflict resolution. (This bug was not present
      in the original EFI submission - I introduced it while fixing up rejects.)
      
      While reviewing this code I noticed a second, worse problem: the use of
      uninitialized md->virt_addr.
      
      Fix both problems.
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      e85f2051
  8. 04 2月, 2008 1 次提交
  9. 30 1月, 2008 8 次提交