Ignore:
Timestamp:
Nov 3, 2014, 10:53:00 AM (10 years ago)
Author:
alain
Message:

Introducing dynamic allocation of peripheral channel(TTY, NIC, TIM, CMA)
Removint the ICU driver : ICU component not supported anymore.
Removing the FBF driver.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_drivers/pic_driver.c

    r413 r437  
    55// Copyright (c) UPMC-LIP6
    66///////////////////////////////////////////////////////////////////////////////////
    7 // Implementation note:
    8 // All physical accesses to device registers are done by the two
    9 // _pic_get_register(), _pic_set_register() low-level functions,
    10 // that are handling virtual / physical addressing.
    11 ///////////////////////////////////////////////////////////////////////////////////
    127
    138#include <pic_driver.h>
     9#include <giet_config.h>
     10#include <hard_config.h>
    1411#include <utils.h>
    1512
     
    1815#endif
    1916
    20 /////////////////////////////////////////////////////////////////////////////////
     17/////////////////////////////////////////////////////
    2118unsigned int _pic_get_register( unsigned int channel,
    2219                                unsigned int index )
     
    2623}
    2724
    28 /////////////////////////////////////////////////////////////////////////////////
     25/////////////////////////////////////////////
    2926void _pic_set_register( unsigned int channel,
    3027                        unsigned int index,
     
    3633
    3734
    38 /////////////////////////////////////////////////////////////////////////////////
     35/////////////////////////////////////
    3936void _pic_init( unsigned int channel,      // source PIC HWI channel
    4037                unsigned int vaddr,        // dest XCU WTI address
     
    4643}
    4744
    48 /////////////////////////////////////////////////////////////////////////////////
     45////////////////////////////////////////////////////
    4946unsigned int _pic_get_status( unsigned int channel )
    5047{
Note: See TracChangeset for help on using the changeset viewer.