diff options
Diffstat (limited to 'hw/xtensa/bootparam.h')
-rw-r--r-- | hw/xtensa/bootparam.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/hw/xtensa/bootparam.h b/hw/xtensa/bootparam.h index e839bee576..955f4e86e3 100644 --- a/hw/xtensa/bootparam.h +++ b/hw/xtensa/bootparam.h @@ -16,6 +16,15 @@ typedef struct BpTag { uint16_t size; } BpTag; +typedef struct BpMemInfo { + uint32_t type; + uint32_t start; + uint32_t end; +} BpMemInfo; + +#define MEMORY_TYPE_CONVENTIONAL 0x1000 +#define MEMORY_TYPE_NONE 0x2000 + static inline size_t get_tag_size(size_t data_size) { return data_size + sizeof(BpTag) + 4; |