aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2015-05-19 17:05:38 +0800
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-05-21 15:03:35 +1000
commitf7b322e049bcf599511af475be340e86b3049001 (patch)
tree390f8de392be80f50af02274a416bd061e793b5d /include
parenta88495a1439ff20345870a82565658249be55d23 (diff)
downloadskiboot-f7b322e049bcf599511af475be340e86b3049001.zip
skiboot-f7b322e049bcf599511af475be340e86b3049001.tar.gz
skiboot-f7b322e049bcf599511af475be340e86b3049001.tar.bz2
hw/prd: Expose prd ranges via device tree
Currently, the prd reserved ranges are present in the reserved-ranges nodes in the device tree. While this works, it's difficult to filter the actual PRD ranges from general reserved memory. This change links the prd ranges into the /reserved-memory nodes, by adding ibm,prd-label properties to those used for PRD. This change adds a prd node to the ibm,opal node too, to giver kernel & userspace information about the prd infrastructure provided by OPAL. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/skiboot.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/skiboot.h b/include/skiboot.h
index 50f4937..163cc23 100644
--- a/include/skiboot.h
+++ b/include/skiboot.h
@@ -236,6 +236,7 @@ extern void prd_psi_interrupt(uint32_t proc);
extern void prd_tmgt_interrupt(uint32_t proc);
extern void prd_occ_reset(uint32_t proc);
extern void prd_init(void);
+extern void prd_register_reserved_memory(void);
/* Flatten device-tree */
extern void *create_dtb(const struct dt_node *root);