commit | 156c7cd21759d6030acf84fa4034c0104c66282a | [log] [tgz] |
---|---|---|
author | Tom Burdick <thomas.burdick@intel.com> | Wed Feb 01 09:19:50 2023 -0600 |
committer | Stephanos Ioannidis <root@stephanos.io> | Thu Feb 02 03:09:35 2023 +0900 |
tree | f9149deaa5d2de8d316f389465ae00076e66c457 | |
parent | ed51e48ba51ccf5a777283bfab85af23df918d8d [diff] |
intel_adsp: bbzero/bmemcpy with picolibc fix When building with picolibc and gcc, the loops to do zeroing/copying get replaced by gcc with calls to memset/memcpy. This fails this early in the boot process and results in an illegal instruction exception. Marking the variables being manipulated in the calls as volatile prevents the compiler from optimizing the loops (replacing them with memset/memcpy). Signed-off-by: Tom Burdick <thomas.burdick@intel.com>