Ignore:
Timestamp:
Jul 3, 2017, 2:17:20 PM (7 years ago)
Author:
alain
Message:

Fix bugs in hal_remote, hal uspace, hal_special

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/tsar_mips32/core/hal_uspace.c

    r87 r121  
    128128
    129129//////////////////////////////////////////
    130 void hal_strcpy_from_uspace( char * k_dst,
    131                              char * u_src )
    132 
    133 {
     130void hal_strcpy_from_uspace( char     * k_dst,
     131                             char     * u_src,
     132                             uint32_t   max_size )
     133
     134{
     135
     136// TODO implement the max_size handling
     137
    134138    uint32_t save_sr;
    135139    uint32_t src = (uint32_t)u_src;
     
    157161} // hal_strcpy_from_uspace()
    158162
    159 //////////////////////////////////////////
    160 void hal_strcpy_to_uspace( char * u_dst,
    161                            char * k_src )
    162 
    163 {
     163////////////////////////////////////////////
     164void hal_strcpy_to_uspace( char     * u_dst,
     165                           char     * k_src,
     166                           uint32_t   max_size )
     167{
     168
     169// TODO implement the max_size handling
     170
    164171    uint32_t save_sr;
    165172    uint32_t src = (uint32_t)k_src;
Note: See TracChangeset for help on using the changeset viewer.