setup.h (5e2aa2ed08e2e280121dc7cf5609c87d464f12ef) setup.h (78cac48c0434c82e860fade3cd0420a7a4adbb08)
1#ifndef _ASM_X86_SETUP_H
2#define _ASM_X86_SETUP_H
3
4#include <uapi/asm/setup.h>
5
6#define COMMAND_LINE_SIZE 2048
7
8#include <linux/linkage.h>

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

61
62#include <asm/espfix.h>
63
64/*
65 * This is set up by the setup-routine at boot-time
66 */
67extern struct boot_params boot_params;
68
1#ifndef _ASM_X86_SETUP_H
2#define _ASM_X86_SETUP_H
3
4#include <uapi/asm/setup.h>
5
6#define COMMAND_LINE_SIZE 2048
7
8#include <linux/linkage.h>

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

61
62#include <asm/espfix.h>
63
64/*
65 * This is set up by the setup-routine at boot-time
66 */
67extern struct boot_params boot_params;
68
69static inline bool kaslr_enabled(void)
70{
71 return !!(boot_params.hdr.loadflags & KASLR_FLAG);
72}
73
69/*
70 * Do NOT EVER look at the BIOS memory size location.
71 * It does not work on many machines.
72 */
73#define LOWMEMSIZE() (0x9f000)
74
75/* exceedingly early brk-like allocator */
76extern unsigned long _brk_end;

--- 50 unchanged lines hidden ---
74/*
75 * Do NOT EVER look at the BIOS memory size location.
76 * It does not work on many machines.
77 */
78#define LOWMEMSIZE() (0x9f000)
79
80/* exceedingly early brk-like allocator */
81extern unsigned long _brk_end;

--- 50 unchanged lines hidden ---