zephyr/arch
Andrew Boie 0f16d98b32 x86: mmu: add runtime modification indicator
The CPU first checks the page directory entry for write
or user permissions on a particular page before looking
at the page table entry.

If a region configured all pages to be non user accessible,
and this was changed for a page within it to be accessible,
the PDE would not be updated and any access would still
return a page fault.

The least amount of runtime logic to deal with this is to
indicate at build time that some pages within a region may
be marked writable or user accessible at runtime, and to
pre-set the flags in the page directory entry accordingly.

The driving need for this is the region configuration for
kernel memory, which will have user permissions set at
runtime for stacks and user-configured memory domains.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2017-08-03 11:46:26 -04:00
..
arc kernel: introduce opaque data type for stacks 2017-08-01 16:43:15 -07:00
arm arch: arm: stm32: f3/f4/l4: write output speed to hardware register 2017-08-02 12:28:11 -05:00
common linker: move all linker headers to include/linker 2017-06-18 09:24:04 -05:00
nios2 kernel: introduce opaque data type for stacks 2017-08-01 16:43:15 -07:00
riscv32 kernel: introduce opaque data type for stacks 2017-08-01 16:43:15 -07:00
x86 x86: mmu: add runtime modification indicator 2017-08-03 11:46:26 -04:00
xtensa kernel: introduce opaque data type for stacks 2017-08-01 16:43:15 -07:00
Kconfig spell: Kconfig help typos: /arch 2017-04-24 20:14:53 +00:00
Makefile gen_isr_tables: New static interrupt build mechanism 2017-02-11 01:27:58 +00:00