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;
|
}
|
}
|