Author: arty
Date: Sun May 13 11:25:25 2007
New Revision: 26745
URL: http://svn.reactos.org/svn/reactos?rev=26745&view=rev
Log:
Removed.
Removed:
branches/powerpc/reactos/boot/freeldr/freeldr/include/mmu.h
Removed: branches/powerpc/reactos/boot/freeldr/freeldr/include/mmu.h
URL: http://svn.reactos.org/svn/reactos/branches/powerpc/reactos/boot/freeldr/fr…
==============================================================================
--- branches/powerpc/reactos/boot/freeldr/freeldr/include/mmu.h (original)
+++ branches/powerpc/reactos/boot/freeldr/freeldr/include/mmu.h (removed)
@@ -1,25 +1,0 @@
-#ifndef FREELDR_MMU_H
-#define FREELDR_MMU_H
-
-extern int mmu_handle;
-
-int GetDEC();
-int GetMSR();
-int GetPhys( int addr );
-int GetPhysHalf( int addr );
-int GetPhysByte( int addr );
-void SetPhys( int addr, int val );
-void SetPhysHalf( int addr, int val );
-void SetPhysByte( int addr, int val );
-int GetSR(int n);
-void GetBat( int bat, int inst, int *batHi, int *batLo );
-void SetBat( int bat, int inst, int batHi, int batLo );
-int GetSDR1();
-void SetSDR1( int newsdr );
-int BatHit( int bath, int batl, int virt );
-int BatTranslate( int bath, int batl, int virt );
-/* translate address */
-int PpcVirt2phys( int virt, int inst );
-BOOLEAN InsertPageEntry( int virt, int phys, int slot, int sdr );
-
-#endif/*FREELDR_MMU_H*/
Author: tkreuzer
Date: Sun May 13 04:57:09 2007
New Revision: 26742
URL: http://svn.reactos.org/svn/reactos?rev=26742&view=rev
Log:
On win XP the gdi handle index can be > 0x3fff, so change GDI_HANDLE_INDEX_MASK to 0x0000ffff to not fail on win XP on higher handle index.
Modified:
trunk/rostests/win32/gdi32/gditest.h
Modified: trunk/rostests/win32/gdi32/gditest.h
URL: http://svn.reactos.org/svn/reactos/trunk/rostests/win32/gdi32/gditest.h?rev…
==============================================================================
--- trunk/rostests/win32/gdi32/gditest.h (original)
+++ trunk/rostests/win32/gdi32/gditest.h Sun May 13 04:57:09 2007
@@ -19,7 +19,7 @@
printf("Test failed in %s:%d (%s)\n", __FILE__, __LINE__, #x);\
};
-#define GDI_HANDLE_INDEX_MASK 0x00003fff // (GDI_HANDLE_COUNT - 1)
+#define GDI_HANDLE_INDEX_MASK 0x0000ffff // (GDI_HANDLE_COUNT - 1)
#define GDI_HANDLE_TYPE_MASK 0x007f0000
#define GDI_HANDLE_STOCK_MASK 0x00800000
#define GDI_HANDLE_REUSE_MASK 0xff000000