#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 May 29, 2010 at 10:28:12 PM 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 Oct 10, 2017 at 6:32:35 AM by Sebastian Huber

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