Home
last modified time | relevance | path

Searched refs:memory_type (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/scripts/build/
Dgen_relocate_app.py331 def add_phdr(memory_type, phdrs): argument
337 memory_type, argument
346 load_address_string = LOAD_ADDRESS_LOCATION_FLASH.format(add_phdr(memory_type, phdrs))
348 … load_address_string = LOAD_ADDRESS_LOCATION_FLASH_NOCOPY.format(add_phdr(memory_type, phdrs))
350 load_address_string = LOAD_ADDRESS_LOCATION_BSS.format(add_phdr(memory_type, phdrs))
355 if region_is_default_ram(memory_type) and kind in (SectionKind.DATA, SectionKind.BSS):
358 if not region_is_default_ram(memory_type) and kind is SectionKind.RODATA:
360 if memory_type in mpu_align:
361 align_size = mpu_align[memory_type]
363 …linker_string += LINKER_SECTION_SEQ_MPU.format(memory_type.lower(), kind.value, memory_type.upper(…
[all …]
/Zephyr-latest/arch/xtensa/include/
Dxtensa_mpu_priv.h122 .at.p.memory_type = memtype, \
303 return entry->at.p.memory_type; in xtensa_mpu_entry_memory_type_get()
313 void xtensa_mpu_entry_memory_type_set(struct xtensa_mpu_entry *entry, uint16_t memory_type) in xtensa_mpu_entry_memory_type_set() argument
315 entry->at.p.memory_type = memory_type; in xtensa_mpu_entry_memory_type_set()
327 uint8_t access_rights, uint16_t memory_type) in xtensa_mpu_entry_attributes_set() argument
330 xtensa_mpu_entry_memory_type_set(entry, memory_type); in xtensa_mpu_entry_attributes_set()
349 bool enable, uint8_t access_rights, uint16_t memory_type) in xtensa_mpu_entry_set() argument
360 xtensa_mpu_entry_memory_type_set(entry, memory_type); in xtensa_mpu_entry_set()
392 return entry1->at.p.memory_type == entry2->at.p.memory_type; in xtensa_mpu_entries_has_same_memory_type()
/Zephyr-latest/arch/xtensa/core/
Dmpu.c99 .memory_type = CONFIG_XTENSA_MPU_DEFAULT_MEM_TYPE,
110 .memory_type = CONFIG_XTENSA_MPU_DEFAULT_MEM_TYPE,
118 .memory_type = CONFIG_XTENSA_MPU_DEFAULT_MEM_TYPE,
126 .memory_type = CONFIG_XTENSA_MPU_DEFAULT_MEM_TYPE,
133 .memory_type = CONFIG_XTENSA_MPU_DEFAULT_MEM_TYPE,
382 e->at.p.memory_type = CONFIG_XTENSA_MPU_DEFAULT_MEM_TYPE; in consolidate_entries()
411 uint32_t access_rights, uint32_t memory_type, in mpu_map_region_add() argument
448 access_rights, memory_type); in mpu_map_region_add()
463 access_rights, memory_type); in mpu_map_region_add()
539 xtensa_mpu_entry_set(entry_slot_s, start_addr, true, access_rights, memory_type); in mpu_map_region_add()
[all …]
/Zephyr-latest/drivers/memc/
Dmemc_stm32_nor_psram.c91 uint32_t memory_type; in memc_stm32_nor_psram_init() local
96 memory_type = config->banks[bank_idx].init.MemoryType; in memc_stm32_nor_psram_init()
98 switch (memory_type) { in memc_stm32_nor_psram_init()
115 memory_type, config->banks[bank_idx].init.NSBank, ret); in memc_stm32_nor_psram_init()
/Zephyr-latest/include/zephyr/arch/xtensa/
Dmpu.h175 uint32_t memory_type:9; member
296 const uint16_t memory_type:9; member