1 /* 2 * Copyright (c) 2020, Arm Limited. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 #ifndef FCONF_NT_CONFIG_GETTER_H 8 #define FCONF_NT_CONFIG_GETTER_H 9 10 #include <lib/fconf/fconf.h> 11 12 /* NT Firmware Config related getter */ 13 #define nt_config__event_log_config_getter(prop) event_log.prop 14 15 struct event_log_config_t { 16 #ifdef SPD_opteed 17 void *tpm_event_log_sm_addr; 18 #endif 19 void *tpm_event_log_addr; 20 size_t tpm_event_log_size; 21 }; 22 23 int fconf_populate_event_log_config(uintptr_t config); 24 25 extern struct event_log_config_t event_log_config; 26 27 #endif /* FCONF_NT_CONFIG_GETTER_H */ 28