Skip to content
Snippets Groups Projects

Introduce CMN Booker and TC0 platform

Closed Darryl Green requested to merge github/fork/uarif1/master into master
Compare and
69 files
+ 5572
0
Compare changes
  • Side-by-side
  • Inline
Files
69
/*
* Arm SCP/MCP Software
* Copyright (c) 2020, Arm Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*
* Description:
* CMN_BOOKER Context structure Interface
*/
#ifndef INTERNAL_CMN_BOOKER_CTX_H
#define INTERNAL_CMN_BOOKER_CTX_H
#include <cmn_booker.h>
#include <mod_cmn_booker.h>
#include <stdbool.h>
#include <stdint.h>
static struct cmn_booker_ctx {
const struct mod_cmn_booker_config *config;
struct cmn_booker_cfgm_reg *root;
/* Number of HN-F (system cache) nodes in the system */
unsigned int hnf_count;
uint64_t *hnf_cache_group;
uint64_t *sn_nodeid_group;
/*
* External RN-SAMs. The driver keeps a list of tuples (node identifier and
* node pointers). The configuration of these nodes is via the SAM API.
*/
unsigned int external_rnsam_count;
struct external_rnsam_tuple *external_rnsam_table;
/*
* Internal RN-SAMs. The driver keeps a list of RN-SAM pointers to
* configure them once the system has been fully discovered and all
* parameters are known
*/
unsigned int internal_rnsam_count;
struct cmn_booker_rnsam_reg **internal_rnsam_table;
bool initialized;
} *ctx;
#endif /* INTERNAL_CMN600_CTX_H */