Ignore:
Timestamp:
Dec 18, 2011, 10:28:22 PM (14 years ago)
Author:
dmik
Message:

Merge branch gcc-kmk to trunk.

Location:
trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore
      •  

        old new  
        1 bin
        2 Makefile.inc
         1env.cmd
         2LocalConfig.kmk
    • Property svn:mergeinfo set to
      /branches/gcc-kmkmergedeligible
  • trunk/src/win32k/include/ModuleBase.h

    r5093 r21916  
    5555 */
    5656#define printIPE(a) (ModuleBase::ulInfoLevel >= ModuleBase::Error ? \
    57                      ModuleBase::printf("\nerror(%d:"__FUNCTION__"): !Internal Processing Error!\n\t", __LINE__), \
     57                     ModuleBase::printf("\nerror(%d:%s): !Internal Processing Error!\n\t", __LINE__, __FUNCTION__), \
    5858                     ModuleBase::printf a,  \
    5959                     ModuleBase::printf("\n")  \
    6060                     : (void)0,(void)0,(void)0 )
    6161#define printErr(a) (ModuleBase::ulInfoLevel >= ModuleBase::Error ? \
    62                      ModuleBase::printf("error(%d:"__FUNCTION__"): ", __LINE__), \
     62                     ModuleBase::printf("error(%d:%s: ", __LINE__, __FUNCTION__), \
    6363                     ModuleBase::printf a  \
    6464                     : (void)0,(void)0 )
    6565#define printWar(a) (ModuleBase::ulInfoLevel >= ModuleBase::Warning ? \
    66                      ModuleBase::printf("warning("__FUNCTION__"): "), \
     66                     ModuleBase::printf("warning(%s): ", __FUNCTION__), \
    6767                     ModuleBase::printf a  \
    6868                     : (void)0,(void)0 )
  • trunk/src/win32k/include/OS2KLDR.h

    r6229 r21916  
    3636
    3737/* ote_flags */
    38 #ifndef __EXE386__
     38#if !defined(__EXE386__) && !defined(_LXexe_h_)
    3939  #define OBJREAD       0x00000001L     /* Readable Object */
    4040  #define OBJWRITE      0x00000002L     /* Writeable Object */
     
    4747#endif
    4848#define OBJZEROFIL      0x00000100L     /* Object has zero-filled pages */
    49 #ifndef __EXE386__
     49#if !defined(__EXE386__) && !defined(_LXexe_h_)
    5050  #define OBJRESIDENT   0x00000200L     /* Object is resident */
    5151  #define OBJCONTIG     0x00000300L     /* Object is resident and contiguous */
  • trunk/src/win32k/include/asmutils.h

    r2511 r21916  
    2929    extern int _System Int3(void);
    3030#else
     31#ifdef __GNUC__
     32    #define _Inline static inline
     33    #define __interrupt(n) ({ __asm__ __volatile__ ("int" #n "\n\tnop"); })
     34#else
    3135    #include <builtin.h>
     36#endif
    3237    #define Int3() __interrupt(3)
    3338#endif
  • trunk/src/win32k/include/new.h

    r1678 r21916  
    1212#define _new_h_
    1313
     14#ifdef __IBMC__
    1415/* check for IBMCPP new.h */
    1516#ifdef __new_h
     
    2324    typedef  unsigned int size_t;
    2425#endif
     26#endif
     27
     28#ifdef __GNUC__
     29#include <stddef.h>
     30#endif
    2531
    2632#ifndef __DEBUG_ALLOC__
    2733/* The standard favourites */
    2834void *operator new(size_t size);
    29 void *operator new(size_t size, void *location);  /* stub */
     35void *operator new(size_t size, void *location) throw();    /* stub */
    3036
    31 void *operator new[](size_t size);                /* stub */
    32 void *operator new[](size_t size, void *location);/* stub */
     37void *operator new[](size_t size) throw();                  /* stub */
     38void *operator new[](size_t size, void *location) throw();  /* stub */
    3339
    3440void operator delete(void *location);
    35 void operator delete[](void *location);           /* stub */
     41void operator delete[](void *location) throw();             /* stub */
    3642#endif
    3743
  • trunk/src/win32k/include/sprintf.h

    r1678 r21916  
    3131 */
    3232#undef va_start
     33#ifdef __GNUC__
     34#define __nextword(base) (((unsigned)(sizeof(base))+3U)&~(3U))
     35#endif
    3336#define va_start(ap, last) ap = ((va_list)SSToDS(&last)) + __nextword(last)
    3437
  • trunk/src/win32k/include/vprintf.h

    r1678 r21916  
    3232 */
    3333#undef va_start
     34#ifdef __GNUC__
     35#define __nextword(base) (((unsigned)(sizeof(base))+3U)&~(3U))
     36#endif
    3437#define va_start(ap, last) ap = ((va_list)SSToDS(&last)) + __nextword(last)
    3538
Note: See TracChangeset for help on using the changeset viewer.