Commit 419f90c
committed
mem: use Zephyr's macro for virtual memory regions iteration
Zephyr provides a special macro, SYS_MM_DRV_MEMORY_REGION_FOREACH
for iteration through all memory regions.
This commit use this macro instead of a for loop that requires
information about number of virtual memory regions provided
by Zephyr.
Signed-off-by: Marcin Szkudlinski <marcin.szkudlinski@intel.com>1 parent f7d9991 commit 419f90c
1 file changed
+4
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
64 | 65 | | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
71 | 69 | | |
72 | 70 | | |
73 | 71 | | |
74 | | - | |
75 | 72 | | |
76 | 73 | | |
77 | 74 | | |
| |||
0 commit comments