coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
plat_params.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#ifndef __PLAT_PARAMS_H__
4
#define __PLAT_PARAMS_H__
5
6
#include <
stdint.h
>
7
8
/* param type */
9
enum
{
10
PARAM_NONE
= 0,
11
PARAM_FDT
,
12
PARAM_COREBOOT_TABLE
,
13
};
14
15
/* common header for all plat parameter type */
16
struct
bl31_plat_param
{
17
uint64_t
type
;
18
void
*
next
;
19
};
20
21
struct
bl31_fdt_param
{
22
struct
bl31_plat_param
h
;
23
uint64_t
fdt_ptr
;
24
};
25
26
struct
bl31_u64_param
{
27
struct
bl31_plat_param
h
;
28
uint64_t
value
;
29
};
30
31
void
params_early_setup
(
void
*ptr);
32
33
#endif
/* __PLAT_PARAMS_H__ */
params_early_setup
void params_early_setup(void *ptr)
PARAM_COREBOOT_TABLE
@ PARAM_COREBOOT_TABLE
Definition:
plat_params.h:12
PARAM_NONE
@ PARAM_NONE
Definition:
plat_params.h:10
PARAM_FDT
@ PARAM_FDT
Definition:
plat_params.h:11
stdint.h
uint64_t
unsigned long long uint64_t
Definition:
stdint.h:17
bl31_fdt_param
Definition:
plat_params.h:21
bl31_fdt_param::fdt_ptr
uint64_t fdt_ptr
Definition:
plat_params.h:23
bl31_fdt_param::h
struct bl31_plat_param h
Definition:
plat_params.h:22
bl31_plat_param
Definition:
plat_params.h:16
bl31_plat_param::next
void * next
Definition:
plat_params.h:18
bl31_plat_param::type
uint64_t type
Definition:
plat_params.h:17
bl31_u64_param
Definition:
plat_params.h:26
bl31_u64_param::h
struct bl31_plat_param h
Definition:
plat_params.h:27
bl31_u64_param::value
uint64_t value
Definition:
plat_params.h:28
src
soc
cavium
cn81xx
include
atf
plat_params.h
Generated by
1.9.1