zephyr/include/linker
Simon Glass 302d671ea2 emul: Create an emulation implementation
Create a header file and implementation for emulators. Set up a linker
list so that emulators can be found and initialised at start-up.

Emulators are used to emulate hardware devices, to support testing of
various subsystems. For example, it is possible to write an emulator
for an I2C compass such that it appears on the I2C bus and can be used
just like a real hardware device.

Emulators often implement special features for testing. For example a
compass may support returning bogus data if the I2C bus speed is too
high, or may return invalid measurements if calibration has not yet
been completed. This allows for testing that high-level code can
handle these situations correctly. Test coverage can therefore
approach 100% if all failure conditions are emulated.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
Signed-off-by: Simon Glass <sjg@chromium.org>
2020-09-01 14:30:46 -04:00
..
app_smem.ld license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
app_smem_aligned.ld license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
app_smem_unaligned.ld license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
common-noinit.ld kernel: introduce supervisor-only stacks 2020-07-30 21:11:14 -04:00
common-ram.ld net: Use section foreach macros 2020-07-20 08:32:46 -07:00
common-rom.ld emul: Create an emulation implementation 2020-09-01 14:30:46 -04:00
cplusplus-ram.ld linker: cxx: Include .gcc_except_table sections 2019-09-19 09:26:42 -05:00
cplusplus-rom.ld linker: cxx: Include .gcc_except_table sections 2019-09-19 09:26:42 -05:00
debug-sections.ld license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
intlist.ld zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
kobject-rom.ld kernel: introduce object validation mechanism 2017-09-07 16:33:33 -07:00
kobject-text.ld linker: kobject-text.ld: avoid backwards location counter 2019-05-23 06:59:14 -04:00
kobject.ld kernel: delete separate logic for priv stacks 2020-03-17 20:11:27 +02:00
linker-defs.h kernel: introduce supervisor-only stacks 2020-07-30 21:11:14 -04:00
linker-tool-gcc.h arch: arm64: Support aarch64-gcc compiler 2020-02-01 08:08:43 -05:00
linker-tool.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
rel-sections.ld license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
section_tags.h linker: Clean up section name definitions 2020-04-30 13:42:36 -04:00
sections.h linker: Clean up section name definitions 2020-04-30 13:42:36 -04:00