arch: x86: mmu: typo fixes
Typo fixes in functions' documentation. Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
This commit is contained in:
parent
3db09aa610
commit
53f0f277b0
1 changed files with 4 additions and 4 deletions
|
@ -121,7 +121,7 @@ int z_arch_buffer_validate(void *addr, size_t size, int write)
|
||||||
/* loop over all the possible page tables for the
|
/* loop over all the possible page tables for the
|
||||||
* required size. If the pde is not the last one
|
* required size. If the pde is not the last one
|
||||||
* then the last pte would be 511. So each pde
|
* then the last pte would be 511. So each pde
|
||||||
* will be using all the page table entires except
|
* will be using all the page table entries except
|
||||||
* for the last pde. For the last pde, pte is
|
* for the last pde. For the last pde, pte is
|
||||||
* calculated using the last memory address
|
* calculated using the last memory address
|
||||||
* of the buffer.
|
* of the buffer.
|
||||||
|
@ -281,7 +281,7 @@ static inline void x86_mem_domain_pages_update(struct k_mem_domain *mem_domain,
|
||||||
total_partitions = mem_domain->num_partitions;
|
total_partitions = mem_domain->num_partitions;
|
||||||
|
|
||||||
/* Iterate over all the partitions for the given mem_domain
|
/* Iterate over all the partitions for the given mem_domain
|
||||||
* For x86: interate over all the partitions and set the
|
* For x86: iterate over all the partitions and set the
|
||||||
* required flags in the correct MMU page tables.
|
* required flags in the correct MMU page tables.
|
||||||
*/
|
*/
|
||||||
partitions_count = 0U;
|
partitions_count = 0U;
|
||||||
|
@ -321,7 +321,7 @@ void z_arch_mem_domain_destroy(struct k_mem_domain *domain)
|
||||||
x86_mem_domain_pages_update(domain, X86_MEM_DOMAIN_RESET_PAGES);
|
x86_mem_domain_pages_update(domain, X86_MEM_DOMAIN_RESET_PAGES);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Reset/destroy one partition spcified in the argument of the API. */
|
/* Reset/destroy one partition specified in the argument of the API. */
|
||||||
void z_arch_mem_domain_partition_remove(struct k_mem_domain *domain,
|
void z_arch_mem_domain_partition_remove(struct k_mem_domain *domain,
|
||||||
u32_t partition_id)
|
u32_t partition_id)
|
||||||
{
|
{
|
||||||
|
@ -335,7 +335,7 @@ void z_arch_mem_domain_partition_remove(struct k_mem_domain *domain,
|
||||||
z_x86_reset_pages((void *)partition->start, partition->size);
|
z_x86_reset_pages((void *)partition->start, partition->size);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Reset/destroy one partition spcified in the argument of the API. */
|
/* Reset/destroy one partition specified in the argument of the API. */
|
||||||
void _arch_mem_domain_partition_add(struct k_mem_domain *domain,
|
void _arch_mem_domain_partition_add(struct k_mem_domain *domain,
|
||||||
u32_t partition_id)
|
u32_t partition_id)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue