From 5023b07888935148844de78239f07d6fa371d9e8 Mon Sep 17 00:00:00 2001 From: "Richard J. Knight" Date: Mon, 6 Aug 2012 14:09:37 -0500 Subject: Implement attribute sync from hostboot to fsp RTC: 41245 Change-Id: Icb7eac8cdcc6a9bc4d19bd2e307f352b835f2df9 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1485 Reviewed-by: MIKE J. JONES Tested-by: Jenkins Server Reviewed-by: Richard J. Knight Reviewed-by: A. Patrick Williams III --- src/usr/mbox/mailboxsp.C | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'src/usr/mbox/mailboxsp.C') diff --git a/src/usr/mbox/mailboxsp.C b/src/usr/mbox/mailboxsp.C index 5312e6c16..414c68173 100644 --- a/src/usr/mbox/mailboxsp.C +++ b/src/usr/mbox/mailboxsp.C @@ -1441,5 +1441,24 @@ msg_q_t MBOX::msgq_unregister(queue_id_t i_queue_id) return msgQ; } +bool MBOX::mailbox_enabled() +{ + bool enabled = false; + + TARGETING::Target * sys = NULL; + + TARGETING::targetService().getTopLevelTarget( sys ); + + TARGETING::SpFunctions spfuncs; + + if( sys && + sys->tryGetAttr(spfuncs) && + spfuncs.mailboxEnabled) + { + enabled = true; + } + + return enabled; +} -- cgit v1.2.1