|
Zephyr API Documentation 4.1.99
A Scalable Open Source RTOS
|
x86-specific tests for MMU features and page tables More...
#include <zephyr/kernel.h>#include <zephyr/ztest.h>#include <zephyr/tc_util.h>#include <zephyr/arch/x86/mmustructs.h>#include <x86_mmu.h>#include <zephyr/linker/linker-defs.h>#include <mmu.h>#include "main.h"#include <zephyr/sys/libc-hooks.h>#include <zephyr/syscalls/dump_my_ptables_mrsh.c>Macros | |
| #define | PT_LEVEL 1 |
| #define | FLAGS_MASK |
| #define | LPTR(name, suffix) |
| #define | LSIZE(name, suffix) |
| #define | IN_REGION(name, virt) |
Functions | |
| static pentry_t | get_entry (pentry_t *flags, void *addr) |
| void | test_ram_perms (void) |
| Test that MMU flags on RAM virtual address range are set properly. | |
| void | test_null_map (void) |
| Test that the NULL virtual page is always non-present. | |
| void | dump_pagetables (void) |
| void | test_dump_ptables_user (void) |
| Dump kernel's page tables to console. | |
| void | test_dump_ptables (void) |
| ZTEST_SUITE (x86_pagetables, NULL, NULL, NULL, NULL, NULL) | |
x86-specific tests for MMU features and page tables
| #define FLAGS_MASK |
| #define IN_REGION | ( | name, | |
| virt ) |
| #define LPTR | ( | name, | |
| suffix ) |
| #define LSIZE | ( | name, | |
| suffix ) |
| #define PT_LEVEL 1 |
| void dump_pagetables | ( | void | ) |
| void test_dump_ptables | ( | void | ) |