Ignore:
Timestamp:
Mar 26, 2014, 6:44:44 PM (11 years ago)
Author:
alain
Message:

Introducing a major release, to suppoort the tsar_generic_leti platform
and the various (external or internal) peripherals configurations.
The map.xml format has been modified, in order to support the new
vci_iopic componentand a new policy for peripherals initialisation.
The IRQs are nom described in the XICU and IOPIC components
(and not anymore in the processors).
To enforce this major change, the map.xml file signature changed:
The signature value must be: 0xDACE2014

This new release has been tested on the tsar_generic_leti platform
for the following mappings:

  • 4c_4p_sort_leti
  • 4c_4p_sort_leti_ext
  • 4c_4p_transpose_leti
  • 4c_4p_transpose_leti_ext
  • 4c_1p_four_leti_ext
File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_common/vmem.c

    r258 r295  
    2525// _iommu_add_pte2()
    2626//////////////////////////////////////////////////////////////////////////////
    27 void _iommu_add_pte2(
    28         unsigned int ix1,
    29         unsigned int ix2,
    30         unsigned int ppn,
    31         unsigned int flags)
     27void _iommu_add_pte2( unsigned int ix1,
     28                      unsigned int ix2,
     29                      unsigned int ppn,
     30                      unsigned int flags )
    3231{
    3332    unsigned int ptba;
     
    4140    if ((pt->pt1[ix1] & PTE_V) == 0)
    4241    {
    43         _tty_get_lock( 0 );
    44         _puts("\n[GIET ERROR] in iommu_add_pte2 function\n");
    45         _puts("the IOMMU PT1 entry is not mapped / ix1 = ");
    46         _putx( ix1 );
    47         _puts("\n");
    48         _tty_release_lock( 0 );
     42        _printf("\n[GIET ERROR] in iommu_add_pte2() : "
     43                "IOMMU PT1 entry not mapped / ix1 = %d\n", ix1 );
    4944        _exit();
    5045    }
     
    6358// _iommu_inval_pte2()
    6459//////////////////////////////////////////////////////////////////////////////
    65 void _iommu_inval_pte2(unsigned int ix1, unsigned int ix2) {
     60void _iommu_inval_pte2( unsigned int ix1,
     61                        unsigned int ix2 )
     62{
    6663    unsigned int ptba;
    6764    unsigned int * pt_flags;
     
    7370    if ((pt->pt1[ix1] & PTE_V) == 0)
    7471    {
    75         _puts("\n[GIET ERROR] in iommu_inval_pte2 function\n");
    76         _puts("the IOMMU PT1 entry is not mapped / ix1 = ");
    77         _putx( ix1 );
    78         _puts("\n");
     72        _printf("\n[GIET ERROR] in iommu_inval_pte2() "
     73              "IOMMU PT1 entry not mapped / ix1 = %d\n", ix1 );
    7974        _exit();
    8075    }
     
    9590                             unsigned int   vpn,
    9691                             unsigned int*  ppn,
    97                              unsigned int*  flags)
     92                             unsigned int*  flags )
    9893{
    9994    unsigned long long ptba;
Note: See TracChangeset for help on using the changeset viewer.