OpenCores
URL https://opencores.org/ocsvn/w11/w11/trunk

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.6/] [tools/] [src/] [librw11/] [Rw11UnitDiskBase.ipp] - Diff between revs 20 and 21

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 20 Rev 21
Line 1... Line 1...
// $Id: Rw11UnitDiskBase.ipp 509 2013-04-21 20:46:20Z mueller $
// $Id: Rw11UnitDiskBase.ipp 515 2013-05-04 17:28:59Z mueller $
//
//
// Copyright 2013- by Walter F.J. Mueller 
// Copyright 2013- by Walter F.J. Mueller 
//
//
// This program is free software; you may redistribute and/or modify it under
// This program is free software; you may redistribute and/or modify it under
// the terms of the GNU General Public License as published by the Free
// the terms of the GNU General Public License as published by the Free
Line 11... Line 11...
// or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
// or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
// for complete details.
// for complete details.
//
//
// Revision History:
// Revision History:
// Date         Rev Version  Comment
// Date         Rev Version  Comment
 
// 2013-05-03   515   1.1    use AttachDone(),DetachCleanup(),DetachDone()
// 2013-04-14   506   1.0    Initial version
// 2013-04-14   506   1.0    Initial version
// 2013-02-22   490   0.1    First draft
// 2013-02-22   490   0.1    First draft
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
 
 
/*!
/*!
  \file
  \file
  \version $Id: Rw11UnitDiskBase.ipp 509 2013-04-21 20:46:20Z mueller $
  \version $Id: Rw11UnitDiskBase.ipp 515 2013-05-04 17:28:59Z mueller $
  \brief   Implemenation (inline) of Rw11UnitDiskBase.
  \brief   Implemenation (inline) of Rw11UnitDiskBase.
*/
*/
 
 
#include "Rw11UnitDiskBase.hpp"
#include "Rw11UnitDiskBase.hpp"
 
 
Line 74... Line 75...
 
 
//------------------------------------------+-----------------------------------
//------------------------------------------+-----------------------------------
//! FIXME_docs
//! FIXME_docs
 
 
template 
template 
void  Rw11UnitDiskBase::AttachSetup()
void  Rw11UnitDiskBase::AttachDone()
{
{
  Virt()->Setup(BlockSize(), NBlock());
  Virt()->Setup(BlockSize(), NBlock());
  Cntl().UnitSetup(Index());
  Cntl().UnitSetup(Index());
  return;
  return;
}
}
Line 86... Line 87...
 
 
//------------------------------------------+-----------------------------------
//------------------------------------------+-----------------------------------
//! FIXME_docs
//! FIXME_docs
 
 
template 
template 
void  Rw11UnitDiskBase::DetachCleanup()
void  Rw11UnitDiskBase::DetachDone()
{
{
  SetWProt(false);
  SetWProt(false);
  Cntl().UnitSetup(Index());
  Cntl().UnitSetup(Index());
  return;
  return;
}
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.