Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

#1986 closed defect (fixed)

Unused file: c/src/lib/libcpu/shared/src/cache_aligned_malloc.c

Reported by: Ralf Corsepius Owned by: Joel Sherrill
Priority: normal Milestone: 4.11
Component: bsps Version: 4.11
Severity: normal Keywords:
Cc: sebastian.huber@…, gedare@… Blocked By:
Blocking:

Description

The file c/src/lib/libcpu/shared/src/cache_aligned_malloc.c is unused.

The only function it exports (rtems_cache_aligned_malloc) is not
declared in any header and therefore is not accessible without applying
trickery.

I'd suggest to either remove this file or and add the function "rtems_cache_aligned_malloc" to a public header.

As with similar findings before, I am not sure about what is desired and what
to do about. In this case, I am leaning to remove the file.

Change History (5)

comment:1 Changed on 12/09/11 at 14:11:49 by Sebastian Huber

Cc: Sebastian Huber added

comment:2 Changed on 12/09/11 at 22:39:21 by Gedare Bloom

Cc: Gedare Bloom added

comment:3 Changed on 12/10/11 at 03:04:39 by Ralf Corsepius

Resolution: fixed
Status: newclosed

Decl add to cpukit/rtems/include/rtems/rtems/cache.h

comment:4 Changed on 11/24/14 at 18:58:28 by Gedare Bloom

Version: HEAD4.11

Replace Version=HEAD with Version=4.11 for the tickets with Milestone >= 4.11

comment:5 Changed on 10/10/17 at 06:33:12 by Sebastian Huber

Component: libcpubsps
Note: See TracTickets for help on using tickets.