zephyr/scripts
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
..
basic scripts: Update fixdep from kernel.org 2016-10-31 20:58:57 +00:00
ci tests: run modified tests with full coverage 2017-07-28 17:03:04 -04:00
cross_compiler xtools: add new configurations for xtools 1.23 2017-05-31 14:54:34 -04:00
gitlint gitlint: Ignore signed-off-by line 2017-06-06 09:35:50 -04:00
kconfig build: support building host tools 2017-04-25 22:48:23 +00:00
sanity_chk sanitycheck: support testcases in yaml instead of ini 2017-06-21 20:56:53 -04:00
support scripts: pyocd.sh: Add support for passing board_id to pyocd commands 2017-06-23 15:05:10 -05:00
.gitignore expr_parser.py: simple expression language 2016-05-04 22:57:39 +00:00
build_grub.sh grub: Tweak build_grub.sh for proxy issues 2016-08-23 13:20:52 +00:00
check_known_checkpatch_issues.sh license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
check_link_map.py check_link_map: fix check for app memory 2017-06-29 07:46:58 -04:00
checkconfig.py scripts: convert helper scripts to python3 2017-06-09 18:52:03 -04:00
checkpatch.pl checkpatch: per coding style, we do not allow c++ style comments 2017-04-28 13:03:33 +00:00
checkstack.pl
compare_footprint scripts: convert helper scripts to python3 2017-06-09 18:52:03 -04:00
config
devicetree.py build: make sure we are calling python3 in all scripts 2017-04-13 20:22:54 +00:00
diffconfig scripts: convert helper scripts to python3 2017-06-09 18:52:03 -04:00
do_checkpatch.sh license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
expr_parser.py expr_parser: fix issue with hex values in environment 2017-04-18 20:51:26 +00:00
extract_dts_includes.py scripts/extract_dts_includes.py: Fix typo in device name list 2017-07-26 11:37:06 -05:00
filter-known-issues.py scripts: Fix string pattern on byte like objects error 2017-07-26 06:54:12 -04:00
gcc-version.sh
gen_gdt.py gen_gdt: properly set descriptor privilege level 2017-08-01 10:10:28 -07:00
gen_idt.py scripts: add version check for pyelftools 2017-07-25 13:41:16 -04:00
gen_mmu.py x86: mmu: add runtime modification indicator 2017-08-03 11:46:26 -04:00
gen_offset_header.py scripts: fix offset.h header guard 2017-08-01 15:05:13 -04:00
get_maintainer.pl MAINTAINERS: replace git pointer to github 2017-04-30 20:10:07 -04:00
headerdep.pl
ini2yaml.py sanitycheck: support testcases in yaml instead of ini 2017-06-21 20:56:53 -04:00
Kbuild.include Kbuild.include: add function for unquoting strings 2017-05-18 07:18:36 -04:00
maintainer-checkpatch.bash license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
make-ll license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Makefile build: Fix distclean for gen_idt 2017-08-01 22:10:22 -04:00
Makefile.build build: support pre-built host tools 2016-11-12 00:34:03 +00:00
Makefile.clean
Makefile.extrawarn
Makefile.headersinst
Makefile.help
Makefile.host
Makefile.lib build: allow user to specify DTC_OVERLAY_FILE directly 2017-07-31 09:21:46 -05:00
Makefile.modbuiltin
Makefile.qemu samples: net Documented QEMU_INSTANCE usage 2017-06-29 07:20:46 -04:00
Makefile.toolchain.espressif Support for Espressif SDK (ESP32, etc) 2017-06-21 12:35:49 -04:00
Makefile.toolchain.gccarmemb toolchain.gccarmemb: Fix support for where to find newlib 2017-06-08 14:52:49 -04:00
Makefile.toolchain.issm toolchains: add DTC to environment 2017-06-23 13:10:52 -05:00
Makefile.toolchain.riscv32 scripts: added Makefile to handle an external riscv32 toolchain 2017-01-13 19:52:22 +00:00
Makefile.toolchain.xcc xtensa: fix 'make debug' for xt-sim targets 2017-06-12 18:01:13 -04:00
Makefile.toolchain.xtools toolchains: add DTC to environment 2017-06-23 13:10:52 -05:00
Makefile.toolchain.zephyr Makefile.toolchain.zephyr: fix C++ on Xtensa 2017-06-06 20:37:11 -04:00
Makefile.xt-run emulation: fix path of ELF binary when running with xt-sim 2017-05-11 16:51:56 -04:00
Makefile.xtsc-run xtensa: build similar to other Zephyr arches 2017-04-13 12:42:06 +00:00
mkmakefile
mksysmap
qemu-machine-hack.py build: make sure we are calling python3 in all scripts 2017-04-13 20:22:54 +00:00
requirements.txt doc: add python pip requirements.txt 2017-07-22 14:04:20 -04:00
sanitycheck sanitycheck: support feature classes for boards 2017-08-02 07:31:22 -04:00
size_report scripts: Fix size_report to use correct objdump and nm 2017-07-13 14:27:49 -05:00
spelling.txt scripts: updated spelling.txt file 2017-07-14 12:57:40 +03:00
tags.sh
timestamp license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
uncrustify.cfg scripts: add configuration file for uncrustify 2017-02-04 01:46:29 +00:00
vercomp sdk: zephyr: check for minimum required version of SDK 2016-09-15 21:17:02 +00:00
waitpid sanitycheck: Let waitpid script kill Xtensa ISS if user hits ctrl+c. 2017-04-11 16:53:41 +00:00