Skip to content

Commit

Permalink
neoverse-rd: define system counter impdef registers
Browse files Browse the repository at this point in the history
The system counter implementation specific registers are similar for
RD-N2 and RD-Fremont platforms. So add common file that defines the
impdef register offsets in the system counter register frame.

Signed-off-by: Thomas Abraham <[email protected]>
Change-Id: I5424f5d36c3099ec3f8a7876cdb697c3affeac8c
  • Loading branch information
Thomas Abraham committed Jan 28, 2024
1 parent e083ee6 commit d997fcb
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions product/neoverse-rd/common/include/syscnt_impdef.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/*
* Arm SCP/MCP Software
* Copyright (c) 2024, Arm Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*
* Description:
* System counter implementation specific register defnitions.
*/

#ifndef NEOVERSE_RD_SYSCNT_IMPDEF_H
#define NEOVERSE_RD_SYSCNT_IMPDEF_H

/*
* Offsets of the system counter implementation defined registers found on
* RD-N2, RD-Fremont platforms and their variants.
*/
#define NEOVERSE_RD_SYSCNT_IMPDEF0_CNTENCR 0xC0
#define NEOVERSE_RD_SYSCNT_IMPDEF0_CNTSAMPVAL_L 0xC8
#define NEOVERSE_RD_SYSCNT_IMPDEF0_CNTSAMPVAL_H 0xCC
#define NEOVERSE_RD_SYSCNT_IMPDEF0_CNTINCR 0xD0

#endif /* NEOVERSE_RD_SYSCNT_IMPDEF_H */

0 comments on commit d997fcb

Please sign in to comment.