attachment:e820.patch of MactelSupportTeam/EFI-Boot-Mactel


Attachment 'e820.patch'

Download

Toggle line numbers
   1 --- arch/x86/kernel/e820.c.bak	2009-05-06 05:25:52.000000000 -0400
   2 +++ arch/x86/kernel/e820.c	2009-05-06 05:25:58.000000000 -0400
   3 @@ -1091,12 +1091,14 @@
   4  }
   5  unsigned long __init e820_end_of_ram_pfn(void)
   6  {
   7 -	return e820_end_pfn(MAX_ARCH_PFN, E820_RAM);
   8 +        unsigned long r = e820_end_pfn(MAX_ARCH_PFN, E820_RAM);
   9 +        return (r > 0x100000) ? r : 0x100000;
  10 +
  11  }
  12  
  13  unsigned long __init e820_end_of_low_ram_pfn(void)
  14  {
  15 -	return e820_end_pfn(1UL<<(32 - PAGE_SHIFT), E820_RAM);
  16 +        return 0x100000;
  17  }
  18  /*
  19   * Finds an active region in the address range from start_pfn to last_pfn and

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2009-05-09 23:57:14, 0.6 KB) [[attachment:e820.patch]]
  • [get | view] (2009-03-24 06:42:19, 1.0 KB) [[attachment:grub.cfg]]
  • [get | view] (2009-07-30 11:14:01, 0.0 KB) [[attachment:grub.efi.gz]]
  • [get | view] (2009-07-30 05:16:12, 266.9 KB) [[attachment:grubfat.efi]]
  • [get | view] (2009-03-08 08:07:28, 61.1 KB) [[attachment:grubfiles.png]]
 All files | Selected Files: delete move to page

You are not allowed to attach a file to this page.