Ignore:
Timestamp:
Feb 8, 2015, 1:12:23 PM (9 years ago)
Author:
alain
Message:

1) Introduce access functions to MMC intrumentation registers.
2) Use _printf for error or debug messages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_drivers/ioc_driver.h

    r437 r496  
    1 ///////////////////////////////////////////////////////////////////////////////////
     1///////////////////////////////////////////////////////////////////////////////
    22// File     : ioc_driver.h
    33// Date     : 01/11/2013
    44// Author   : alain greiner
    55// Copyright (c) UPMC-LIP6
    6 ///////////////////////////////////////////////////////////////////////////////////
     6///////////////////////////////////////////////////////////////////////////////
    77// The ioc_driver.c and ioc_driver.h files are part ot the GIET-VM kernel.
    88//
     
    6969// The user buffer is unmapped by the _ioc_completed() function when
    7070// the transfer is completed.
    71 ///////////////////////////////////////////////////////////////////////////////////
     71///////////////////////////////////////////////////////////////////////////////
    7272
    7373#ifndef _GIET_IOC_DRIVER_H_
    7474#define _GIET_IOC_DRIVER_H_
    7575
    76 ///////////////////////////////////////////////////////////////////////////////////
     76///////////////////////////////////////////////////////////////////////////////
    7777// IOC (vci_block device) registers offsets
    78 ///////////////////////////////////////////////////////////////////////////////////
     78///////////////////////////////////////////////////////////////////////////////
    7979
    8080enum IOC_driver_modes
     
    8585};
    8686
    87 ///////////////////////////////////////////////////////////////////////////////////
    88 // IOC global variables (generic disk controller)
    89 ///////////////////////////////////////////////////////////////////////////////////
     87///////////////////////////////////////////////////////////////////////////////
     88//      External global variables
     89///////////////////////////////////////////////////////////////////////////////
    9090
    9191extern volatile unsigned int _ioc_iommu_ix1;
    9292extern volatile unsigned int _ioc_iommu_npages;
    9393
    94 ///////////////////////////////////////////////////////////////////////////////////
     94///////////////////////////////////////////////////////////////////////////////
    9595//      External functions                           
    96 ///////////////////////////////////////////////////////////////////////////////////
     96///////////////////////////////////////////////////////////////////////////////
    9797
    9898///////////////////////////////////////////////////////////////////////////////
Note: See TracChangeset for help on using the changeset viewer.