source: soft/giet_vm/giet_drivers/fbf_driver.h @ 334

Last change on this file since 334 was 258, checked in by alain, 11 years ago

This is a major release, including a deep restructuration of code.
The main evolutions are

  • use of the Tsar preloader to load the GIET boot-loader from disk
  • introduction of a FAT32 file system library,
  • use of this fat32 library by the boot-loader to load the map.bin data structure, and the various .elf files
  • reorganisation of drivers (one file per peripheral).
  • introduction of drivers for new peripherals: vci_chbuf_dma and vci_multi_ahci.
  • introduction of a new physical memory allocator in the boot code.

This release has been tested on the tsar_generic_iob architecture,
for the two following mappings: 4c_1p_iob_four.xml and 4c_1p_iob_sort.xml

File size: 1.4 KB
Line 
1///////////////////////////////////////////////////////////////////////////////////
2// File     : fbf_driver.h
3// Date     : 01/11/2013
4// Author   : alain greiner
5// Copyright (c) UPMC-LIP6
6///////////////////////////////////////////////////////////////////////////////////
7
8#ifndef _GIET_FBF_DRIVERS_H_
9#define _GIET_FBF_DRIVERS_H_
10
11///////////////////////////////////////////////////////////////////////////////////
12// Frame Buffer access functions  (vci_frame_buffer)
13///////////////////////////////////////////////////////////////////////////////////
14
15extern unsigned int _fb_sync_write( unsigned int offset, 
16                                    const void * buffer, 
17                                    unsigned int length );
18
19extern unsigned int _fb_sync_read(  unsigned int offset, 
20                                    void *       buffer, 
21                                    unsigned int length );
22
23extern unsigned int _fb_cma_init( const void*  vbase0,
24                                  const void*  vbase1,
25                                  unsigned int length );
26
27extern unsigned int _fb_cma_write( unsigned int buffer_id );
28
29extern unsigned int _fb_cma_stop();
30
31///////////////////////////////////////////////////////////////////////////////////
32
33
34#endif
35
36// Local Variables:
37// tab-width: 4
38// c-basic-offset: 4
39// c-file-offsets:((innamespace . 0)(inline-open . 0))
40// indent-tabs-mode: nil
41// End:
42// vim: filetype=c:expandtab:shiftwidth=4:tabstop=4:softtabstop=4
43
Note: See TracBrowser for help on using the repository browser.