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

Subversion Repositories aemb

[/] [aemb/] [trunk/] [sw/] [cc/] [aemb/] [stack.hh] - Diff between revs 139 and 141

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

Rev 139 Rev 141
Line 1... Line 1...
/* $Id: stack.hh,v 1.5 2008-04-26 19:31:35 sybreon Exp $
/* $Id: stack.hh,v 1.6 2008-04-27 16:04:42 sybreon Exp $
**
**
** AEMB2 HI-PERFORMANCE CPU
** AEMB2 HI-PERFORMANCE CPU
** Copyright (C) 2004-2007 Shawn Tan Ser Ngiap 
** Copyright (C) 2004-2007 Shawn Tan Ser Ngiap 
**
**
** This file is part of AEMB.
** This file is part of AEMB.
Line 98... Line 98...
     @param newp new stack pointer
     @param newp new stack pointer
     @param oldp old stack pointer
     @param oldp old stack pointer
     @param endp end of the stack
     @param endp end of the stack
  */
  */
 
 
  inline void dupStack(int *newp, int *oldp, int *endp)
  inline void dupStack(unsigned int *newp, unsigned int *oldp, unsigned int *endp)
  {
  {
    while (oldp < endp)
    while (oldp < endp)
      {
      {
        // copy the stack content
        // copy the stack content
        *newp = *oldp;
        *newp = *oldp;
Line 119... Line 119...
 
 
#endif
#endif
 
 
/*
/*
  $Log: not supported by cvs2svn $
  $Log: not supported by cvs2svn $
 
  Revision 1.5  2008/04/26 19:31:35  sybreon
 
  Made headers C compatible.
 
 
  Revision 1.4  2008/04/26 18:04:31  sybreon
  Revision 1.4  2008/04/26 18:04:31  sybreon
  Updated software to freeze T0 and run T1.
  Updated software to freeze T0 and run T1.
 
 
  Revision 1.3  2008/04/23 14:19:39  sybreon
  Revision 1.3  2008/04/23 14:19:39  sybreon
  Fixed minor bugs.
  Fixed minor bugs.

powered by: WebSVN 2.1.0

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