zephyr/arch/x86/core
Andrew Boie 38e17b68e3 x86: paging code rewrite
The x86 paging code has been rewritten to support another paging mode
and non-identity virtual mappings.

 - Paging code now uses an array of paging level characteristics and
   walks tables using for loops. This is opposed to having different
   functions for every paging level and lots of #ifdefs. The code is
   now more concise and adding new paging modes should be trivial.

 - We now support 32-bit, PAE, and IA-32e page tables.

 - The page tables created by gen_mmu.py are now installed at early
   boot. There are no longer separate "flat" page tables. These tables
   are mutable at any time.

 - The x86_mmu code now has a private header. Many definitions that did
   not need to be in public scope have been moved out of mmustructs.h
   and either placed in the C file or in the private header.

 - Improvements to dumping page table information, with the physical
   mapping and flags all shown

 - arch_mem_map() implemented

 - x86 userspace/memory domain code ported to use the new
   infrastructure.

 - add logic for physical -> virtual instruction pointer transition,
   including cleaning up identity mappings after this takes place.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2020-08-25 15:49:59 -04:00
..
ia32 x86: paging code rewrite 2020-08-25 15:49:59 -04:00
intel64 x86: paging code rewrite 2020-08-25 15:49:59 -04:00
offsets x86: paging code rewrite 2020-08-25 15:49:59 -04:00
acpi.c arch/x86: Add z_acpi_find_table(), MCFG support 2020-06-23 13:07:39 +02:00
CMakeLists.txt cmake: remove _if_kconfig() functions 2020-08-01 12:35:20 +02:00
common.S arch/x86: factor out common assembly startup code 2019-10-07 19:46:55 -04:00
cpuhalt.c tracing: move headers under include/tracing 2020-02-07 15:58:05 -05:00
early_serial.c x86: early_serial: use device_map() 2020-07-17 11:38:18 +02:00
fatal.c x86: paging code rewrite 2020-08-25 15:49:59 -04:00
ia32.cmake coredump: add support for x86 and x86_64 2020-08-24 20:28:24 -04:00
intel64.cmake coredump: add support for x86 and x86_64 2020-08-24 20:28:24 -04:00
Kconfig.ia32 x86: paging code rewrite 2020-08-25 15:49:59 -04:00
Kconfig.intel64 kernel: remove unused offload workqueue option 2020-04-12 18:42:27 -04:00
memmap.c x86: Rework rework x86 related code to use new DTS macros 2020-04-30 08:37:18 -05:00
multiboot.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
pcie.c x86: pcie: use device_map() for MMIO config access 2020-07-17 11:38:18 +02:00
prep_c.c x86: paging code rewrite 2020-08-25 15:49:59 -04:00
reboot_rst_cnt.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
spec_ctrl.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
userspace.c x86: paging code rewrite 2020-08-25 15:49:59 -04:00
x86_mmu.c x86: paging code rewrite 2020-08-25 15:49:59 -04:00