blob: 4841654930461980df5b87b6e8d69c9ac5d77fa8 [file] [log] [blame]
Wedson Almeida Filhofdf4afc2018-07-19 15:45:21 +01001#ifndef _BOOT_PARAMS_H
2#define _BOOT_PARAMS_H
3
4#include <stdbool.h>
5
Andrew Scull18c78fc2018-08-20 12:57:41 +01006#include "hf/mm.h"
Wedson Almeida Filhofdf4afc2018-07-19 15:45:21 +01007
8struct boot_params {
9 paddr_t mem_begin;
10 paddr_t mem_end;
11 paddr_t initrd_begin;
12 paddr_t initrd_end;
13 size_t kernel_arg;
14};
15
16struct boot_params_update {
17 paddr_t reserved_begin;
18 paddr_t reserved_end;
19 paddr_t initrd_begin;
20 paddr_t initrd_end;
21};
22
23bool plat_get_boot_params(struct boot_params *p);
24bool plat_update_boot_params(struct boot_params_update *p);
25
26#endif /* _BOOT_PARAMS_H */