aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAnanth N Mavinakayanahalli <ananth@in.ibm.com>2015-02-19 15:38:17 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-02-23 13:32:00 +1100
commit4db0c1e4f67474e1af7e9a391598d2a776485edd (patch)
tree07ac0cc5599d90b8adf66b0de6ee4f7f9ce8115a /include
parent7b75c5832f55921294d1083d3083feb8ecbeb0e4 (diff)
downloadskiboot-4db0c1e4f67474e1af7e9a391598d2a776485edd.zip
skiboot-4db0c1e4f67474e1af7e9a391598d2a776485edd.tar.gz
skiboot-4db0c1e4f67474e1af7e9a391598d2a776485edd.tar.bz2
OCC/hostservices: Queue pre-preload HBRT lid load requests
There is no guarantee that a hostservices lid load request will arrive after we have cached the required lids. For such cases, queue the request and service them after caching. Signed-off-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/hostservices.h1
-rw-r--r--include/skiboot.h3
2 files changed, 4 insertions, 0 deletions
diff --git a/include/hostservices.h b/include/hostservices.h
index c8958a3..e85abc3 100644
--- a/include/hostservices.h
+++ b/include/hostservices.h
@@ -19,6 +19,7 @@
bool hservices_init(void);
void hservices_lid_preload(void);
+bool hservices_lid_preload_complete(void);
int host_services_occ_load(void);
int host_services_occ_start(void);
diff --git a/include/skiboot.h b/include/skiboot.h
index a13b438..d20a9a2 100644
--- a/include/skiboot.h
+++ b/include/skiboot.h
@@ -215,6 +215,9 @@ extern void uart_setup_opal_console(void);
extern void occ_interrupt(uint32_t chip_id);
extern void occ_send_dummy_interrupt(void);
+/* OCC load support */
+extern void occ_poke_load_queue(void);
+
/* Flatten device-tree */
extern void *create_dtb(const struct dt_node *root);