summaryrefslogtreecommitdiffstats
path: root/src/occ_405/proc/proc_data.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/occ_405/proc/proc_data.h')
-rwxr-xr-xsrc/occ_405/proc/proc_data.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/occ_405/proc/proc_data.h b/src/occ_405/proc/proc_data.h
index f8b7870..afabbb1 100755
--- a/src/occ_405/proc/proc_data.h
+++ b/src/occ_405/proc/proc_data.h
@@ -46,6 +46,10 @@
#define THREADS_PER_CORE 4
+// A dts should be considered invalid if it is returning a negative reading the dts reading is
+// actually only 8 bits (not 12 as the structure has) the signed bit is msb of the 8 bit reading
+#define DTS_INVALID_MASK 0x80
+
#define NUM_CORE_DATA_BUFF 7
#define NUM_CORE_DATA_DOUBLE_BUF 2
#define NUM_CORE_DATA_EMPTY_BUF 1
OpenPOWER on IntegriCloud