From 10df96d0bf6378f2d6ede7bfb27f21af41c309d5 Mon Sep 17 00:00:00 2001 From: Wael El-Essawy Date: Fri, 20 Nov 2015 13:47:12 -0600 Subject: OCC GPE0: Core Data Collection infrastructure in GPE0 Create IPC function for core data collection return dummy data at this point to allow 405 to schedule and "use" data back. Change-Id: I520e9333fa25e37127d6af693ad6f21da3431939 RTC: 131183 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/22247 Reviewed-by: Fadi Kassem Reviewed-by: Wael Elessawy Tested-by: Fadi Kassem --- src/occ_405/proc/proc_data.c | 8 ++++---- src/occ_405/proc/proc_data.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/occ_405/proc') diff --git a/src/occ_405/proc/proc_data.c b/src/occ_405/proc/proc_data.c index a364f18..8a33131 100755 --- a/src/occ_405/proc/proc_data.c +++ b/src/occ_405/proc/proc_data.c @@ -352,7 +352,7 @@ void proc_core_init( void ) //Initializes the GpeRequest object for low core data collection l_rc = gpe_request_create(&G_low_cores.gpe_req, // GpeRequest for the task &G_async_gpe_queue0, // Queue - IPC_ST_CORE_DATA_LOW_FUNCID, // Function ID + IPC_ST_GET_CORE_DATA_FUNCID, // Function ID &G_low_cores_data_parms, // Task parameters SSX_WAIT_FOREVER, // Timeout (none) NULL, // Callback @@ -389,10 +389,10 @@ void proc_core_init( void ) } //Initializes high cores data GpeRequest object - l_rc = gpe_request_create(&G_high_cores.gpe_req, // GpeRequest for the task + l_rc = gpe_request_create(&G_high_cores.gpe_req, // GpeRequest for the task &G_async_gpe_queue0, // Queue - IPC_ST_CORE_DATA_HIGH_FUNCID, // Function ID - &G_high_cores_data_parms, // Task parameters + IPC_ST_GET_CORE_DATA_FUNCID, // Function ID + &G_high_cores_data_parms, // Task parameters SSX_WAIT_FOREVER, // Timeout (none) NULL, // Callback NULL, // Callback arguments diff --git a/src/occ_405/proc/proc_data.h b/src/occ_405/proc/proc_data.h index ad404a7..60bc38b 100755 --- a/src/occ_405/proc/proc_data.h +++ b/src/occ_405/proc/proc_data.h @@ -29,7 +29,7 @@ #include #include #include "rtls.h" -#include "core_data.h" +#include "proc_shared.h" //Returns 0 if the specified core is not present. Otherwise, returns none-zero. #define CORE_PRESENT(occ_core_id) \ -- cgit v1.2.1