genode/repos/base-hw/src/core/spec/x86_64
Stefan Kalkowski f842c92ee1 hw: correct the ARM cache maintainance operations
This commit fixes the following issues regarding cache maintainance
under ARM:

* read out I-, and D-cache line size at runtime and use the correct one
* remove 'update_data_region' call from unprivileged syscalls
* rename 'update_instr_region' syscall to 'cache_coherent_region' to
  reflect what it doing, namely make I-, and D-cache coherent
* restrict 'cache_coherent_region' syscall to one page at a time
* lookup the region given in a 'cache_coherent_region' syscall in the
  page-table of the PD to prevent machine exceptions in the kernel
* only clean D-cache lines, do not invalidate them when pages where
  added on Cortex-A8 and ARMv6 (MMU sees phys. memory here)
* remove unused code relicts of cache maintainance

In addition it introduces per architecture memory clearance functions
used by core, when preparing new dataspaces. Thereby, it optimizes:

* on ARMv7 using per-word assignments
* on ARMv8 using cacheline zeroing
* on x86_64 using 'rept stosq' assembler instruction

Fix #3685
2020-03-11 15:43:02 +01:00
..
kernel hw: correct the ARM cache maintainance operations 2020-03-11 15:43:02 +01:00
muen base-hw/muen: add explicit array-bounds check 2020-02-04 15:51:08 +01:00
bios_data_area.cc Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
board.h hw: move timer into board.h 2019-08-13 12:02:26 +02:00
cpu.cc hw: correct the ARM cache maintainance operations 2020-03-11 15:43:02 +01:00
cpu.h hw: correct the ARM cache maintainance operations 2020-03-11 15:43:02 +01:00
crt0.s hw/x86: enable SMP support 2018-08-28 16:48:44 +02:00
exception_vector.s hw: eager FPU switching for x86_64 2019-05-27 14:53:32 +02:00
fpu.h hw: eager FPU switching for x86_64 2019-05-27 14:53:32 +02:00
pic.cc hw: add system call for irq mode setting 2019-08-21 13:25:25 +02:00
pic.h base-hw: explicit bounds check in store_apic_id 2020-02-04 15:51:08 +01:00
pit.cc hw: instantiate pic object per cpu 2019-11-19 14:42:22 +01:00
pit.h hw: move timer into board.h 2019-08-13 12:02:26 +02:00
platform_support_common.cc Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
platform_support.cc hw: add system call for irq mode setting 2019-08-21 13:25:25 +02:00
port_io.h hw: remove core internal header directories 2017-05-31 13:15:52 +02:00
translation_table.h hw: do not change x86 paging attributes on fly 2017-11-09 12:18:44 +01:00