Ignore:
Timestamp:
Dec 29, 2014, 12:02:04 AM (10 years ago)
Author:
alain
Message:

Change the return type of _v2p_translate to void.

Location:
soft/giet_vm/giet_common
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_common/vmem.c

    r455 r476  
    1212
    1313//////////////////////////////////////////////////
    14 unsigned int _v2p_translate( page_table_t*  ptab,
    15                              unsigned int   vpn,
    16                              unsigned int*  ppn,
    17                              unsigned int*  flags )
     14void _v2p_translate( page_table_t*  ptab,
     15                     unsigned int   vpn,
     16                     unsigned int*  ppn,
     17                     unsigned int*  flags )
    1818{
    1919    unsigned long long ptba;
     
    9191        }
    9292    }
    93     return 0;
    9493} // end _v2p_translate()
    9594
  • soft/giet_vm/giet_common/vmem.h

    r408 r476  
    8080// Return 0 if success. Return 1 if PTE1 or PTE2 unmapped.
    8181///////////////////////////////////////////////////////////////////////////////////
    82 unsigned int _v2p_translate( page_table_t* pt,
    83                              unsigned int  vpn,
    84                              unsigned int* ppn,
    85                              unsigned int* flags );
     82void _v2p_translate( page_table_t* pt,
     83                     unsigned int  vpn,
     84                     unsigned int* ppn,
     85                     unsigned int* flags );
    8686
    8787#endif
Note: See TracChangeset for help on using the changeset viewer.