LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Advertise
  • Mirrors
  • Logos
  • Contact us
  • Job Opportunity
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Cvs-checkins > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: cvs at opencores.org<cvs@o...>
    Date: Sat Apr 26 20:05:22 CEST 2008
    Subject: [cvs-checkins] MODIFIED: aemb ...
    Top
    Date: 00/08/04 26:20:05

    Modified: aemb/sw/cc/aemb heap.hh msr.hh stdio.hh thread.hh
    Log:
    Minor cosmetic changes.


    Revision Changes Path
    1.3 aemb/sw/cc/aemb/heap.hh

    http://www.opencores.org/cvsweb.shtml/aemb/sw/cc/aemb/heap.hh.diff?r1=1.2&r2=1.3

    (In the diff below, changes in quantity of whitespace are not shown.)

    Index: heap.hh
    ===================================================================
    RCS file: /cvsroot/sybreon/aemb/sw/cc/aemb/heap.hh,v
    retrieving revision 1.2
    retrieving revision 1.3
    diff -u -b -r1.2 -r1.3
    --- heap.hh 20 Apr 2008 16:35:53 -0000 1.2
    +++ heap.hh 26 Apr 2008 18:05:22 -0000 1.3
    @@ -1,4 +1,4 @@
    -/* $Id: heap.hh,v 1.2 2008/04/20 16:35:53 sybreon Exp $
    +/* $Id: heap.hh,v 1.3 2008/04/26 18:05:22 sybreon Exp $
    **
    ** AEMB2 HI-PERFORMANCE CPU
    ** Copyright (C) 2004-2007 Shawn Tan Ser Ngiap <shawn.tan@a...>
    @@ -27,9 +27,7 @@
    #ifndef AEMB_HEAP_HH
    #define AEMB_HEAP_HH

    -#ifdef __cplusplus
    namespace aemb {
    -#endif

    /**
    Extracts the heap size from the linker
    @@ -66,14 +64,17 @@
    asm ("la %0, r0, _heap":"=r"(tmp));
    return tmp;
    }
    -#ifdef __cplusplus
    +
    }
    -#endif
    +

    #endif

    /*
    $Log: heap.hh,v $
    + Revision 1.3 2008/04/26 18:05:22 sybreon
    + Minor cosmetic changes.
    +
    Revision 1.2 2008/04/20 16:35:53 sybreon
    Added C/C++ compatible #ifdef statements




    1.6 aemb/sw/cc/aemb/msr.hh

    http://www.opencores.org/cvsweb.shtml/aemb/sw/cc/aemb/msr.hh.diff?r1=1.5&r2=1.6

    (In the diff below, changes in quantity of whitespace are not shown.)

    Index: msr.hh
    ===================================================================
    RCS file: /cvsroot/sybreon/aemb/sw/cc/aemb/msr.hh,v
    retrieving revision 1.5
    retrieving revision 1.6
    diff -u -b -r1.5 -r1.6
    --- msr.hh 20 Apr 2008 16:35:53 -0000 1.5
    +++ msr.hh 26 Apr 2008 18:05:22 -0000 1.6
    @@ -1,4 +1,4 @@
    -/* $Id: msr.hh,v 1.5 2008/04/20 16:35:53 sybreon Exp $
    +/* $Id: msr.hh,v 1.6 2008/04/26 18:05:22 sybreon Exp $
    **
    ** AEMB2 HI-PERFORMANCE CPU
    ** Copyright (C) 2004-2007 Shawn Tan Ser Ngiap <shawn.tan@a...>
    @@ -30,9 +30,7 @@
    #ifndef AEMB_MSR_HH
    #define AEMB_MSR_HH

    -#ifdef __cplusplus
    namespace aemb {
    -#endif

    const int MSR_BE = 0x00000001; ///< Buslock Enable
    const int MSR_IE = 0x00000002; ///< Interrupt Enable
    @@ -132,14 +130,15 @@
    putMSR(getMSR() & ~MSR_ICE);
    }

    -#ifdef __cplusplus
    }
    -#endif

    #endif

    /*
    $Log: msr.hh,v $ + Revision 1.6 2008/04/26 18:05:22 sybreon + Minor cosmetic changes. + Revision 1.5 2008/04/20 16:35:53 sybreon Added C/C++ compatible #ifdef statements 1.2 aemb/sw/cc/aemb/stdio.hh http://www.opencores.org/cvsweb.shtml/aemb/sw/cc/aemb/stdio.hh.diff?r1=1.1&r2=1.2 (In the diff below, changes in quantity of whitespace are not shown.) Index: stdio.hh =================================================================== RCS file: /cvsroot/sybreon/aemb/sw/cc/aemb/stdio.hh,v retrieving revision 1.1 retrieving revision 1.2 diff -u -b -r1.1 -r1.2 --- stdio.hh 9 Apr 2008 19:48:37 -0000 1.1 +++ stdio.hh 26 Apr 2008 18:05:22 -0000 1.2 @@ -1,4 +1,4 @@ -/* $Id: stdio.hh,v 1.1 2008/04/09 19:48:37 sybreon Exp $ +/* $Id: stdio.hh,v 1.2 2008/04/26 18:05:22 sybreon Exp $ ** ** AEMB2 HI-PERFORMANCE CPU ** Copyright (C) 2004-2007 Shawn Tan Ser Ngiap <shawn.tan@a...> @@ -32,23 +32,33 @@ #ifndef AEMB_STDIO_HH #define AEMB_STDIO_HH - -#ifdef __cplusplus extern "C" { -#endif + /** + Default stdout prototype. + @param c char + + This is used to output characters to LCD or UART. + */ void outbyte(char c); + + /** + Default stdin prototype. + @return char + + This is used to read characters in from UART or keyboard. + */ char inbyte(); -#ifdef __cplusplus } -#endif - #endif /* $Log: stdio.hh,v $ + Revision 1.2 2008/04/26 18:05:22 sybreon + Minor cosmetic changes. + Revision 1.1 2008/04/09 19:48:37 sybreon Added new C++ files 1.7 aemb/sw/cc/aemb/thread.hh http://www.opencores.org/cvsweb.shtml/aemb/sw/cc/aemb/thread.hh.diff?r1=1.6&r2=1.7 (In the diff below, changes in quantity of whitespace are not shown.) Index: thread.hh =================================================================== RCS file: /cvsroot/sybreon/aemb/sw/cc/aemb/thread.hh,v retrieving revision 1.6 retrieving revision 1.7 diff -u -b -r1.6 -r1.7 --- thread.hh 23 Apr 2008 14:19:39 -0000 1.6 +++ thread.hh 26 Apr 2008 18:05:22 -0000 1.7 @@ -1,4 +1,4 @@ -/* $Id: thread.hh,v 1.6 2008/04/23 14:19:39 sybreon Exp $ +/* $Id: thread.hh,v 1.7 2008/04/26 18:05:22 sybreon Exp $ ** ** AEMB2 HI-PERFORMANCE CPU ** Copyright (C) 2004-2007 Shawn Tan Ser Ngiap <shawn.tan@a...> @@ -32,9 +32,7 @@ #ifndef AEMB_THREAD_HH #define AEMB_THREAD_HH -#ifdef __cplusplus namespace aemb { -#endif /** Checks to see if currently executing Thread 1 @@ -138,14 +136,15 @@ } } -#ifdef __cplusplus } -#endif #endif /* $Log: thread.hh,v $ + Revision 1.7 2008/04/26 18:05:22 sybreon + Minor cosmetic changes. + Revision 1.6 2008/04/23 14:19:39 sybreon Fixed minor bugs. Initial use of hardware mutex.

     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.