Zephyr API Documentation 4.0.0-rc2
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
flash_simulator.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2021 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6#ifndef __ZEPHYR_INCLUDE_DRIVERS__FLASH_SIMULATOR_H__
7#define __ZEPHYR_INCLUDE_DRIVERS__FLASH_SIMULATOR_H__
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
31__syscall void *flash_simulator_get_memory(const struct device *dev,
32 size_t *mock_size);
33#ifdef __cplusplus
34}
35#endif
36
37#include <zephyr/syscalls/flash_simulator.h>
38
39#endif /* __ZEPHYR_INCLUDE_DRIVERS__FLASH_SIMULATOR_H__ */
void * flash_simulator_get_memory(const struct device *dev, size_t *mock_size)
Obtain a pointer to the RAM buffer used but by the simulator.
Runtime device structure (in ROM) per driver instance.
Definition device.h:412