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 May 26 21:57:32 CEST 2007
    Subject: [cvs-checkins] MODIFIED: mlite ...
    Top
    Date: 00/07/05 26:21:57

    Modified: mlite/kernel rtos.h
    Log:
    Don't use built in functions


    Revision Changes Path
    1.10 mlite/kernel/rtos.h

    http://www.opencores.org/cvsweb.shtml/mlite/kernel/rtos.h.diff?r1=1.9&r2=1.10

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

    Index: rtos.h
    ===================================================================
    RCS file: /cvsroot/rhoads/mlite/kernel/rtos.h,v
    retrieving revision 1.9
    retrieving revision 1.10
    diff -u -b -r1.9 -r1.10
    --- rtos.h 21 May 2007 02:42:21 -0000 1.9
    +++ rtos.h 26 May 2007 19:57:32 -0000 1.10
    @@ -55,9 +55,6 @@
    #define isalpha(c) (islower(c)||isupper(c))
    #define isalnum(c) (isalpha(c)||isdigit(c))
    #define min(a,b) ((a)<(b)?(a):(b))
    -#define memcpy memcpy2 //don't use built in version
    -
    -#ifdef WIN32
    #define strcpy strcpy2 //don't use intrinsic functions
    #define strcat strcat2
    #define strcmp strcmp2
    @@ -66,7 +63,6 @@
    #define memcmp memcmp2
    #define memset memset2
    #define abs abs2
    -#endif

    char *strcpy(char *dst, const char *src);
    char *strncpy(char *dst, const char *src, int count);
    @@ -301,6 +297,11 @@
    int packetSize,
    OS_MQueue_t *mQueue);
    void UartPacketSend(uint8 *data, int bytes);
    +#ifdef WIN32
    +#define puts puts2
    +#define getch getch2
    +#define kbhit kbhit2
    +#endif
    int puts(const char *string);
    int getch(void);
    int kbhit(void);



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