summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/usr/hwpf/fapi/fapiAttributeTank.H12
-rw-r--r--src/include/usr/mbox/mbox_queues.H4
2 files changed, 13 insertions, 3 deletions
diff --git a/src/include/usr/hwpf/fapi/fapiAttributeTank.H b/src/include/usr/hwpf/fapi/fapiAttributeTank.H
index 1a666e8cf..a353c5e3f 100644
--- a/src/include/usr/hwpf/fapi/fapiAttributeTank.H
+++ b/src/include/usr/hwpf/fapi/fapiAttributeTank.H
@@ -73,6 +73,11 @@ const uint8_t ATTR_ARRAYD_NA = 0xff; // iv_arrayDX not applicable
*/
struct Attribute
{
+ /**
+ * @brief Constructor initializes default values
+ */
+ Attribute();
+
uint64_t iv_val; // Value of attribute.
uint32_t iv_attrId; // fapi::AttributeId enum value
uint32_t iv_targetType; // fapi::TargetType enum value
@@ -98,6 +103,11 @@ struct AttributeChunk
static const size_t MAX_CHUNK_SIZE_BYTES = 4096;
static const size_t MAX_ATTRS_PER_CHUNK =
MAX_CHUNK_SIZE_BYTES / sizeof(Attribute);
+
+ /**
+ * @brief Constructor initializes default values
+ */
+ AttributeChunk();
size_t iv_numAttributes; // Number of Attributes in chunk
uint8_t * iv_pAttributes; // Pointer to chunk of memory
};
@@ -227,7 +237,7 @@ public:
* or delete[] (if NEW) each chunk's memory
*/
virtual void getAllAttributes(
- AllocType i_allocType,
+ const AllocType i_allocType,
std::vector<AttributeChunk> & o_attributes) const;
/**
diff --git a/src/include/usr/mbox/mbox_queues.H b/src/include/usr/mbox/mbox_queues.H
index 65c5265d5..bb8b9e2b3 100644
--- a/src/include/usr/mbox/mbox_queues.H
+++ b/src/include/usr/mbox/mbox_queues.H
@@ -44,7 +44,7 @@ namespace MBOX
HB_ISTEP_MSGQ = 2,
HB_ATTR_SYNC_MSGQ = 3,
HB_ERROR_MSGQ = 4,
- HB_HWPF_ATTR_MSGQ = 5, // HWPF Attribute override/sync
+ HB_HWPF_ATTR_MSGQ = 6, // HWPF Attribute override/sync
// Add HB services here:
HB_TEST_MSGQ = 0x7FFFFFFF,
@@ -57,7 +57,7 @@ namespace MBOX
FSP_ERROR_MSGQ = 0x80000004,
IPL_SERVICE_QUEUE = 0x80000008, // Defined by Fsp team
FSP_ATTR_SYNC_MSGQ = 0x80000009,
- FSP_HWPF_ATTR_MSGQ = 0x8000000a, // HWPF Attribute override/sync
+ FSP_HWPF_ATTR_MSGQ = 0x8000000b, // HWPF Attribute override/sync
// Add FSP services here:
FSP_ECHO_MSGQ = 0xFFFFFFFF, // Fake FSP for test
};
OpenPOWER on IntegriCloud