init_32.c (75bf465f0bc33e9b776a46d6a1b9b990f5fb7c37) init_32.c (4ed47dbefa299d7b36944f6d4001ee83612dd680)
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * PowerPC version
4 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org)
5 *
6 * Modifications by Paul Mackerras (PowerMac) (paulus@cs.anu.edu.au)
7 * and Cort Dougan (PReP) (cort@cs.nmt.edu)
8 * Copyright (C) 1996 Paul Mackerras

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

51#error "You must adjust CONFIG_LOWMEM_SIZE or CONFIG_KERNEL_START"
52#endif
53#endif
54#define MAX_LOW_MEM CONFIG_LOWMEM_SIZE
55
56phys_addr_t total_memory;
57phys_addr_t total_lowmem;
58
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * PowerPC version
4 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org)
5 *
6 * Modifications by Paul Mackerras (PowerMac) (paulus@cs.anu.edu.au)
7 * and Cort Dougan (PReP) (cort@cs.nmt.edu)
8 * Copyright (C) 1996 Paul Mackerras

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

51#error "You must adjust CONFIG_LOWMEM_SIZE or CONFIG_KERNEL_START"
52#endif
53#endif
54#define MAX_LOW_MEM CONFIG_LOWMEM_SIZE
55
56phys_addr_t total_memory;
57phys_addr_t total_lowmem;
58
59phys_addr_t memstart_addr = (phys_addr_t)~0ull;
60EXPORT_SYMBOL(memstart_addr);
61phys_addr_t kernstart_addr;
62EXPORT_SYMBOL(kernstart_addr);
63
64#ifdef CONFIG_RELOCATABLE
65/* Used in __va()/__pa() */
66long long virt_phys_offset;
67EXPORT_SYMBOL(virt_phys_offset);
68#endif
69
70phys_addr_t lowmem_end_addr;
71

--- 113 unchanged lines hidden ---
59#ifdef CONFIG_RELOCATABLE
60/* Used in __va()/__pa() */
61long long virt_phys_offset;
62EXPORT_SYMBOL(virt_phys_offset);
63#endif
64
65phys_addr_t lowmem_end_addr;
66

--- 113 unchanged lines hidden ---