Home
last modified time | relevance | path

Searched +full:read +full:- +full:only (Results 1 – 25 of 1014) sorted by relevance

12345678910>>...41

/Zephyr-Core-3.5.0/include/zephyr/linker/
Diterable_sections.h4 * SPDX-License-Identifier: Apache-2.0
36 * @brief Define a read-only iterable section output.
40 * of equally-sized data structures. For use with STRUCT_SECTION_ITERABLE().
43 * This macro should be used for read-only data.
56 * @brief Define a read-only iterable section output, sorted numerically.
60 * up to 2 numeric digits are handled (0-99).
71 * @brief Define a garbage collectable read-only iterable section output.
75 * of equally-sized data structures. For use with STRUCT_SECTION_ITERABLE().
78 * This macro should be used for read-only data.
89 * @brief Define a read-write iterable section output.
[all …]
Dutils.h4 * SPDX-License-Identifier: Apache-2.0
13 * @brief Check if address is in read only section.
16 * the compiler's default read only sections (e.g. .rodata
22 * @return True if address identified within read only section.
/Zephyr-Core-3.5.0/drivers/flash/
DKconfig.simulator4 # SPDX-License-Identifier: Apache-2.0
18 bool "Allow read access to be unaligned"
22 Disable this option only if you want to simulate
23 a specific FLASH interface that requires aligned read access.
28 …If selected, writing to a non-erased program unit will succeed, otherwise, it will return an error.
29 Keep in mind that write operations can only pull bits to zero, regardless.
37 int "Minimum read time (µS)"
68 Only up to this number of beginning pages will be tracked
/Zephyr-Core-3.5.0/doc/hardware/peripherals/
Deeprom.rst3 Electrically Erasable Programmable Read-Only Memory (EEPROM)
9 The EEPROM API provides read and write access to Electrically Erasable
10 Programmable Read-Only Memory (EEPROM) devices.
13 overwriting data on byte-by-byte access.
/Zephyr-Core-3.5.0/soc/arm/microchip_mec/common/reg/
Dmec_peci.h4 * SPDX-License-Identifier: Apache-2.0
17 /* Read Data register */
35 /* Status 1 register. RW1C and read-only bits. */
42 /* Error is read-only */
45 /* Ready is read-only */
52 /* MINT is read-only */
56 /* Status 2 register. Read-only bits. */
Dmec_ps2.h4 * SPDX-License-Identifier: Apache-2.0
15 * Writes -> Transmit buffer
16 * Read <- Receive buffer
54 /* RX Data Ready(Read-Only) */
66 /* Transmitter is Idle(Read-Only) */
72 /* RX is Busy(Read-Only) */
Dmec_tach.h4 * SPDX-License-Identifier: Apache-2.0
32 /* Select read mode. Latch data on rising edge of selected trigger */
54 /* Read-only latched TACH pulse counter */
61 * bits[0, 2-3] are R/W1C
62 * bit[1] is Read-Only
/Zephyr-Core-3.5.0/include/zephyr/arch/arm/mpu/
Darm_mpu_v8.h5 * SPDX-License-Identifier: Apache-2.0
10 /* Convenience macros to represent the ARMv8-M-specific
12 * cache-ability attribution.
44 /* Privileged Read Write, Unprivileged No Access */
47 /* Privileged Read Write, Unprivileged Read Only */
50 /* Privileged Read Write, Unprivileged Read Write */
53 /* Privileged Read Write, Unprivileged Read Write */
56 /* Privileged Read Only, Unprivileged No Access */
59 /* Privileged Read Only, Unprivileged Read Only */
62 /* Privileged Read Only, Unprivileged Read Only */
[all …]
Darm_mpu_v7m.h5 * SPDX-License-Identifier: Apache-2.0
12 /* Convenience macros to represent the ARMv7-M-specific
14 * cache-ability attribution.
23 /* Privileged Read Write, Unprivileged No Access */
26 /* Privileged Read Write, Unprivileged Read Only */
29 /* Privileged Read Write, Unprivileged Read Write */
32 /* Privileged Read Write, Unprivileged Read Write */
35 /* Privileged Read Only, Unprivileged No Access */
38 /* Privileged Read Only, Unprivileged Read Only */
41 /* Privileged Read Only, Unprivileged Read Only */
[all …]
/Zephyr-Core-3.5.0/include/zephyr/sys/
Dcbprintf.h4 * SPDX-License-Identifier: Apache-2.0
52 /** Number of read-only strings, indexes appended to the package */
55 /** Number of read-write strings, indexes appended to the package */
64 * On Xtensa, the first argument needs to be aligned to 8-byte.
65 * With 32-bit pointers, we need another 4 bytes padding so
152 /** @brief Assume that const char pointer is pointing to read only (constant) strings.
154 * Flag is valid only for @ref CBPRINTF_STATIC_PACKAGE.
158 /** @brief Append locations (within the package) of read-only string pointers. */
161 /** @brief Append locations (within the package) of read-write string pointers.
163 * When this flag is not used then read-write strings are appended to the package.
[all …]
/Zephyr-Core-3.5.0/doc/kernel/usermode/
Doverview.rst15 Example use-cases of Zephyr's user mode features:
17 - The kernel can protect against many unintentional programming errors which
20 - The kernel can sandbox complex data parsers such as interpreters, network
21 protocols, and filesystems such that malicious third-party code or data
24 - The kernel can support the notion of multiple logical "applications", each
31 For threads running in a non-privileged CPU state (hereafter referred to as
34 - We prevent access to memory not specifically granted, or incorrect access to
36 read-only area.
38 - Access to thread stack buffers will be controlled with a policy which
41 - A user thread will by default have read/write access to its own stack
[all …]
Dmemory_domain.rst24 - Any configuration of memory regions which need to have special caching or
25 write-back policies for basic hardware and driver function. Note that most
30 ARMv7-M/ARMv8-M this is called the System Address Map, other CPUs may
33 - A read-only, executable region or regions for program text and ro-data, that
34 is accessible to user mode. This could be further sub-divided into a
35 read-only region for ro-data, and a read-only, executable region for text, but
37 threads running in user mode can read ro-data and fetch instructions.
39 - Depending on configuration, user-accessible read-write regions to support
44 text/ro-data, this is sufficient for the boot time configuration.
52 individual stack frames, use compiler-assisted :kconfig:option:`CONFIG_STACK_CANARIES`
[all …]
/Zephyr-Core-3.5.0/include/zephyr/drivers/interrupt_controller/
Dloapic.h1 /* loapic.h - public LOAPIC APIs */
6 * SPDX-License-Identifier: Apache-2.0
27 #define LOAPIC_ISR 0x100 /* In-service Reg */
42 #define LOAPIC_SELF_IPI 0x3f0 /* Self IPI Reg, only support in X2APIC mode */
70 * @brief Read 64-bit value from the local APIC in x2APIC mode.
72 * @param reg the LOAPIC register number to read (LOAPIC_*)
81 * @brief Read 32-bit value from the local APIC in xAPIC (MMIO) mode.
83 * @param reg the LOAPIC register number to read (LOAPIC_*)
93 * @brief Read value from the local APIC using the default mode.
95 * Returns a 32-bit value read from the local APIC, using the access
[all …]
/Zephyr-Core-3.5.0/tests/drivers/build_all/eeprom/
Dapp.overlay4 * SPDX-License-Identifier: Apache-2.0
9 * with real-world devicetree nodes, to allow these tests to run on
15 #address-cells = <1>;
16 #size-cells = <1>;
20 gpio-controller;
22 #gpio-cells = <0x2>;
27 #address-cells = <1>;
28 #size-cells = <0>;
32 clock-frequency = <100000>;
39 address-width = <16>;
[all …]
/Zephyr-Core-3.5.0/dts/bindings/fs/
Dzephyr,fstab-common.yaml2 # SPDX-License-Identifier: Apache-2.0
9 mount-point:
29 read-only:
32 Mount file system read-only if present.
37 no-format:
45 disk-access:
48 Use disk-access for accessing storage media.
/Zephyr-Core-3.5.0/scripts/coredump/coredump_parser/
Delf_parser.py5 # SPDX-License-Identifier: Apache-2.0
27 There are read-only sections (e.g. text and rodata) where
56 … if type(section) is not elftools.elf.sections.Section: # pylint: disable=unidiomatic-typecheck
62 sec_end = sec_start + size - 1
79 # Read only data section
81 sect_desc = "read-only data"
/Zephyr-Core-3.5.0/soc/arm/microchip_mec/mec172x/reg/
Dmec172x_i2c_smb.h4 * SPDX-License-Identifier: Apache-2.0
35 * Read from Status
36 * Size 8-bit
47 /* Status Read-only */
69 * Data register, 8-bit
82 /* 32-bit definitions */
97 #define MCHP_I2C_SMB_MSTR_CMD_B1_START0 BIT((8 - 8))
98 #define MCHP_I2C_SMB_MSTR_CMD_B1_STARTN BIT((9 - 8))
99 #define MCHP_I2C_SMB_MSTR_CMD_B1_STOP BIT((10 - 8))
100 #define MCHP_I2C_SMB_MSTR_CMD_B1_PEC_TERM BIT((11 - 8))
[all …]
/Zephyr-Core-3.5.0/tests/lib/cbprintf_package/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
30 if (buf->idx < buf->size) { in out()
31 buf->buf[buf->idx++] = (char)(unsigned char)c; in out()
54 buf->buf[buf->idx] = 0; in unpack()
55 zassert_equal(strcmp(buf->buf, compare_buf), 0, in unpack()
57 compare_buf, buf->buf); in unpack()
64 printk("-----------------------------------------\n"); \
100 volatile signed char sc = -11; in ZTEST()
103 static const short s = -300; in ZTEST()
104 long li = -1111111111; in ZTEST()
[all …]
/Zephyr-Core-3.5.0/drivers/eeprom/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
7 bool "Electrically Erasable Programmable Read-Only Memory (EEPROM) drivers"
14 module-str = eeprom
37 Size of the buffer used for EEPROM read/write commands in
50 This is an emulator for the Atmel AT24 series of I2C-attached EEPROMs.
52 At present it only supports 8-bit addressing. The size of the EEPROM
60 This is an emulator for the Atmel AT24 series of I2C-attached EEPROMs.
62 At present it only supports 8-bit addressing. The size of the EEPROM
122 prompt "Minimum read time (µS)"
139 Enable support for the FFF-based fake EEPROM driver.
/Zephyr-Core-3.5.0/doc/services/
Dformatted_output.rst40 the very space-optimized but limited formatter used for :c:func:`printk`
51 Such state forms a self-contained package which contains format string and
62 * **Self-contained** - non read-only strings appended to the package. String can be
63 formatted from such package as long as there is access to read-only string
64 locations. Package may contain information where read-only strings are located
66 self-contained package.
67 * **Fully self-contained** - all strings are appended to the package. String can be
69 * **Transient**- only arguments are stored. Package contain information
70 where pointers to non read-only strings are located within the package. Optionally,
71 it may contain read-only string location information. String can be formatted
[all …]
/Zephyr-Core-3.5.0/include/zephyr/arch/arm64/cortex_r/
Darm_mpu.h4 * Copyright (c) 2021-2023 Arm Limited (or its affiliates). All rights reserved.
6 * SPDX-License-Identifier: Apache-2.0
12 * Convenience macros to represent the ARMv8-R64-specific configuration
13 * for memory access permission and cache-ability attribution.
35 /* PRBAR_ELx: Attribute flag for not-allowing execution (eXecute Never) */
39 /* Privileged Read Write, Unprivileged No Access */
42 /* Privileged Read Write, Unprivileged Read Write */
45 /* Privileged Read Only, Unprivileged No Access */
48 /* Privileged Read Only, Unprivileged Read Only */
52 /* PRBAR_ELx: Attribute flags for share-ability */
[all …]
/Zephyr-Core-3.5.0/samples/drivers/virtualization/ivshmem/doorbell/
Dwrite_shared_memory.sh2 # Write a fixed-size string message on the ivshmem shared memory
3 # Usage write_shared_memory.sh [-s size in bytes] [-l location] [-m message] [-v]
7 # SPDX-License-Identifier: Apache-2.0
17 echo "Usage: $0 [-s size in bytes] [-l location] [-m message] [-v]"
30 if [ "$WM_MSG_LEN" -gt "$WM_SIZE" ]; then
31 # make sure we only read and write up to WM_SIZE
41 # make sure we only read $1 if it is defined (no unset)
42 PARAMS="${1:-0}"
45 -s)
49 -l)
[all …]
/Zephyr-Core-3.5.0/arch/arm/include/cortex_m/
Dcmse.h4 * SPDX-License-Identifier: Apache-2.0
11 * CMSE API for Cortex-M23/M33 CPUs.
40 * Return the non-negative MPU region that the address maps to,
41 * or -EINVAL to indicate that an invalid MPU region was retrieved.
44 * Obtained region is valid only if:
45 * - the function is called from privileged mode
46 * - the MPU is implemented and enabled
47 * - the given address matches a single, enabled MPU region
51 * @return a valid MPU region number or -EINVAL
56 * @brief Read accessibility of an address
[all …]
/Zephyr-Core-3.5.0/include/zephyr/bluetooth/
Dgatt.h6 * Copyright (c) 2015-2016 Intel Corporation
8 * SPDX-License-Identifier: Apache-2.0
38 /** No operations supported, e.g. for notify-only */
41 /** Attribute read permission. */
47 /** @brief Attribute read permission with encryption.
49 * If set, requires encryption for read access.
59 /** @brief Attribute read permission with authentication.
61 * If set, requires encryption using authenticated link-key for read
68 * If set, requires encryption using authenticated link-key for write
80 /** @brief Attribute read permission with LE Secure Connection encryption.
[all …]
/Zephyr-Core-3.5.0/tests/arch/common/semihost/src/
Dmain.c5 * SPDX-License-Identifier: Apache-2.0
16 long read, fd; in ZTEST() local
30 read = semihost_read(fd, r_buffer, sizeof(r_buffer)); in ZTEST()
31 zassert_equal(read, -EIO, "Read from write-only file"); in ZTEST()
42 read = semihost_read(fd, r_buffer, sizeof(r_buffer)); in ZTEST()
43 zassert_equal(read, sizeof(r_buffer), "Read failed %d", read); in ZTEST()
44 zassert_mem_equal(r_buffer, w_buffer, sizeof(r_buffer), "Data not read"); in ZTEST()
45 read = semihost_read(fd, r_buffer, sizeof(r_buffer)); in ZTEST()
46 zassert_equal(read, sizeof(r_buffer), "Read failed"); in ZTEST()
47 zassert_mem_equal(r_buffer, w_buffer, sizeof(r_buffer), "Data not read"); in ZTEST()
[all …]

12345678910>>...41