Changeset f22f679 in mainline for kernel/genarch/include
- Timestamp:
- 2013-04-04T21:01:11Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 44186b01
- Parents:
- 409a996
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/include/genarch/drivers/bcm2835/mbox.h
r409a996 rf22f679 37 37 #define _BCM2835_MBOX_H_ 38 38 39 #include <genarch/fb/fb.h> 39 40 #include <arch/mm/page.h> 40 41 #include <align.h> … … 79 80 #define MBOX_MSG_VALUE(msg) ((msg) & ~0xf) 80 81 81 #define KA2VC (addr) (KA2PA(addr) + 0x40000000)82 #define KA2VCA(addr) (KA2PA(addr) + 0x40000000) 82 83 83 84 #define MBOX_ADDR_ALIGN 16 … … 120 121 } mbox_getmem_buf_t; 121 122 123 typedef struct { 124 ioport32_t width; 125 ioport32_t height; 126 ioport32_t virt_width; 127 ioport32_t virt_height; 128 ioport32_t pitch; 129 ioport32_t bpp; 130 ioport32_t x_offset; 131 ioport32_t y_offset; 132 ioport32_t addr; 133 ioport32_t size; 134 } bcm2835_fb_desc_t; 135 122 136 bool bcm2835_prop_get_memory(uint32_t *base, uint32_t *size); 137 bool bcm2835_fb_init(fb_properties_t *prop); 123 138 124 139 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
