We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85f93bd commit 2ee7f5dCopy full SHA for 2ee7f5d
include/sys/arch_interface.h
@@ -578,6 +578,8 @@ void arch_mem_domain_destroy(struct k_mem_domain *domain);
578
* if the supplied memory buffer spans multiple enabled memory management
579
* regions (even if all such regions permit user access).
580
*
581
+ * @warning 0 size buffer has undefined behavior.
582
+ *
583
* @param addr start address of the buffer
584
* @param size the size of the buffer
585
* @param write If nonzero, additionally check if the area is writable.
0 commit comments