summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/occ_gpe1/gpe1_24x7.c5
-rwxr-xr-xsrc/occ_gpe1/gpe1_24x7.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/src/occ_gpe1/gpe1_24x7.c b/src/occ_gpe1/gpe1_24x7.c
index 42d6b28..a1daf96 100644
--- a/src/occ_gpe1/gpe1_24x7.c
+++ b/src/occ_gpe1/gpe1_24x7.c
@@ -86,6 +86,7 @@ void gpe_24x7(ipc_msg_t* cmd, void* arg)
static volatile uint64_t* L_mode = (uint64_t*) (CNTL_MODE_OFFSET | PBA_ENABLE);
//
static volatile uint64_t* L_tics_exceded = (uint64_t*) (DBG_TICS_OFFSET | PBA_ENABLE);
+ static volatile uint64_t* L_marker = (uint64_t*) (DBG_MARK | PBA_ENABLE);
args->error.error = 0; // default success
args->error.ffdc = 0;
@@ -173,6 +174,10 @@ void gpe_24x7(ipc_msg_t* cmd, void* arg)
L_configure = true;
L_cur_speed = *L_speed;
G_CUR_UAV = *L_uav;
+//SW399904 patch until HWP output for UAV is debugged.
+ G_CUR_UAV = CNTL_UAV_TEMP;
+ *L_marker = MARKER;
+//
set_speed(&L_cur_speed,&L_CUR_DELAY,L_status);
//set the state to 1 if reconfig is required. config scoms are split across multiple states starting from 1.
L_current_state = 1;
diff --git a/src/occ_gpe1/gpe1_24x7.h b/src/occ_gpe1/gpe1_24x7.h
index ddfb300..02d1c04 100755
--- a/src/occ_gpe1/gpe1_24x7.h
+++ b/src/occ_gpe1/gpe1_24x7.h
@@ -408,6 +408,7 @@ enum
DBG_GRP_OFFSET = 0x001BFC50,
DBG_UNIT_OFFSET = 0x001BFC58,
DBG_TICS_OFFSET = 0x001BFC60,
+ DBG_MARK = 0x001BFC68,
//////////////////////////////////////////////////
//cntl status values
CNTL_STATUS_INIT = 0x0,
@@ -436,6 +437,7 @@ enum
//cntl cmd uav temp
//CNTL_UAV_TEMP = 0xFFFF807000000000,
CNTL_UAV_TEMP = 0x8000007000000000,
+ MARKER = 0xCAFEBABEFA11DEAD,
//cntl block modes
CNTL_MODE_MONITOR = 0x0
};
OpenPOWER on IntegriCloud