aboutsummaryrefslogtreecommitdiffstats
path: root/tools/firmware/rombios/e820.h
blob: 570c17e57cf3957d6e75f8227521cefaf2cb2b1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef __ROMBIOS_E820_H__
#define __ROMBIOS_E820_H__

/*
 * PC BIOS standard E820 types and structure.
 */
#define E820_RAM          1
#define E820_RESERVED     2
#define E820_ACPI         3
#define E820_NVS          4

struct e820entry {
    uint64_t addr;
    uint64_t size;
    uint32_t type;
} __attribute__((packed));

#endif /* __ROMBIOS_E820_H__ */