/Zephyr-latest/doc/hardware/arch/ |
D | x86.rst | 16 is executing in virtual address space. By default, physical and virtual 18 taking place in physical address space. The physical address space is 26 Separate Virtual Address Space from Physical Address Space 29 On 32-bit x86, it is possible to have separate physical and virtual 31 but are still loaded in physical memory. However, during boot, code 32 and data must be available and also addressable in physical address 37 (:file:`arch/x86/gen_mmu.py`) identity maps the physical addresses 39 to the physical memory. Later in the boot process, 42 the identity mapping of physical memory. This unmapping must be done 44 restricted memory via physical addresses. Since the identity mapping [all …]
|
/Zephyr-latest/include/zephyr/kernel/internal/ |
D | mm.h | 21 * @brief Address offset of permanent virtual mapping from physical address. 24 * kernel's permanent mapping of RAM, to obtain its physical address. 48 * @brief Get physical address from virtual address. 54 * @return Physical address. 59 * @brief Get virtual address from physical address. 63 * @param phys Physical address 87 * @brief Get physical address from virtual address. 95 * @return Physical address. 128 "physical address 0x%lx not in RAM", in k_mem_phys_addr() 140 * @brief Get virtual address from physical address. [all …]
|
/Zephyr-latest/include/zephyr/sys/ |
D | mem_manage.h | 22 * @brief Check if a physical address is within range of physical memory. 24 * This checks if the physical address (@p virt) is within 34 * @param phys Physical address to be checked. 36 * @return True if physical address is within range, false if not.
|
/Zephyr-latest/include/zephyr/drivers/mm/ |
D | system_mm.h | 91 * @brief Map one physical page into the virtual address space 93 * This maps one physical page into the virtual address space. 103 * @param phys Page-aligned source physical address to map 113 * @brief Map a region of physical memory into the virtual address space 115 * This maps a region of physical memory into the virtual address space. 125 * @param phys Page-aligned source physical address to map 137 * @brief Map an array of physical memory into the virtual address space 139 * This maps an array of physical pages into a continuous virtual address 143 * The physical memory pages are never accessed by this operation. 149 * @param phys Array of pge-aligned source physical address to map [all …]
|
D | mm_drv_intel_adsp_mtl_tlb.h | 14 * This function will save contents of the physical memory banks into a provided storage buffer 16 * the system must be almost stopped. Operation is destructive - it will change physical to 36 * This function will restore the contents and power state of the physical memory banks 37 * and recreate physical to virtual mappings
|
/Zephyr-latest/kernel/include/ |
D | mmu.h | 18 /** Start address of physical memory. */ 21 /** Size of physical memory. */ 24 /** End address (exclusive) of physical memory. */ 46 * @brief Offset for translating between static physical and virtual addresses. 55 * @brief Get physical address from virtual address for boot RAM mappings. 63 * @return Physical address. 68 * @brief Get virtual address from physical address for boot RAM mappings. 74 * @param phys Physical address. 88 * - If it is enabled, which means all physical memory are mapped in virtual 107 * Macros and data structures for physical page frame accounting, [all …]
|
/Zephyr-latest/include/zephyr/arch/x86/ |
D | memory.ld | 11 * By default, the kernel is linked at its physical address and all addresses 21 * LMA for all sections relative to physical address. The virtual address VMAs 34 /* Bounds of physical RAM from DTS */ 39 * the same as its physical location, although an identity mapping for RAM 67 /* Physical RAM location where the kernel image is loaded */ 87 * or copied into physical RAM by a loader (MMU) 95 * physical ROM locations
|
/Zephyr-latest/kernel/ |
D | Kconfig.vm | 22 By default, this is the same as the DT_CHOSEN_Z_SRAM physical base SRAM 27 as their physical address (demand paging at runtime may later modify 35 the kernel's address space, such as not overlapping physical RAM 36 regions if RAM is not identity-mapped, or the virtual and physical 42 page tables are in use, they all have the same virtual-to-physical 53 build-time cases, or when a physical address cannot be looked up 59 Will be used to convert between physical and virtual addresses for 63 physical memory have dissimilar alignment. 80 implement a notion of "high" memory in Zephyr to work around physical 88 mapping between virtual address and physical address.
|
/Zephyr-latest/subsys/sensing/sensor/phy_3d_sensor/ |
D | Kconfig | 5 bool "sensing subsystem physical 3d sensors(accel, gyro, mag)" 9 Enable sensing subsystem physical 3d sensors(accel, gyro, mag).
|
/Zephyr-latest/dts/bindings/sensor/ |
D | zephyr,sensing-phy-sensor.yaml | 5 description: Sensing subsystem physical sensor properties bindings. 13 description: underlying sensor device for physical sensor
|
/Zephyr-latest/doc/hardware/peripherals/ |
D | kscan.rst | 17 many keys through fewer physical pins. Keyboard matrix 20 There is no correlation between the physical and electrical layout of keys. 21 For, example, the physical layout may be one array of 16 or fewer keys, which
|
/Zephyr-latest/drivers/mm/ |
D | mm_drv_intel_adsp_tlb.c | 12 * physical and virtual memory. This is global to all cores 19 * cached one via sys_cache_cached_ptr_get(). However, physical addresses 76 * Cached addresses for both physical and virtual. in sys_mm_drv_map_page() 79 * the cached physical address is needed to perform in sys_mm_drv_map_page() 94 /* Check bounds of physical address space */ in sys_mm_drv_map_page() 114 * TLB_PADDR_SIZE bits of the physical page number, in sys_mm_drv_map_page() 116 * architecture design where the same physical page in sys_mm_drv_map_page() 122 * TLB only cares about the lower part of the physical in sys_mm_drv_map_page() 186 * Flush the cache to make sure the backing physical page in sys_mm_drv_unmap_page() 303 * flush the cache to make sure the backing physical in sys_mm_drv_move_region() [all …]
|
D | mm_drv_intel_adsp_mtl_tlb.c | 12 * physical and virtual memory. This is global to all cores 19 * cached one via sys_cache_cached_ptr_get(). However, physical addresses 58 /* declare L2 physical memory block */ 80 * @param pa physical address. 181 * Cached addresses for both physical and virtual. in sys_mm_drv_map_page() 184 * the cached physical address is needed to perform in sys_mm_drv_map_page() 204 * When the provided physical address is NULL in sys_mm_drv_map_page() 206 * select the first available free physical address in sys_mm_drv_map_page() 220 /* Check bounds of physical address space */ in sys_mm_drv_map_page() 249 * TLB_PADDR_SIZE bits of the physical page number, in sys_mm_drv_map_page() [all …]
|
D | mm_drv_common.h | 79 * @brief Test if all physical addresses in array are page-aligned 81 * @param addr Array of physical addresses 126 * @param phys Page-aligned source physical address to map 152 * @param phys Array of pge-aligned source physical address to map 153 * @param cnt Number of elements in the physical page array 230 * new physical pages 231 * @param phys_new Page-aligned base physical address to contain 259 * new physical pages 260 * @param phys_new Array of page-aligned physical address to contain 262 * @param phys_cnt Number of elements in the physical page array [all …]
|
D | mm_drv_intel_adsp.h | 47 /* This is used to translate from TLB entry back to physical address. */ 61 * Calculate TLB entry based on physical address. 72 * Calculate physical address based on TLB entry.
|
/Zephyr-latest/arch/x86/ |
D | gen_mmu.py | 35 instruction pointer from a physical address at early boot to the 39 and the physical/virtual base addresses must have the same alignment 45 from identity-mapped physical addresses after we program this table 50 Because the set of page tables are linked together by physical address, 51 we must know a priori the physical address of each table. The linker 55 where the physical load address of the kernel is unknown at build time. 62 page tables at the physical address corresponding to the symbol 214 """Mask to apply to an individual entry to get the physical address 243 """Look up the physical mapping for a virtual address. 245 If this is a leaf table, this is the physical address mapping. If not, [all …]
|
/Zephyr-latest/doc/kernel/memory_management/ |
D | virtual_memory.rst | 15 between physical and virtual memory address spaces, if demand paging 22 the physical memory. 26 allowing larger usable memory than the available physical memory. 29 * Although the virtual memory space can be larger than physical 31 mapped memory must be backed by physical memory. 60 virtual and physical addresses, instead of kernel choosing addresses within 122 * If it is enabled, which means all physical memory are mapped in virtual 170 The unused physical memory can be mapped in virtual address space on demand. 174 * :c:func:`k_mem_map` can be used to map unused physical memory:
|
D | demand_paging.rst | 6 Demand paging provides a mechanism where data is only brought into physical 7 memory as required by current execution context. The physical memory is 15 the corresponding data page from backing store into physical memory if 25 page into the free page frame. Now the data page is in physical memory 32 minimize number of page faults as these data pages are already in physical 50 A page frame is a page-sized physical memory region in RAM. It is a 52 physical address. Zephyr has a convention of using ``uintptr_t`` for physical 63 * ``K_MEM_PAGE_FRAME_RESERVED`` indicates a physical page reserved by hardware 66 * ``K_MEM_PAGE_FRAME_MAPPED`` is set when a physical page is mapped to
|
/Zephyr-latest/dts/bindings/serial/ |
D | uart-controller-pin-inversion.yaml | 10 Invert the binary logic of tx pin. When enabled, physical logic levels are inverted and 15 Invert the binary logic of rx pin. When enabled, physical logic levels are inverted and
|
/Zephyr-latest/drivers/tee/optee/ |
D | optee_smc.h | 154 * a1 Upper 32 bits of a 64-bit physical pointer to a struct optee_msg_arg 155 * a2 Lower 32 bits of a 64-bit physical pointer to a struct optee_msg_arg 156 * a3 Cache settings, not used if physical pointer is in a predefined shared 193 * OPTEE_SMC_RETURN_EBADADDR Bad physical pointer to struct 219 * a1 Physical address of start of SHM 237 * Disables, enables usage of L2CC mutex. Returns or sets physical address 242 * a1 OPTEE_SMC_L2CC_MUTEX_GET_ADDR Get physical address of mutex 243 * OPTEE_SMC_L2CC_MUTEX_SET_ADDR Set physical address of mutex 247 * physical address of mutex 249 * physical address of mutex [all …]
|
/Zephyr-latest/tests/drivers/gpio/gpio_api_1pin/src/ |
D | test_pin.c | 20 "Test point %d: failed to get physical pin value", idx); in pin_get_raw_and_verify() 22 "Test point %d: invalid physical pin get value", idx); in pin_get_raw_and_verify() 42 "Test point %d: failed to set physical pin value", idx); in pin_set_raw_and_verify() 235 TC_PRINT("Step 1: Set logical, get logical and physical pin value\n"); in ZTEST() 245 TC_PRINT("Step 2: Set physical, get logical and physical pin value\n"); in ZTEST() 285 TC_PRINT("Step 1: Set logical, get logical and physical pin value\n"); in ZTEST() 296 TC_PRINT("Step 2: Set physical, get logical and physical pin value\n"); in ZTEST()
|
D | test_port.c | 21 "Test point %d: failed to get physical port value", idx); in port_get_raw_and_verify() 23 "Test point %d: invalid physical port get value", idx); in port_get_raw_and_verify() 43 "Test point %d: failed to set physical port value", idx); in port_set_masked_raw_and_verify() 60 "Test point %d: failed to set physical port value", idx); in port_set_bits_raw_and_verify() 76 "Test point %d: failed to set physical port value", idx); in port_clear_bits_raw_and_verify() 93 "Test point %d: failed to set physical port value", idx); in port_set_clr_bits_raw() 261 TC_PRINT("Step 1: Set logical, get logical and physical port value\n"); in ZTEST() 268 TC_PRINT("Step 2: Set physical, get logical and physical port value\n"); in ZTEST() 312 TC_PRINT("Step 1: Set logical, get logical and physical port value\n"); in ZTEST() 319 TC_PRINT("Step 2: Set physical, get logical and physical port value\n"); in ZTEST()
|
/Zephyr-latest/tests/boards/intel_adsp/mm/src/ |
D | main.c | 39 /* Find a virtual address beyond physical memory */ 47 /* Map our physical pages to the new location */ 61 * physical memory. 134 * physical memory. 165 /* Find a virtual address beyond physical memory */ in ZTEST() 173 /* Map our physical pages to the new location */ in ZTEST() 187 * physical memory. in ZTEST() 260 * physical memory. in ZTEST()
|
/Zephyr-latest/subsys/secure_storage/include/psa/ |
D | internal_trusted_storage.h | 45 * @retval PSA_ERROR_STORAGE_FAILURE The physical storage has failed (fatal error). 71 * @retval PSA_ERROR_STORAGE_FAILURE The physical storage has failed (fatal error). 92 * @retval PSA_ERROR_STORAGE_FAILURE The physical storage has failed (fatal error). 113 * @retval PSA_ERROR_STORAGE_FAILURE The physical storage has failed (fatal error).
|
/Zephyr-latest/boards/nordic/nrf52840dk/ |
D | board.yml | 6 # Physical nRF52840 SoC on PCA10056
|