Changeset 94d614e in mainline for boot/genarch/ofw.h
- Timestamp:
- 2006-07-13T17:32:38Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a5f76758
- Parents:
- 63cda71
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/genarch/ofw.h
r63cda71 r94d614e 47 47 */ 48 48 typedef struct { 49 const char *service; /**< Command name*/50 unsigned long nargs; /**< Number of in arguments*/51 unsigned long nret; /**< Number of out arguments*/52 ofw_arg_t args[MAX_OFW_ARGS]; /**< List of arguments */49 ofw_arg_t service; /**< Command name. */ 50 ofw_arg_t nargs; /**< Number of in arguments. */ 51 ofw_arg_t nret; /**< Number of out arguments. */ 52 ofw_arg_t args[MAX_OFW_ARGS]; /**< List of arguments. */ 53 53 } ofw_args_t; 54 54 55 55 typedef struct { 56 56 void *start; 57 u nsigned int size;57 uint32_t size; 58 58 } memzone_t; 59 59 60 60 typedef struct { 61 u nsigned int total;62 u nsigned int count;61 uint32_t total; 62 uint32_t count; 63 63 memzone_t zones[MEMMAP_MAX_RECORDS]; 64 64 } memmap_t; … … 66 66 typedef struct { 67 67 void *addr; 68 u nsigned int width;69 u nsigned int height;70 u nsigned int bpp;71 u nsigned int scanline;68 uint32_t width; 69 uint32_t height; 70 uint32_t bpp; 71 uint32_t scanline; 72 72 } screen_t; 73 73 74 74 typedef struct { 75 75 void *addr; 76 u nsigned int size;76 uint32_t size; 77 77 } keyboard_t; 78 78 79 79 typedef struct { 80 u nsigned int info;81 u nsigned int addr_hi;82 u nsigned int addr_lo;80 uint32_t info; 81 uint32_t addr_hi; 82 uint32_t addr_lo; 83 83 } pci_addr_t; 84 84 85 85 typedef struct { 86 86 pci_addr_t addr; 87 u nsigned int size_hi;88 u nsigned int size_lo;87 uint32_t size_hi; 88 uint32_t size_lo; 89 89 } pci_reg_t; 90 90
Note:
See TracChangeset
for help on using the changeset viewer.