diff options
author | Richard Spiegel <richard.spiegel@amd.corp-partner.google.com> | 2018-08-27 14:54:24 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-08-28 14:17:10 +0000 |
commit | 90b3149deb60638fa570920e2862e03a07502ecb (patch) | |
tree | c22843c87ecce138610fcf960e03fdf47c5380de /src/vendorcode/amd/pi/00670F00/Proc/IDS/IdsLib.h | |
parent | 328ff7dee02e74d0d4e4107fd58810d0228203b8 (diff) |
vendorcode/amd/pi/00670F00: Transfer TP_Perf_STRUCT to AGESA.h
Google is creating code to measure AGESA performance, which needs structure
TP_Perf_STRUCT and associated definitions. In preparation to remove IDS
headers, move the necessary definitions to AGESA.h.
BUG=b:112885948
TEST=Build grunt
Change-Id: I941a67a8889a9dbf35c9fd511c7f670623204134
Signed-off-by: Richard Spiegel <richard.spiegel@silverbackltd.com>
Reviewed-on: https://review.coreboot.org/28369
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/vendorcode/amd/pi/00670F00/Proc/IDS/IdsLib.h')
-rw-r--r-- | src/vendorcode/amd/pi/00670F00/Proc/IDS/IdsLib.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/vendorcode/amd/pi/00670F00/Proc/IDS/IdsLib.h b/src/vendorcode/amd/pi/00670F00/Proc/IDS/IdsLib.h index d53878f392..167ac6fc7f 100644 --- a/src/vendorcode/amd/pi/00670F00/Proc/IDS/IdsLib.h +++ b/src/vendorcode/amd/pi/00670F00/Proc/IDS/IdsLib.h @@ -45,22 +45,4 @@ #ifndef _IDS_LIB_H_ #define _IDS_LIB_H_ -/// Data Structure of Parameters for TestPoint_TSC. -typedef struct { - UINT32 LineInFile; ///< Line of current time counter - UINT64 Description; ///<Description ID - UINT64 StartTsc; ///< The StartTimer of TestPoint_TSC -} TestPoint_TSC; - -#define RESERVED_TP_NUMER 0x20 -#define MAX_PERFORMANCE_UNIT_NUM (IDS_TP_END - TP_BEGINPROCAMDINITEARLY + 1 + RESERVED_TP_NUMER) -/// Data Structure of Parameters for TP_Perf_STRUCT. -typedef struct { - UINT32 Signature; ///< "PERF" - UINT32 Version; ///< version - UINT32 Index; ///< The Index of TP_Perf_STRUCT - UINT32 TscInMhz; ///< Tsc counter in 1 mhz - TestPoint_TSC TP[MAX_PERFORMANCE_UNIT_NUM]; ///< The TP of TP_Perf_STRUCT -} TP_Perf_STRUCT; - #endif //_IDS_LIB_H_ |