Changeset 7f1c620 in mainline for genarch/include/ofw/ofw.h


Ignore:
Timestamp:
2006-07-04T17:17:56Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0ffa3ef5
Parents:
991779c5
Message:

Replace old u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • genarch/include/ofw/ofw.h

    r991779c5 r7f1c620  
    4040#define MAX_OFW_ARGS    10
    4141
    42 typedef __native ofw_arg_t;
     42typedef unative_t ofw_arg_t;
    4343typedef int ihandle;
    4444typedef int phandle;
     
    4949typedef struct {
    5050        const char *service;          /**< Command name */
    51         __native nargs;               /**< Number of in arguments */
    52         __native nret;                /**< Number of out arguments */
     51        unative_t nargs;               /**< Number of in arguments */
     52        unative_t nret;                /**< Number of out arguments */
    5353        ofw_arg_t args[MAX_OFW_ARGS]; /**< List of arguments */
    5454} ofw_args_t;
     
    6060extern void ofw_init(void);
    6161extern void ofw_done(void);
    62 extern __native ofw_call(const char *service, const int nargs, const int nret, ...);
     62extern unative_t ofw_call(const char *service, const int nargs, const int nret, ...);
    6363extern void ofw_putchar(const char ch);
    6464extern char ofw_getchar(void);
Note: See TracChangeset for help on using the changeset viewer.