diff options
author | Wael El-Essawy <welessa@us.ibm.com> | 2015-11-20 13:47:12 -0600 |
---|---|---|
committer | Fadi Kassem <fmkassem@us.ibm.com> | 2015-11-23 11:48:41 -0600 |
commit | 10df96d0bf6378f2d6ede7bfb27f21af41c309d5 (patch) | |
tree | e38962d646e7b8949a04c9f07ef7266d9c526f7b /src/occ_405/proc | |
parent | 76a5df9bf306d9dc446db4b395012770b4dd1c28 (diff) | |
download | talos-occ-10df96d0bf6378f2d6ede7bfb27f21af41c309d5.tar.gz talos-occ-10df96d0bf6378f2d6ede7bfb27f21af41c309d5.zip |
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 <fmkassem@us.ibm.com>
Reviewed-by: Wael Elessawy <welessa@us.ibm.com>
Tested-by: Fadi Kassem <fmkassem@us.ibm.com>
Diffstat (limited to 'src/occ_405/proc')
-rwxr-xr-x | src/occ_405/proc/proc_data.c | 8 | ||||
-rwxr-xr-x | src/occ_405/proc/proc_data.h | 2 |
2 files changed, 5 insertions, 5 deletions
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 <occ_common.h> #include <ssx.h> #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) \ |