summaryrefslogtreecommitdiff
path: root/src/include/memrange.h
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2020-05-06 13:20:13 -0700
committerPatrick Georgi <pgeorgi@google.com>2020-05-08 15:29:03 +0000
commit8211bde9c2a2cf80b82573df6122ca4dd3c764cf (patch)
tree8699c77494e540d42804d36268285e322c0d3561 /src/include/memrange.h
parent1efa7d90933e64e309c79fe1f9aa3f3033930e0e (diff)
memrange: Update comment to indicate limit is inclusive for memranges_next_entry
This change updates the comment for memranges_next_entry() to indicate that the limit provided by the caller is inclusive. Change-Id: Id40263efcb9417ed31c130996e56c30dbbc82e02 Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41103 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/include/memrange.h')
-rw-r--r--src/include/memrange.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/memrange.h b/src/include/memrange.h
index deb8c1e5de..83e3826f2c 100644
--- a/src/include/memrange.h
+++ b/src/include/memrange.h
@@ -162,7 +162,7 @@ struct range_entry *memranges_next_entry(struct memranges *ranges,
const struct range_entry *r);
/* Steals memory from the available list in given ranges as per the constraints:
- * limit = Upper bound for the memory range to steal.
+ * limit = Upper bound for the memory range to steal (Inclusive).
* size = Requested size for the stolen memory.
* align = Required alignment(log 2) for the starting address of the stolen memory.
* tag = Use a range that matches the given tag.