Headers specific for framebuffer drivers utilizing VESA VBE.  
More...
#include <bsp/vbe3.h>
#include <edid.h>
#include <stdint.h>
 
Go to the source code of this file.
 | 
| uint32_t  | VBE_controller_information (VBE_vbe_info_block *info_block, uint16_t queried_VBE_Version) | 
|   | Returns information about graphic's controller in the info_block structure.  More...
  | 
|   | 
| uint32_t  | VBE_mode_information (VBE_mode_info_block *info_block, uint16_t mode_number) | 
|   | Fills structure info_block with informations about selected mode in mode_number variable.  More...
  | 
|   | 
| uint32_t  | VBE_set_mode (uint16_t mode_number, VBE_CRTC_info_block *info_block) | 
|   | Sets graphics mode selected. If mode has refreshRateCtrl bit set, than the info_block must be filled accordingly.  More...
  | 
|   | 
| uint32_t  | VBE_current_mode (uint16_t *mode_number) | 
|   | Get currently set mode number.  More...
  | 
|   | 
| uint32_t  | VBE_report_DDC_capabilities (uint16_t controller_unit_number, uint8_t *seconds_to_transfer_EDID_block, uint8_t *DDC_level_supported) | 
|   | Gets information about display data channel implemented in the graphic's controller.  More...
  | 
|   | 
| uint32_t  | VBE_read_EDID (uint16_t controller_unit_number, uint16_t EDID_block_number, EDID_edid1 *buffer) | 
|   | Reads selected EDID block from display attached to controller's interface.  More...
  | 
|   | 
Headers specific for framebuffer drivers utilizing VESA VBE. 
 
◆ VBE_controller_information()
      
        
          | uint32_t VBE_controller_information  | 
          ( | 
          VBE_vbe_info_block *  | 
          info_block,  | 
        
        
           | 
           | 
          uint16_t  | 
          queried_VBE_Version  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Returns information about graphic's controller in the info_block structure. 
- Parameters
 - 
  
    | [out] | info_block | pointer to the struct to be filled with controller information  | 
    | [in] | queried_VBE_Version | if >0x200 then video bios is asked to fill in parameters which appeared with second version of VBE.  | 
  
   
- Return values
 - 
  
    | ax | register content as defined in VBE RETURN STATUS paragraph  | 
    | -1 | error calling graphical bios  | 
  
   
 
 
◆ VBE_current_mode()
      
        
          | uint32_t VBE_current_mode  | 
          ( | 
          uint16_t *  | 
          mode_number | ) | 
           | 
        
      
 
Get currently set mode number. 
- Parameters
 - 
  
    | [out] | mode_number | variable to be filled with current mode number  | 
  
   
- Return values
 - 
  
    | ax | register content as defined in VBE RETURN STATUS paragraph  | 
    | -1 | error calling graphical bios  | 
  
   
 
 
◆ VBE_mode_information()
      
        
          | uint32_t VBE_mode_information  | 
          ( | 
          VBE_mode_info_block *  | 
          info_block,  | 
        
        
           | 
           | 
          uint16_t  | 
          mode_number  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Fills structure info_block with informations about selected mode in mode_number variable. 
- Parameters
 - 
  
    | [out] | info_block | pointer to the struct to be filled with mode information  | 
    | [in] | mode_number | detailes of this mode to be filled  | 
  
   
- Return values
 - 
  
    | ax | register content as defined in VBE RETURN STATUS paragraph  | 
    | -1 | error calling graphical bios  | 
  
   
 
 
◆ VBE_read_EDID()
      
        
          | uint32_t VBE_read_EDID  | 
          ( | 
          uint16_t  | 
          controller_unit_number,  | 
        
        
           | 
           | 
          uint16_t  | 
          EDID_block_number,  | 
        
        
           | 
           | 
          EDID_edid1 *  | 
          buffer  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Reads selected EDID block from display attached to controller's interface. 
- Parameters
 - 
  
    | [in] | controller_unit_number |  | 
    | [in] | EDID_block_number | block no. to be read from the display  | 
    | [out] | buffer | place to store block fetched from the display  | 
  
   
- Return values
 - 
  
    | ax | register content as defined in VBE RETURN STATUS paragraph  | 
    | -1 | error calling graphical bios  | 
  
   
 
 
◆ VBE_report_DDC_capabilities()
      
        
          | uint32_t VBE_report_DDC_capabilities  | 
          ( | 
          uint16_t  | 
          controller_unit_number,  | 
        
        
           | 
           | 
          uint8_t *  | 
          seconds_to_transfer_EDID_block,  | 
        
        
           | 
           | 
          uint8_t *  | 
          DDC_level_supported  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Gets information about display data channel implemented in the graphic's controller. 
- Parameters
 - 
  
    | [in] | controller_unit_number |  | 
    | [out] | seconds_to_transfer_EDID_block | approximate time to transfer one EDID block rounded up to seconds  | 
    | [out] | DDC_level_supported | contains DDC version supported and screen blanking state during transfer  | 
  
   
- Return values
 - 
  
    | ax | register content as defined in VBE RETURN STATUS paragraph  | 
    | -1 | error calling graphical bios  | 
  
   
 
 
◆ VBE_set_mode()
      
        
          | uint32_t VBE_set_mode  | 
          ( | 
          uint16_t  | 
          mode_number,  | 
        
        
           | 
           | 
          VBE_CRTC_info_block *  | 
          info_block  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Sets graphics mode selected. If mode has refreshRateCtrl bit set, than the info_block must be filled accordingly. 
- Parameters
 - 
  
    | [in] | mode_number | number of mode to be set  | 
    | [in] | info_block | pointer to struct containing refresh rate control info  | 
  
   
- Return values
 - 
  
    | ax | register content as defined in VBE RETURN STATUS paragraph  | 
    | -1 | error calling graphical bios  |