arch/x86/include/asm/e820.h
changeset 2 d1f6d8b6f81c
parent 0 aa628870c1d3
equal deleted inserted replaced
1:0056487c491e 2:d1f6d8b6f81c
    47 
    47 
    48 /* reserved RAM used by kernel itself */
    48 /* reserved RAM used by kernel itself */
    49 #define E820_RESERVED_KERN        128
    49 #define E820_RESERVED_KERN        128
    50 
    50 
    51 #ifndef __ASSEMBLY__
    51 #ifndef __ASSEMBLY__
       
    52 #include <linux/types.h>
    52 struct e820entry {
    53 struct e820entry {
    53 	__u64 addr;	/* start of memory segment */
    54 	__u64 addr;	/* start of memory segment */
    54 	__u64 size;	/* size of memory segment */
    55 	__u64 size;	/* size of memory segment */
    55 	__u32 type;	/* type of memory segment */
    56 	__u32 type;	/* type of memory segment */
    56 } __attribute__((packed));
    57 } __attribute__((packed));