1 #ifndef BCM2835_COMMON_H
2 #define BCM2835_COMMON_H
4 #define VCRAM_SIZE (0x4000000)
5 extern hwaddr bcm2835_vcram_base
;
7 /* Constants shared with the ARM identifying separate mailbox channels */
8 #define MBOX_CHAN_POWER 0 /* for use by the power management interface */
9 #define MBOX_CHAN_FB 1 /* for use by the frame buffer */
10 #define MBOX_CHAN_VCHIQ 3 /* for use by the VCHIQ interface */
11 #define MBOX_CHAN_PROPERTY 8 /* for use by the property channel */
12 #define MBOX_CHAN_COUNT 9
15 #define MBOX_INVALID_DATA 0x0f
17 #define BCM2835_FB_OFFSET 0x00100000
25 uint32_t xres_virtual
, yres_virtual
;
26 uint32_t xoffset
, yoffset
;
28 uint32_t base
, pitch
, size
;
33 extern Bcm2835Fb bcm2835_fb
;
35 #endif /* BCM2835_COMMON_H */