aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorOliver O'Halloran <oohall@gmail.com>2017-05-24 16:00:51 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-05-26 15:55:23 +1000
commit0039819f46e71a2f549b7a418dc5440fb04156b6 (patch)
tree9048028e0c48f409b8e7ff53232cc3a07cad4f6c /include
parentc873cc7bc58b05f1aa4554f6338f430169efa1db (diff)
downloadskiboot-0039819f46e71a2f549b7a418dc5440fb04156b6.zip
skiboot-0039819f46e71a2f549b7a418dc5440fb04156b6.tar.gz
skiboot-0039819f46e71a2f549b7a418dc5440fb04156b6.tar.bz2
mem_region: rename HW_RESERVE to FW_RESERVE
Currently all existing reservations are made by hostboot itself or on behalf of some other part of system firmware (e.g. the OCCs). We want to add a "true" hardware reservation type that should not be touched by the host OS. To prepare for that this patch renames the existing reservation type to refect it's actual usage. Signed-off-by: Oliver O'Halloran <oohall@gmail.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/mem_region.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mem_region.h b/include/mem_region.h
index c34858e..8a6bf40 100644
--- a/include/mem_region.h
+++ b/include/mem_region.h
@@ -32,7 +32,7 @@ enum mem_region_type {
REGION_SKIBOOT_FIRMWARE,
/* ranges reserved before skiboot init, eg HBRT memory */
- REGION_HW_RESERVED,
+ REGION_FW_RESERVED,
/* ranges reserved, eg HW framebuffer */
REGION_RESERVED,
@@ -73,7 +73,7 @@ void adjust_cpu_stacks_alloc(void);
void mem_region_add_dt_reserved(void);
/* Mark memory as reserved */
-void mem_reserve_hw(const char *name, uint64_t start, uint64_t len);
+void mem_reserve_fw(const char *name, uint64_t start, uint64_t len);
struct mem_region *find_mem_region(const char *name);