Changeset 7f1c620 in mainline for genarch/include/ofw/ofw.h
- Timestamp:
- 2006-07-04T17:17:56Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0ffa3ef5
- Parents:
- 991779c5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
genarch/include/ofw/ofw.h
r991779c5 r7f1c620 40 40 #define MAX_OFW_ARGS 10 41 41 42 typedef __nativeofw_arg_t;42 typedef unative_t ofw_arg_t; 43 43 typedef int ihandle; 44 44 typedef int phandle; … … 49 49 typedef struct { 50 50 const char *service; /**< Command name */ 51 __nativenargs; /**< Number of in arguments */52 __nativenret; /**< Number of out arguments */51 unative_t nargs; /**< Number of in arguments */ 52 unative_t nret; /**< Number of out arguments */ 53 53 ofw_arg_t args[MAX_OFW_ARGS]; /**< List of arguments */ 54 54 } ofw_args_t; … … 60 60 extern void ofw_init(void); 61 61 extern void ofw_done(void); 62 extern __nativeofw_call(const char *service, const int nargs, const int nret, ...);62 extern unative_t ofw_call(const char *service, const int nargs, const int nret, ...); 63 63 extern void ofw_putchar(const char ch); 64 64 extern char ofw_getchar(void);
Note:
See TracChangeset
for help on using the changeset viewer.