kernel: mm: rename Z_PHYS_RAM_* to K_MEM_PHYS_*
Renames: Z_PHYS_RAM_START to K_MEM_PHYS_RAM_START Z_PHYS_RAM_SIZE to K_MEM_PHYS_RAM_SIZE Z_PHYS_RAM_END to K_MEM_PHYS_RAM_END This is part of a series to move memory management related stuff from Z_ namespace into its own namespace. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
parent
b6f951b99e
commit
3fd66de508
3 changed files with 21 additions and 13 deletions
|
@ -197,7 +197,8 @@ ZTEST(x86_pagetables, test_ram_perms)
|
|||
/* All RAM page frame entries aside from 0x0 must have a mapping.
|
||||
* We currently identity-map on x86, no conversion necessary other than a cast
|
||||
*/
|
||||
for (pos = (uint8_t *)Z_PHYS_RAM_START; pos < (uint8_t *)Z_PHYS_RAM_END;
|
||||
for (pos = (uint8_t *)K_MEM_PHYS_RAM_START;
|
||||
pos < (uint8_t *)K_MEM_PHYS_RAM_END;
|
||||
pos += CONFIG_MMU_PAGE_SIZE) {
|
||||
if (pos == NULL) {
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue