Changeset 63cda71 in mainline for boot/genarch/ofw.h
- Timestamp:
- 2006-07-13T14:58:57Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 94d614e
- Parents:
- eda7bf81
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/genarch/ofw.h
reda7bf81 r63cda71 27 27 */ 28 28 29 #ifndef __OFW_H__30 #define __OFW_H__29 #ifndef BOOT_OFW_H_ 30 #define BOOT_OFW_H_ 31 31 32 32 #include <types.h> … … 39 39 #define MAX_OFW_ARGS 12 40 40 41 typedef un signed longofw_arg_t;41 typedef unative_t ofw_arg_t; 42 42 typedef unsigned int ihandle; 43 43 typedef unsigned int phandle; … … 65 65 66 66 typedef struct { 67 uint32_taddr;67 void *addr; 68 68 unsigned int width; 69 69 unsigned int height; … … 73 73 74 74 typedef struct { 75 uint32_taddr;75 void *addr; 76 76 unsigned int size; 77 77 } keyboard_t; … … 93 93 extern phandle ofw_aliases; 94 94 95 extern void init(void);95 extern void ofw_init(void); 96 96 extern void ofw_write(const char *str, const int len); 97 97 … … 100 100 101 101 extern int ofw(ofw_args_t *arg); 102 extern unsigned int ofw_get_address_cells(const phandle device); 103 extern unsigned int ofw_get_size_cells(const phandle device); 102 104 extern void *ofw_translate(const void *virt); 103 105 extern int ofw_translate_failed(ofw_arg_t flag);
Note:
See TracChangeset
for help on using the changeset viewer.