summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSughosh Ganu <[email protected]>2024-10-15 21:07:04 +0530
committerTom Rini <[email protected]>2024-10-15 13:45:29 -0600
commit3c6896ad2fb876b0a23202f62a83c0d44380c9ea (patch)
tree1f1fefbbbf188c8f45ad221910764310cc73fd8f /include
parentc8a8f0196bdb068f07a5565bf4ce5f43f5003f6e (diff)
lmb: add a flag to allow suppressing memory map change notification
Add a flag LMB_NONOTIFY that can be passed to the LMB API's for reserving memory. This will then result in no notification being sent from the LMB module for the changes to the LMB's memory map. While here, also add a description of the memory attributes that the flags signify. Signed-off-by: Sughosh Ganu <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/lmb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/lmb.h b/include/lmb.h
index 0e8426f4379..ec477c1f51d 100644
--- a/include/lmb.h
+++ b/include/lmb.h
@@ -18,11 +18,14 @@
* enum lmb_flags - definition of memory region attributes
* @LMB_NONE: no special request
* @LMB_NOMAP: don't add to mmu configuration
+ * @LMB_NOOVERWRITE: the memory region cannot be overwritten/re-reserved
+ * @LMB_NONOTIFY: do not notify other modules of changes to this memory region
*/
enum lmb_flags {
LMB_NONE = 0,
LMB_NOMAP = BIT(1),
LMB_NOOVERWRITE = BIT(2),
+ LMB_NONOTIFY = BIT(3),
};
/**