Changeset e3f70b3 in rtems


Ignore:
Timestamp:
12/15/21 06:56:23 (5 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
2145e0c7
Parents:
aa95122
git-author:
Sebastian Huber <sebastian.huber@…> (12/15/21 06:56:23)
git-committer:
Sebastian Huber <sebastian.huber@…> (01/19/22 07:11:20)
Message:

bsps: Avoid use of memcpy() in bsp_fdt_copy()

The memcpy() function may be not loaded at the time bsp_fdt_copy() is
called.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bsps/shared/start/bsp-fdt.c

    raa95122 re3f70b3  
    3939void bsp_fdt_copy(const void *src)
    4040{
    41   const uint32_t *s = (const uint32_t *) src;
     41  const volatile uint32_t *s = (const uint32_t *) src;
    4242#ifdef BSP_FDT_BLOB_COPY_TO_READ_ONLY_LOAD_AREA
    4343  uint32_t *d = (uint32_t *) ((uintptr_t) &bsp_fdt_blob[0]
Note: See TracChangeset for help on using the changeset viewer.