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

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.61/] [tools/] [src/] [librw11/] [Rw11VirtDisk.ipp] - Blame information for rev 26

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 20 wfjm
// $Id: Rw11VirtDisk.ipp 509 2013-04-21 20:46:20Z mueller $
2
//
3
// Copyright 2013- by Walter F.J. Mueller 
4
//
5
// This program is free software; you may redistribute and/or modify it under
6
// the terms of the GNU General Public License as published by the Free
7
// Software Foundation, either version 2, or at your option any later version.
8
//
9
// This program is distributed in the hope that it will be useful, but
10
// WITHOUT ANY WARRANTY, without even the implied warranty of MERCHANTABILITY
11
// or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
12
// for complete details.
13
//
14
// Revision History:
15
// Date         Rev Version  Comment
16
// 2013-03-03   494   1.0    Initial version
17
// 2013-02-19   490   0.1    First draft
18
// ---------------------------------------------------------------------------
19
 
20
/*!
21
  \file
22
  \version $Id: Rw11VirtDisk.ipp 509 2013-04-21 20:46:20Z mueller $
23
  \brief   Implemenation (inline) of Rw11VirtDisk.
24
*/
25
 
26
// all method definitions in namespace Retro
27
namespace Retro {
28
 
29
//------------------------------------------+-----------------------------------
30
//! FIXME_docs
31
 
32
inline void Rw11VirtDisk::Setup(size_t blksize, size_t nblock)
33
{
34
  fBlkSize = blksize;
35
  fNBlock  = nblock;
36
  return;
37
}
38
 
39
//------------------------------------------+-----------------------------------
40
//! FIXME_docs
41
 
42
inline size_t Rw11VirtDisk::BlockSize() const
43
{
44
  return fBlkSize;
45
}
46
 
47
//------------------------------------------+-----------------------------------
48
//! FIXME_docs
49
 
50
inline size_t Rw11VirtDisk::NBlock() const
51
{
52
  return fNBlock;
53
}
54
 
55
} // end namespace Retro

powered by: WebSVN 2.1.0

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