Changeset b95b717 in mainline for genarch/ofw.c


Ignore:
Timestamp:
2006-07-03T22:37:50Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c82950a
Parents:
b7b5f83
Message:

Last changes to make ofw.c work for both 32-bit and 64-bit architectures during boot.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • genarch/ofw.c

    rb7b5f83 rb95b717  
    3838typedef struct {
    3939        const char *service;          /**< Command name */
    40         unsigned int nargs;           /**< Number of in arguments */
    41         unsigned int nret;            /**< Number of out arguments */
     40        unsigned long nargs;          /**< Number of in arguments */
     41        unsigned long nret;           /**< Number of out arguments */
    4242        ofw_arg_t args[MAX_OFW_ARGS]; /**< List of arguments */
    4343} ofw_args_t;
     
    5454phandle ofw_aliases;
    5555
    56 static int ofw_call(const char *service, const int nargs, const int nret, ofw_arg_t *rets, ...)
     56static unsigned long ofw_call(const char *service, const int nargs, const int nret, ofw_arg_t *rets, ...)
    5757{
    5858        va_list list;
Note: See TracChangeset for help on using the changeset viewer.