RTEMS  5.0.0
Macros | Functions

video core support. More...

#include <pthread.h>
#include <bsp.h>
#include <bsp/raspberrypi.h>
#include <bsp/mailbox.h>
#include <bsp/vc.h>
#include <libcpu/arm-cp15.h>
#include "vc_defines.h"

Macros

#define BCM2835_VC_MEMORY_MAPPING   0xC0000000
 
#define BCM2835_VC_MEMORY_MAPPING_MASK   0x3fffffff
 
#define BCM2835_MBOX_VAL_LENGTH_MASK(_val_len)   ( _val_len & ( ~BCM2835_MBOX_TAG_VAL_LEN_RESPONSE ) )
 

Functions

int bcm2835_mailbox_get_display_size (bcm2835_get_display_size_entries *_entries)
 
int bcm2835_mailbox_init_frame_buffer (bcm2835_init_frame_buffer_entries *_entries)
 
int bcm2835_mailbox_get_pitch (bcm2835_get_pitch_entries *_entries)
 
int bcm2835_mailbox_get_cmdline (bcm2835_get_cmdline_entries *_entries)
 
int bcm2835_mailbox_get_power_state (bcm2835_set_power_state_entries *_entries)
 
int bcm2835_mailbox_set_power_state (bcm2835_set_power_state_entries *_entries)
 
int bcm2835_mailbox_get_arm_memory (bcm2835_get_arm_memory_entries *_entries)
 
int bcm2835_mailbox_get_vc_memory (bcm2835_get_vc_memory_entries *_entries)
 
int bcm2835_mailbox_get_firmware_revision (bcm2835_mailbox_get_fw_rev_entries *_entries)
 
int bcm2835_mailbox_get_board_model (bcm2835_get_board_spec_entries *_entries)
 
int bcm2835_mailbox_get_board_revision (bcm2835_get_board_spec_entries *_entries)
 
int bcm2835_mailbox_get_board_serial (bcm2835_get_board_serial_entries *_entries)
 
int bcm2835_mailbox_get_clock_rate (bcm2835_get_clock_rate_entries *_entries)
 

Detailed Description

video core support.