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

#1538 closed defect (fixed)

nios: _CPU_virtual_to_physical missing

Reported by: Ralf Corsepius Owned by: Joel Sherrill
Priority: normal Milestone: 4.10
Component: arch/nios2 Version: 4.10
Severity: minor Keywords:
Cc: Blocked By:
Blocking:

Description

The nios port tries to use _CPU_virtual_to_physical but doesn't have it.

# grep -R _CPU_virtual_to_physical cpukit c
...
c/src/lib/libcpu/nios2/shared/cache/cache.c: void * p_address = (void *) _CPU_virtual_to_physical( d_addr );
c/src/lib/libcpu/nios2/shared/cache/cache.c: void * p_address = (void *) _CPU_virtual_to_physical( d_addr );
c/src/lib/libcpu/nios2/shared/cache/cache.c: void * p_address = (void *) _CPU_virtual_to_physical( i_addr );
...

IMO, we should stop pretending there was a nios port in RTEMS.

Change History (2)

comment:1 Changed on 05/29/10 at 22:28:12 by Joel Sherrill

Resolution: fixed
Status: newclosed

This port currently either has no caching to manage or has no cache management support. I added shared/src/no_cache.c and am switching ports which have to stub implementation to use that.

comment:2 Changed on 10/10/17 at 06:32:35 by Sebastian Huber

Component: libcpuarch/nios2
Note: See TracTickets for help on using tickets.