Changeset 73abf49 in mainline for kernel/genarch/include/genarch/drivers/bcm2835/mbox.h
- Timestamp:
- 2021-06-22T19:36:32Z (3 years ago)
- Branches:
- master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1b7b7af
- Parents:
- 034ce6bb
- git-author:
- Maurizio Lombardi <mlombard@…> (2021-06-22 19:21:17)
- git-committer:
- Maurizio Lombardi <mlombard@…> (2021-06-22 19:36:32)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/include/genarch/drivers/bcm2835/mbox.h
r034ce6bb r73abf49 68 68 69 69 enum { 70 MBOX_TAG_GET_PHYS_W_H = 0x00040003, 71 MBOX_TAG_SET_PHYS_W_H = 0x00048003, 72 MBOX_TAG_GET_VIRT_W_H = 0x00040004, 73 MBOX_TAG_SET_VIRT_W_G = 0x00048004 74 }; 75 76 enum { 70 77 MBOX_PROP_CODE_REQ = 0x00000000, 71 78 MBOX_PROP_CODE_RESP_OK = 0x80000000, … … 122 129 123 130 typedef struct { 131 mbox_prop_buf_hdr_t buf_hdr; 132 mbox_tag_hdr_t tag_hdr; 133 struct { 134 uint32_t width; 135 uint32_t height; 136 } body; 137 uint32_t zero; 138 } mbox_getfbsize_buf_t; 139 140 typedef struct { 124 141 ioport32_t width; 125 142 ioport32_t height; … … 135 152 136 153 extern bool bcm2835_prop_get_memory(uint32_t *base, uint32_t *size); 137 extern bool bcm2835_fb_init(fb_properties_t *prop); 154 extern bool bcm2835_fb_init(fb_properties_t *prop, uint32_t width, uint32_t heigth); 155 extern bool bcm2835_mbox_get_fb_size(uint32_t *h, uint32_t *w); 138 156 139 157 #endif
Note:
See TracChangeset
for help on using the changeset viewer.