Ignore:
Timestamp:
Aug 25, 2018, 6:28:53 PM (6 years ago)
Author:
viala@…
Message:

[hal] Fix protoypes and add headers in hal mips32 implementation.

Fix types mismatch between implementation and interface in .h.
Add header where they were absent.

File:
1 edited

Legend:

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

    r481 r505  
    2222 */
    2323
     24#include <hal_user.h>
    2425
    2526/////////////////////////////////////////////
    26 inline int hal_user_syscall( int service_num,
    27                              int arg0,
    28                              int arg1,
    29                              int arg2,
    30                              int arg3 )
     27inline int hal_user_syscall( reg_t service_num,
     28                             reg_t arg0,
     29                             reg_t arg1,
     30                             reg_t arg2,
     31                             reg_t arg3 )
    3132{
    3233    register int num_and_ret __asm__("v0") = service_num;
Note: See TracChangeset for help on using the changeset viewer.