setup.c (946e0f6ffcaa614012d646f4cf84efdd62628c8b) setup.c (0483e1fa6e09d4948272680f691dccb1edb9677f)
1/*
2 * Copyright (C) 1995 Linus Torvalds
3 *
4 * Support of BIGMEM added by Gerhard Wichert, Siemens AG, July 1999
5 *
6 * Memory region support
7 * David Parsons <orc@pell.chi.il.us>, July-August 1999
8 *

--- 99 unchanged lines hidden (view full) ---

108#include <asm/topology.h>
109#include <asm/apicdef.h>
110#include <asm/amd_nb.h>
111#include <asm/mce.h>
112#include <asm/alternative.h>
113#include <asm/prom.h>
114#include <asm/microcode.h>
115#include <asm/mmu_context.h>
1/*
2 * Copyright (C) 1995 Linus Torvalds
3 *
4 * Support of BIGMEM added by Gerhard Wichert, Siemens AG, July 1999
5 *
6 * Memory region support
7 * David Parsons <orc@pell.chi.il.us>, July-August 1999
8 *

--- 99 unchanged lines hidden (view full) ---

108#include <asm/topology.h>
109#include <asm/apicdef.h>
110#include <asm/amd_nb.h>
111#include <asm/mce.h>
112#include <asm/alternative.h>
113#include <asm/prom.h>
114#include <asm/microcode.h>
115#include <asm/mmu_context.h>
116#include <asm/kaslr.h>
116
117/*
118 * max_low_pfn_mapped: highest direct mapped pfn under 4GB
119 * max_pfn_mapped: highest direct mapped pfn over 4GB
120 *
121 * The direct mapping only covers E820_RAM regions, so the ranges and gaps are
122 * represented by pfn_mapped
123 */

--- 813 unchanged lines hidden (view full) ---

937 }
938
939 if (efi_enabled(EFI_BOOT))
940 efi_memblock_x86_reserve_range();
941#endif
942
943 x86_init.oem.arch_setup();
944
117
118/*
119 * max_low_pfn_mapped: highest direct mapped pfn under 4GB
120 * max_pfn_mapped: highest direct mapped pfn over 4GB
121 *
122 * The direct mapping only covers E820_RAM regions, so the ranges and gaps are
123 * represented by pfn_mapped
124 */

--- 813 unchanged lines hidden (view full) ---

938 }
939
940 if (efi_enabled(EFI_BOOT))
941 efi_memblock_x86_reserve_range();
942#endif
943
944 x86_init.oem.arch_setup();
945
946 kernel_randomize_memory();
947
945 iomem_resource.end = (1ULL << boot_cpu_data.x86_phys_bits) - 1;
946 setup_memory_map();
947 parse_setup_data();
948
949 copy_edd();
950
951 if (!boot_params.hdr.root_flags)
952 root_mountflags &= ~MS_RDONLY;

--- 347 unchanged lines hidden ---
948 iomem_resource.end = (1ULL << boot_cpu_data.x86_phys_bits) - 1;
949 setup_memory_map();
950 parse_setup_data();
951
952 copy_edd();
953
954 if (!boot_params.hdr.root_flags)
955 root_mountflags &= ~MS_RDONLY;

--- 347 unchanged lines hidden ---