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

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.7/] [tools/] [src/] [librw11/] [Rw11CntlRK11.hpp] - Diff between revs 28 and 29

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

Rev 28 Rev 29
Line 1... Line 1...
// $Id: Rw11CntlRK11.hpp 627 2015-01-04 11:36:37Z mueller $
// $Id: Rw11CntlRK11.hpp 647 2015-02-17 22:35:36Z mueller $
//
//
// Copyright 2013-2015 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
// Copyright 2013-2015 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
//
//
// 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 21... Line 21...
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
 
 
 
 
/*!
/*!
  \file
  \file
  \version $Id: Rw11CntlRK11.hpp 627 2015-01-04 11:36:37Z mueller $
  \version $Id: Rw11CntlRK11.hpp 647 2015-02-17 22:35:36Z mueller $
  \brief   Declaration of class Rw11CntlRK11.
  \brief   Declaration of class Rw11CntlRK11.
*/
*/
 
 
#ifndef included_Retro_Rw11CntlRK11
#ifndef included_Retro_Rw11CntlRK11
#define included_Retro_Rw11CntlRK11 1
#define included_Retro_Rw11CntlRK11 1
Line 105... Line 105...
      static const uint16_t kRKCS_M_MEX  = 000060;
      static const uint16_t kRKCS_M_MEX  = 000060;
      static const uint16_t kRKCS_V_MEX  = 4;
      static const uint16_t kRKCS_V_MEX  = 4;
      static const uint16_t kRKCS_B_MEX  = 0003;
      static const uint16_t kRKCS_B_MEX  = 0003;
      static const uint16_t kRKCS_V_FUNC = 1;
      static const uint16_t kRKCS_V_FUNC = 1;
      static const uint16_t kRKCS_B_FUNC = 0007;
      static const uint16_t kRKCS_B_FUNC = 0007;
      static const uint16_t kRKCS_CRESET = 0;
 
      static const uint16_t kRKCS_WRITE  = 1;
 
      static const uint16_t kRKCS_READ   = 2;
 
      static const uint16_t kRKCS_WCHK   = 3;
 
      static const uint16_t kRKCS_SEEK   = 4;
 
      static const uint16_t kRKCS_RCHK   = 5;
 
      static const uint16_t kRKCS_DRESET = 6;
 
      static const uint16_t kRKCS_WLOCK  = 7;
 
      static const uint16_t kRKCS_M_GO   = kWBit00;
      static const uint16_t kRKCS_M_GO   = kWBit00;
 
 
 
      static const uint16_t kFUNC_CRESET = 0;
 
      static const uint16_t kFUNC_WRITE  = 1;
 
      static const uint16_t kFUNC_READ   = 2;
 
      static const uint16_t kFUNC_WCHK   = 3;
 
      static const uint16_t kFUNC_SEEK   = 4;
 
      static const uint16_t kFUNC_RCHK   = 5;
 
      static const uint16_t kFUNC_DRESET = 6;
 
      static const uint16_t kFUNC_WLOCK  = 7;
 
 
      static const uint16_t kRKDA_M_DRSEL= 0160000;
      static const uint16_t kRKDA_M_DRSEL= 0160000;
      static const uint16_t kRKDA_V_DRSEL= 13;
      static const uint16_t kRKDA_V_DRSEL= 13;
      static const uint16_t kRKDA_B_DRSEL= 0007;
      static const uint16_t kRKDA_B_DRSEL= 0007;
      static const uint16_t kRKDA_M_CYL  = 0017740;
      static const uint16_t kRKDA_M_CYL  = 0017740;
      static const uint16_t kRKDA_V_CYL  =  5;
      static const uint16_t kRKDA_V_CYL  =  5;
Line 148... Line 149...
        kDimStat
        kDimStat
      };
      };
 
 
    protected:
    protected:
      int           AttnHandler(RlinkServer::AttnArgs& args);
      int           AttnHandler(RlinkServer::AttnArgs& args);
      void          RdmaPreExecCB(int stat, size_t nword,
      void          RdmaPreExecCB(int stat, size_t nwdone, size_t nwnext,
                                  RlinkCommandList& clist);
                                  RlinkCommandList& clist);
      void          RdmaPostExecCB(int stat, size_t ndone,
      void          RdmaPostExecCB(int stat, size_t ndone,
                                   RlinkCommandList& clist, size_t ncmd);
                                   RlinkCommandList& clist, size_t ncmd);
      void          LogRker(uint16_t rker);
      void          LogRker(uint16_t rker);
      void          AddErrorExit(RlinkCommandList& clist, uint16_t rker);
      void          AddErrorExit(RlinkCommandList& clist, uint16_t rker);

powered by: WebSVN 2.1.0

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