ReactOS.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
June
May
April
March
February
January
2005
December
November
October
September
August
July
June
May
April
March
February
January
2004
December
November
October
September
August
July
June
May
April
March
February
List overview
Download
Ros-diffs
December 2009
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
----- 2005 -----
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
----- 2004 -----
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
ros-diffs@reactos.org
22 participants
501 discussions
Start a n
N
ew thread
[jimtabor] 44792: [Win32k] - Added two new function's to support thread and process information free attribute list support.
by jimtabor@svn.reactos.org
Author: jimtabor Date: Mon Dec 28 08:02:32 2009 New Revision: 44792 URL:
http://svn.reactos.org/svn/reactos?rev=44792&view=rev
Log: [Win32k] - Added two new function's to support thread and process information free attribute list support. Modified: trunk/reactos/subsystems/win32/win32k/main/dllmain.c trunk/reactos/subsystems/win32/win32k/objects/dcattr.c Modified: trunk/reactos/subsystems/win32/win32k/main/dllmain.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ma…
============================================================================== --- trunk/reactos/subsystems/win32/win32k/main/dllmain.c [iso-8859-1] (original) +++ trunk/reactos/subsystems/win32/win32k/main/dllmain.c [iso-8859-1] Mon Dec 28 08:02:32 2009 @@ -113,6 +113,9 @@ InitializeListHead(&Win32Process->ClassList); InitializeListHead(&Win32Process->MenuListHead); + + InitializeListHead(&Win32Process->GDIBrushAttrFreeList); + InitializeListHead(&Win32Process->GDIDcAttrFreeList); InitializeListHead(&Win32Process->PrivateFontListHead); ExInitializeFastMutex(&Win32Process->PrivateFontListLock); Modified: trunk/reactos/subsystems/win32/win32k/objects/dcattr.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ob…
============================================================================== --- trunk/reactos/subsystems/win32/win32k/objects/dcattr.c [iso-8859-1] (original) +++ trunk/reactos/subsystems/win32/win32k/objects/dcattr.c [iso-8859-1] Mon Dec 28 08:02:32 2009 @@ -11,6 +11,147 @@ #define NDEBUG #include <debug.h> + +#define GDIDCATTRFREE 8 + +typedef struct _GDI_DC_ATTR_FREELIST +{ + LIST_ENTRY Entry; + DWORD nEntries; + PVOID AttrList[GDIDCATTRFREE]; +} GDI_DC_ATTR_FREELIST, *PGDI_DC_ATTR_FREELIST; + +typedef struct _GDI_DC_ATTR_ENTRY +{ + DC_ATTR Attr[GDIDCATTRFREE]; +} GDI_DC_ATTR_ENTRY, *PGDI_DC_ATTR_ENTRY; + + +PDC_ATTR +FASTCALL +AllocateDcAttr(VOID) +{ + PTHREADINFO pti; + PPROCESSINFO ppi; + PDC_ATTR pDc_Attr; + PGDI_DC_ATTR_FREELIST pGdiDcAttrFreeList; + PGDI_DC_ATTR_ENTRY pGdiDcAttrEntry; + int i; + + pti = PsGetCurrentThreadWin32Thread(); + if (pti->pgdiDcattr) + { + pDc_Attr = pti->pgdiDcattr; // Get the free one. + pti->pgdiDcattr = NULL; + return pDc_Attr; + } + + ppi = PsGetCurrentProcessWin32Process(); + + if (!ppi->pDCAttrList) // If set point is null, allocate new group. + { + pGdiDcAttrEntry = EngAllocUserMem(sizeof(GDI_DC_ATTR_ENTRY), 0); + + if (!pGdiDcAttrEntry) + { + DPRINT1("DcAttr Failed User Allocation!\n"); + return NULL; + } + + DPRINT("AllocDcAttr User 0x%x\n",pGdiDcAttrEntry); + + pGdiDcAttrFreeList = ExAllocatePoolWithTag( PagedPool, + sizeof(GDI_DC_ATTR_FREELIST), + GDITAG_DC_FREELIST); + if ( !pGdiDcAttrFreeList ) + { + EngFreeUserMem(pGdiDcAttrEntry); + return NULL; + } + + RtlZeroMemory(pGdiDcAttrFreeList, sizeof(GDI_DC_ATTR_FREELIST)); + + DPRINT("AllocDcAttr Ex 0x%x\n",pGdiDcAttrFreeList); + + InsertHeadList( &ppi->GDIDcAttrFreeList, &pGdiDcAttrFreeList->Entry); + + pGdiDcAttrFreeList->nEntries = GDIDCATTRFREE; + // Start at the bottom up and set end of free list point. + ppi->pDCAttrList = &pGdiDcAttrEntry->Attr[GDIDCATTRFREE-1]; + // Build the free attr list. + for ( i = 0; i < GDIDCATTRFREE; i++) + { + pGdiDcAttrFreeList->AttrList[i] = &pGdiDcAttrEntry->Attr[i]; + } + } + + pDc_Attr = ppi->pDCAttrList; + pGdiDcAttrFreeList = (PGDI_DC_ATTR_FREELIST)ppi->GDIDcAttrFreeList.Flink; + + // Free the list when it is full! + if ( pGdiDcAttrFreeList->nEntries-- == 1) + { // No more free entries, so yank the list. + RemoveEntryList( &pGdiDcAttrFreeList->Entry ); + + ExFreePoolWithTag( pGdiDcAttrFreeList, GDITAG_DC_FREELIST ); + + if ( IsListEmpty( &ppi->GDIDcAttrFreeList ) ) + { + ppi->pDCAttrList = NULL; + return pDc_Attr; + } + + pGdiDcAttrFreeList = (PGDI_DC_ATTR_FREELIST)ppi->GDIDcAttrFreeList.Flink; + } + + ppi->pDCAttrList = pGdiDcAttrFreeList->AttrList[pGdiDcAttrFreeList->nEntries-1]; + + return pDc_Attr; +} + +VOID +FASTCALL +FreeDcAttr(PDC_ATTR pDc_Attr) +{ + PTHREADINFO pti; + PPROCESSINFO ppi; + PGDI_DC_ATTR_FREELIST pGdiDcAttrFreeList; + + pti = PsGetCurrentThreadWin32Thread(); + + if (!pti) return; + + if (!pti->pgdiDcattr) + { // If it is null, just cache it for the next time. + pti->pgdiDcattr = pDc_Attr; + return; + } + + ppi = PsGetCurrentProcessWin32Process(); + + pGdiDcAttrFreeList = (PGDI_DC_ATTR_FREELIST)ppi->GDIDcAttrFreeList.Flink; + + // We add to the list of free entries, so this will grows! + if ( IsListEmpty(&ppi->GDIDcAttrFreeList) || + pGdiDcAttrFreeList->nEntries == GDIDCATTRFREE ) + { + pGdiDcAttrFreeList = ExAllocatePoolWithTag( PagedPool, + sizeof(GDI_DC_ATTR_FREELIST), + GDITAG_DC_FREELIST); + if ( !pGdiDcAttrFreeList ) + { + return; + } + InsertHeadList( &ppi->GDIDcAttrFreeList, &pGdiDcAttrFreeList->Entry); + pGdiDcAttrFreeList->nEntries = 0; + } + // Up count, save the entry and set end of free list point. + ++pGdiDcAttrFreeList->nEntries; // Top Down... + pGdiDcAttrFreeList->AttrList[pGdiDcAttrFreeList->nEntries-1] = pDc_Attr; + ppi->pDCAttrList = pDc_Attr; + + return; +} VOID FASTCALL
14 years, 12 months
1
0
0
0
[sserapion] 44791: Implement HalpInitPICs
by sserapion@svn.reactos.org
Author: sserapion Date: Mon Dec 28 07:38:19 2009 New Revision: 44791 URL:
http://svn.reactos.org/svn/reactos?rev=44791&view=rev
Log: Implement HalpInitPICs Added: branches/ros-amd64-bringup/reactos/hal/halamd64/generic/pic.c (with props) Modified: branches/ros-amd64-bringup/reactos/hal/halamd64/generic/generic.rbuild branches/ros-amd64-bringup/reactos/hal/halamd64/generic/irq.S Modified: branches/ros-amd64-bringup/reactos/hal/halamd64/generic/generic.rbuild URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/hal/h…
============================================================================== --- branches/ros-amd64-bringup/reactos/hal/halamd64/generic/generic.rbuild [iso-8859-1] (original) +++ branches/ros-amd64-bringup/reactos/hal/halamd64/generic/generic.rbuild [iso-8859-1] Mon Dec 28 07:38:19 2009 @@ -12,6 +12,7 @@ <file>mps.S</file> <file>systimer.S</file> <file>usage.c</file> + <file>pic.c</file> <pch>../include/hal.h</pch> </module> </group> Modified: branches/ros-amd64-bringup/reactos/hal/halamd64/generic/irq.S URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/hal/h…
============================================================================== --- branches/ros-amd64-bringup/reactos/hal/halamd64/generic/irq.S [iso-8859-1] (original) +++ branches/ros-amd64-bringup/reactos/hal/halamd64/generic/irq.S [iso-8859-1] Mon Dec 28 07:38:19 2009 @@ -30,12 +30,6 @@ /* FUNCTIONS *****************************************************************/ - -.globl _HalpInitPICs -.func _HalpInitPICs -_HalpInitPICs: - UNIMPLEMENTED "HalpInitPICs" -.endfunc .global _HalEnableInterrupt .func _HalEnableInterrupt Added: branches/ros-amd64-bringup/reactos/hal/halamd64/generic/pic.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/hal/h…
============================================================================== --- branches/ros-amd64-bringup/reactos/hal/halamd64/generic/pic.c (added) +++ branches/ros-amd64-bringup/reactos/hal/halamd64/generic/pic.c [iso-8859-1] Mon Dec 28 07:38:19 2009 @@ -1,0 +1,111 @@ +/* + * COPYRIGHT: See COPYING in the top level directory + * PROJECT: ReactOS kernel + * FILE: hal/pic.c + * PURPOSE: Hardware Abstraction Layer DLL + * PROGRAMMER: Samuel Serapión + */ +#include <hal.h> + +//#define NDEBUG +#include <debug.h> +#include <asm.h> + +/* + * 8259 interrupt controllers + */ +enum +{ + Int0ctl= 0x20, /* control port (ICW1, OCW2, OCW3) */ + Int0aux= 0x21, /* everything else (ICW2, ICW3, ICW4, OCW1) */ + Int1ctl= 0xA0, /* control port */ + Int1aux= 0xA1, /* everything else (ICW2, ICW3, ICW4, OCW1) */ + + Icw1= 0x10, /* select bit in ctl register */ + Ocw2= 0x00, + Ocw3= 0x08, + + EOI= 0x20, /* non-specific end of interrupt */ + + Elcr1= 0x4D0, /* Edge/Level Triggered Register */ + Elcr2= 0x4D1, +}; + + + +INT i8259mask = 0xFFFF; /* disabled interrupts */ +INT i8259elcr; + + +VOID +NTAPI +HalpInitPICs(VOID) +{ + ULONG OldEflags; + INT x; + + OldEflags = __readeflags(); + _disable(); + /* + * Set up the first 8259 interrupt processor. + * Make 8259 interrupts start at CPU vector VectorPIC. + * Set the 8259 as master with edge triggered + * input with fully nested interrupts. + */ + __outbyte(Int0ctl, 0x20); /* ICW1 - master, edge triggered */ + __outbyte(Int0aux, 0x11); /* Edge, cascade, CAI 8, ICW4 */ + __outbyte(Int0aux, PRIMARY_VECTOR_BASE); /* ICW2 - interrupt vector offset */ + __outbyte(Int0aux, 0x04); /* ICW3 - have slave on level 2 */ + __outbyte(Int0aux, 0x01); /* ICW4 - 8086 mode, not buffered */ + __outbyte(Int0aux, 0xFF); /* Mask Interrupts */ + /* + * Set up the second 8259 interrupt processor. + * Make 8259 interrupts start at CPU vector VectorPIC+8. + * Set the 8259 as slave with edge triggered + * input with fully nested interrupts. + */ + __outbyte(Int1ctl, 0xA0); /* ICW1 - master, edge triggered, */ + __outbyte(Int1aux, 0x11); /* Edge, cascade, CAI 8, ICW4 */ + __outbyte(Int1aux, PRIMARY_VECTOR_BASE+8); /* ICW2 - interrupt vector offset */ + __outbyte(Int1aux, 0x02); /* ICW3 - I am a slave on level 2 */ + __outbyte(Int1aux, 0x01); /* ICW4 - 8086 mode, not buffered */ + __outbyte(Int1aux, 0xFF); /* Mask Interrupts */ + + + /* + * pass #2 8259 interrupts to #1 + */ + i8259mask &= ~0x04; + __outbyte(Int0aux, i8259mask & 0xFF); + + /* + * Set Ocw3 to return the ISR when ctl read. + * After initialisation status read is set to IRR. + * Read IRR first to possibly deassert an outstanding + * interrupt. + */ + __inbyte (Int0ctl); + __outbyte(Int0ctl, Ocw3|0x03); + __inbyte (Int1ctl); + __outbyte(Int1ctl, Ocw3|0x03); + + /* + * Check for Edge/Level register. + * This check may not work for all chipsets. + * First try a non-intrusive test - the bits for + * IRQs 13, 8, 2, 1 and 0 must be edge (0). If + * that's OK try a R/W test. + */ + x = (__inbyte (Elcr2)<<8)|__inbyte(Elcr1); + if(!(x & 0x2107)){ + __outbyte(Elcr1, 0); + if(__inbyte (Elcr1) == 0){ + __outbyte(Elcr1, 0x20); + if(__inbyte (Elcr1) == 0x20) + i8259elcr = x; + __outbyte(Elcr1, x & 0xFF); + DPRINT("ELCR: %4.4uX\n", i8259elcr); + } + } + __writeeflags(OldEflags); + } Propchange: branches/ros-amd64-bringup/reactos/hal/halamd64/generic/pic.c ------------------------------------------------------------------------------ svn:eol-style = native
14 years, 12 months
1
0
0
0
[sserapion] 44790: Sync to trunk (r44789)
by sserapion@svn.reactos.org
Author: sserapion Date: Mon Dec 28 05:55:58 2009 New Revision: 44790 URL:
http://svn.reactos.org/svn/reactos?rev=44790&view=rev
Log: Sync to trunk (r44789) Added: branches/ros-amd64-bringup/rostests/apitests/w32kdll/w32kdll_2k3sp2/w32k_2k3sp2-x86.db - copied unchanged from r44789, trunk/rostests/apitests/w32kdll/w32kdll_2k3sp2/w32k_2k3sp2-x86.db branches/ros-amd64-bringup/rostests/apitests/w32kdll/w32kdll_2ksp4/w32k_2ksp4-x86.db - copied unchanged from r44789, trunk/rostests/apitests/w32kdll/w32kdll_2ksp4/w32k_2ksp4-x86.db branches/ros-amd64-bringup/rostests/apitests/w32kdll/w32kdll_vista/w32kdll_vista-x86.db - copied unchanged from r44789, trunk/rostests/apitests/w32kdll/w32kdll_vista/w32kdll_vista-x86.db branches/ros-amd64-bringup/rostests/apitests/w32kdll/w32kdll_xpsp2/w32k_xpsp2-x86.db - copied unchanged from r44789, trunk/rostests/apitests/w32kdll/w32kdll_xpsp2/w32k_xpsp2-x86.db branches/ros-amd64-bringup/rostests/tests/mmixer_test/ (props changed) - copied from r44789, trunk/rostests/tests/mmixer_test/ branches/ros-amd64-bringup/rostests/winetests/advapi32/eventlog.c - copied unchanged from r44789, trunk/rostests/winetests/advapi32/eventlog.c branches/ros-amd64-bringup/rostests/winetests/msvcrt/signal.c - copied unchanged from r44789, trunk/rostests/winetests/msvcrt/signal.c branches/ros-amd64-bringup/rostests/winetests/shell32/progman_dde.c - copied unchanged from r44789, trunk/rostests/winetests/shell32/progman_dde.c Modified: branches/ros-amd64-bringup/rostests/ (props changed) branches/ros-amd64-bringup/rostests/tests/directory.rbuild branches/ros-amd64-bringup/rostests/winetests/advapi32/advapi32.rbuild branches/ros-amd64-bringup/rostests/winetests/advapi32/crypt.c branches/ros-amd64-bringup/rostests/winetests/advapi32/registry.c branches/ros-amd64-bringup/rostests/winetests/advapi32/security.c branches/ros-amd64-bringup/rostests/winetests/advapi32/service.c branches/ros-amd64-bringup/rostests/winetests/advapi32/testlist.c branches/ros-amd64-bringup/rostests/winetests/fusion/asmenum.c branches/ros-amd64-bringup/rostests/winetests/fusion/asmname.c branches/ros-amd64-bringup/rostests/winetests/hlink/hlink.c branches/ros-amd64-bringup/rostests/winetests/kernel32/actctx.c branches/ros-amd64-bringup/rostests/winetests/kernel32/environ.c branches/ros-amd64-bringup/rostests/winetests/kernel32/file.c branches/ros-amd64-bringup/rostests/winetests/kernel32/locale.c branches/ros-amd64-bringup/rostests/winetests/kernel32/path.c branches/ros-amd64-bringup/rostests/winetests/kernel32/volume.c branches/ros-amd64-bringup/rostests/winetests/lz32/lzexpand_main.c branches/ros-amd64-bringup/rostests/winetests/msacm32/msacm.c branches/ros-amd64-bringup/rostests/winetests/msi/automation.c branches/ros-amd64-bringup/rostests/winetests/msi/db.c branches/ros-amd64-bringup/rostests/winetests/msi/format.c branches/ros-amd64-bringup/rostests/winetests/msi/install.c branches/ros-amd64-bringup/rostests/winetests/msi/msi.c branches/ros-amd64-bringup/rostests/winetests/msi/package.c branches/ros-amd64-bringup/rostests/winetests/msi/record.c branches/ros-amd64-bringup/rostests/winetests/msi/suminfo.c branches/ros-amd64-bringup/rostests/winetests/mstask/task.c branches/ros-amd64-bringup/rostests/winetests/msvcrt/cpp.c branches/ros-amd64-bringup/rostests/winetests/msvcrt/file.c branches/ros-amd64-bringup/rostests/winetests/msvcrt/msvcrt.rbuild branches/ros-amd64-bringup/rostests/winetests/msvcrt/string.c branches/ros-amd64-bringup/rostests/winetests/msvcrt/testlist.c branches/ros-amd64-bringup/rostests/winetests/msvcrtd/debug.c branches/ros-amd64-bringup/rostests/winetests/msxml3/domdoc.c branches/ros-amd64-bringup/rostests/winetests/netapi32/apibuf.c branches/ros-amd64-bringup/rostests/winetests/ntdll/om.c branches/ros-amd64-bringup/rostests/winetests/ntdll/rtlbitmap.c branches/ros-amd64-bringup/rostests/winetests/ntdll/rtlstr.c branches/ros-amd64-bringup/rostests/winetests/rsaenh/rsaenh.c branches/ros-amd64-bringup/rostests/winetests/setupapi/install.c branches/ros-amd64-bringup/rostests/winetests/setupapi/misc.c branches/ros-amd64-bringup/rostests/winetests/setupapi/parser.c branches/ros-amd64-bringup/rostests/winetests/setupapi/query.c branches/ros-amd64-bringup/rostests/winetests/setupapi/stringtable.c branches/ros-amd64-bringup/rostests/winetests/shell32/shell32.rbuild branches/ros-amd64-bringup/rostests/winetests/shell32/shelllink.c branches/ros-amd64-bringup/rostests/winetests/shell32/shlexec.c branches/ros-amd64-bringup/rostests/winetests/shell32/shlfileop.c branches/ros-amd64-bringup/rostests/winetests/shell32/shlfolder.c branches/ros-amd64-bringup/rostests/winetests/shell32/testlist.c branches/ros-amd64-bringup/rostests/winetests/usp10/usp10.c branches/ros-amd64-bringup/rostests/winetests/winmm/mci.c branches/ros-amd64-bringup/rostests/winetests/wldap32/parse.c [This mail would be too long, it was shortened to contain the URLs only.] Modified: branches/ros-amd64-bringup/rostests/tests/directory.rbuild URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/test…
Modified: branches/ros-amd64-bringup/rostests/winetests/advapi32/advapi32.rbuild URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/advapi32/crypt.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/advapi32/registry.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/advapi32/security.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/advapi32/service.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/advapi32/testlist.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/fusion/asmenum.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/fusion/asmname.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/hlink/hlink.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/kernel32/actctx.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/kernel32/environ.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/kernel32/file.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/kernel32/locale.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/kernel32/path.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/kernel32/volume.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/lz32/lzexpand_main.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/msacm32/msacm.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/msi/automation.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/msi/db.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/msi/format.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/msi/install.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/msi/msi.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/msi/package.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/msi/record.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/msi/suminfo.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/mstask/task.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/msvcrt/cpp.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/msvcrt/file.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/msvcrt/msvcrt.rbuild URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/msvcrt/string.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/msvcrt/testlist.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/msvcrtd/debug.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/msxml3/domdoc.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/netapi32/apibuf.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/ntdll/om.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/ntdll/rtlbitmap.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/ntdll/rtlstr.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/rsaenh/rsaenh.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/setupapi/install.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/setupapi/misc.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/setupapi/parser.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/setupapi/query.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/setupapi/stringtable.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/shell32/shell32.rbuild URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/shell32/shelllink.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/shell32/shlexec.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/shell32/shlfileop.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/shell32/shlfolder.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/shell32/testlist.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/usp10/usp10.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/winmm/mci.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
Modified: branches/ros-amd64-bringup/rostests/winetests/wldap32/parse.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/wine…
14 years, 12 months
1
0
0
0
[sserapion] 44789: ignore some warnings by gcc 4.4.2
by sserapion@svn.reactos.org
Author: sserapion Date: Mon Dec 28 05:46:04 2009 New Revision: 44789 URL:
http://svn.reactos.org/svn/reactos?rev=44789&view=rev
Log: ignore some warnings by gcc 4.4.2 Modified: branches/ros-amd64-bringup/rostests/apitests/w32knapi/w32knapi.c branches/ros-amd64-bringup/rostests/dxtest/win32kdxtest/win32kdxtest.rbuild branches/ros-amd64-bringup/rostests/tests/miditest/miditest.c branches/ros-amd64-bringup/rostests/tests/p_dup_handle/p_dup_handle.c branches/ros-amd64-bringup/rostests/tests/thread/thread.rbuild branches/ros-amd64-bringup/rostests/tests/tmrqueue/tmrqueue.rbuild Modified: branches/ros-amd64-bringup/rostests/apitests/w32knapi/w32knapi.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/apit…
============================================================================== --- branches/ros-amd64-bringup/rostests/apitests/w32knapi/w32knapi.c [iso-8859-1] (original) +++ branches/ros-amd64-bringup/rostests/apitests/w32knapi/w32knapi.c [iso-8859-1] Mon Dec 28 05:46:04 2009 @@ -10,6 +10,7 @@ { PTEB pTeb = NtCurrentTeb(); PPEB pPeb = pTeb->ProcessEnvironmentBlock; + printf("TEB::PEB=0x%lx PEB::GdiHT=0x%lx, Peb=%p, Teb=%p\n", FIELD_OFFSET(TEB, ProcessEnvironmentBlock), FIELD_OFFSET(PEB, GdiSharedHandleTable), pTeb, pPeb); return pPeb->GdiSharedHandleTable; } Modified: branches/ros-amd64-bringup/rostests/dxtest/win32kdxtest/win32kdxtest.rbuild URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/dxte…
============================================================================== --- branches/ros-amd64-bringup/rostests/dxtest/win32kdxtest/win32kdxtest.rbuild [iso-8859-1] (original) +++ branches/ros-amd64-bringup/rostests/dxtest/win32kdxtest/win32kdxtest.rbuild [iso-8859-1] Mon Dec 28 05:46:04 2009 @@ -1,4 +1,4 @@ -<module name="win32kdxtest" type="win32cui" installbase="bin" installname="win32kdxtest.exe"> +<module name="win32kdxtest" type="win32cui" installbase="bin" installname="win32kdxtest.exe" allowwarnings="true"> <include base="win32kdxtest">.</include> <library>user32</library> <library>gdi32</library> Modified: branches/ros-amd64-bringup/rostests/tests/miditest/miditest.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/test…
============================================================================== --- branches/ros-amd64-bringup/rostests/tests/miditest/miditest.c [iso-8859-1] (original) +++ branches/ros-amd64-bringup/rostests/tests/miditest/miditest.c [iso-8859-1] Mon Dec 28 05:46:04 2009 @@ -36,7 +36,7 @@ printf("Opening MIDI output #0\n"); Result = midiOutOpen(&Handle, 0, 0, 0, CALLBACK_NULL); - printf("Result == %d Handle == %x\n", Result, Handle); + printf("Result == %d Handle == %p\n", Result, Handle); // play something: midiOutShortMsg(Handle, 0x007f3090); Modified: branches/ros-amd64-bringup/rostests/tests/p_dup_handle/p_dup_handle.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/test…
============================================================================== --- branches/ros-amd64-bringup/rostests/tests/p_dup_handle/p_dup_handle.c [iso-8859-1] (original) +++ branches/ros-amd64-bringup/rostests/tests/p_dup_handle/p_dup_handle.c [iso-8859-1] Mon Dec 28 05:46:04 2009 @@ -38,7 +38,7 @@ memset( &si, 0, sizeof( si ) ); memset( &pi, 0, sizeof( pi ) ); - sprintf( cmdline, "%s %x", argv[0], h_process ); + sprintf( cmdline, "%s %p", argv[0], h_process ); if( !CreateProcess(NULL, cmdline, NULL, NULL, TRUE, 0, NULL, NULL, &si, &pi ) ) { fprintf( stderr, "%lu: Could not create child process.\n", Modified: branches/ros-amd64-bringup/rostests/tests/thread/thread.rbuild URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/test…
============================================================================== --- branches/ros-amd64-bringup/rostests/tests/thread/thread.rbuild [iso-8859-1] (original) +++ branches/ros-amd64-bringup/rostests/tests/thread/thread.rbuild [iso-8859-1] Mon Dec 28 05:46:04 2009 @@ -1,4 +1,4 @@ -<module name="thread" type="win32gui" installbase="bin" installname="thread.exe"> +<module name="thread" type="win32gui" installbase="bin" installname="thread.exe" allowwarnings="true"> <library>gdi32</library> <file>thread.c</file> </module> Modified: branches/ros-amd64-bringup/rostests/tests/tmrqueue/tmrqueue.rbuild URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/rostests/test…
============================================================================== --- branches/ros-amd64-bringup/rostests/tests/tmrqueue/tmrqueue.rbuild [iso-8859-1] (original) +++ branches/ros-amd64-bringup/rostests/tests/tmrqueue/tmrqueue.rbuild [iso-8859-1] Mon Dec 28 05:46:04 2009 @@ -1,4 +1,4 @@ -<module name="tmrqueue" type="win32gui" installbase="bin" installname="tmrqueue.exe"> +<module name="tmrqueue" type="win32gui" installbase="bin" installname="tmrqueue.exe" allowwarnings="true"> <library>gdi32</library> <file>tmrqueue.c</file> </module>
14 years, 12 months
1
0
0
0
[tkreuzer] 44788: Implement KiGeneralProtectionFault a bit
by tkreuzer@svn.reactos.org
Author: tkreuzer Date: Mon Dec 28 05:39:02 2009 New Revision: 44788 URL:
http://svn.reactos.org/svn/reactos?rev=44788&view=rev
Log: Implement KiGeneralProtectionFault a bit Modified: branches/ros-amd64-bringup/reactos/ntoskrnl/ke/amd64/trap.S Modified: branches/ros-amd64-bringup/reactos/ntoskrnl/ke/amd64/trap.S URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/ntosk…
============================================================================== --- branches/ros-amd64-bringup/reactos/ntoskrnl/ke/amd64/trap.S [iso-8859-1] (original) +++ branches/ros-amd64-bringup/reactos/ntoskrnl/ke/amd64/trap.S [iso-8859-1] Mon Dec 28 05:39:02 2009 @@ -235,14 +235,13 @@ -// rbp = TrapFrame, ecx = ExceptionCode, edx = NumParams, r9,r10,r11 = params +// rbp = TrapFrame, eax = ExceptionCode, edx = NumParams, r9,r10,r11 = params _InternalDispatchException: /* Allocate stack space for EXCEPTION_RECORD and KEXCEPTION_FRAME */ sub rsp, SIZE_EXCEPTION_RECORD + SIZE_KEXCEPTION_FRAME /* Set up EXCEPTION_RECORD */ - mov eax, ecx lea rcx, [rsp + SIZE_KEXCEPTION_FRAME] mov [rcx + EXCEPTION_RECORD_ExceptionCode], eax xor rax, rax @@ -313,7 +312,7 @@ KiDebugTrapOrFaultKMode: /* Dispatch the exception */ - mov ecx, STATUS_SINGLE_STEP + mov eax, STATUS_SINGLE_STEP mov edx, 0 mov r9, 0 mov r10, 0 @@ -351,7 +350,7 @@ // call _FrLdrDbgPrint[rip] /* Dispatch the exception */ - mov ecx, STATUS_BREAKPOINT + mov eax, STATUS_BREAKPOINT mov edx, 3 mov r9, 0 mov r10, 0 @@ -491,20 +490,111 @@ .pushframe 1 /* We have an error code */ + cli ENTER_TRAP_FRAME TRAPFLAG_ALL TRAPINFO KiGeneralProtectionFault - -// DISPATCH_EXCEPTION STATUS_BREAKPOINT, 3, 0, 0, 0 mov rdx, [rbp + KTRAP_FRAME_Rip] lea rcx, _MsgGeneralProtFault[rip] call _FrLdrDbgPrint[rip] - jmp $ + + /* Check if this was from user-mode */ + cmp byte ptr [rbp + KTRAP_FRAME_PreviousMode], KernelMode + jnz KiGpfUserMode + + /* Get instruction */ + mov rax, [rbp + KTRAP_FRAME_Rip] + mov rax, [rax] + + /* Check for MSR failure */ + cmp al, 0xF + jz KiGpfMsr + + /* Check for IRET */ + cmp ax, 0xCF48 + je KiGpfIret + + /* Check for pop ds/es/fs/gs */ + xor edx, edx + cmp al, 0x1F + jz KiGpfPopSegDs + cmp al, 0x07 + jz KiGpfPopSegEs + cmp ax, 0xA10F + jz KiGpfPopSegFs + cmp ax, 0xA90F + jz KiGpfPopSegGs + + + mov dx, 0x002B // KGDT64_R3_DATA | RPL_MASK + cmp [rbp + KTRAP_FRAME_SegDs], dx + jne KiGpfPopSegDs + cmp [rbp + KTRAP_FRAME_SegEs], dx + jne KiGpfPopSegEs + cmp [rbp + KTRAP_FRAME_SegFs], dx + jne KiGpfPopSegFs + cmp [rbp + KTRAP_FRAME_SegGs], dx + jne KiGpfPopSegGs + +KiGpfFatal: + + /* Bugcheck */ + mov ecx, UNEXPECTED_KERNEL_MODE_TRAP + mov rdx, 0x0000D // EXCEPTION_GP_FAULT + xor rdx, rdx + xor r8, r8 + xor r9, r9 // Reserved + mov [rbp + KTRAP_FRAME_P5], rbp // trap frame + call _KeBugCheckWithTf + + + +KiGpfPopSegDs: + mov [rbp + KTRAP_FRAME_SegDs], dx + jmp KiGpfPopSeg + +KiGpfPopSegEs: + mov [rbp + KTRAP_FRAME_SegEs], dx + jmp KiGpfPopSeg + +KiGpfPopSegFs: + mov [rbp + KTRAP_FRAME_SegFs], dx + jmp KiGpfPopSeg + +KiGpfPopSegGs: + mov [rbp + KTRAP_FRAME_SegGs], dx + jmp KiGpfPopSeg + +KiGpfPopSeg: + jmp KiGpfExit + +KiGpfIret: + /* Get error code */ + mov ax, [rbp + KTRAP_FRAME_ErrorCode] +// and ax, ~RPL_MASK + +KiGpfMsr: + + jmp KiGpfFatal + + +KiGpfUserMode: + + /* Dispatch the exception */ + mov eax, STATUS_ACCESS_VIOLATION + mov edx, 2 + mov r9, [rbp + KTRAP_FRAME_ErrorCode] + mov r10, 0 + mov r11, 0 + call _InternalDispatchException + +KiGpfExit: /* Return */ LEAVE_TRAP_FRAME iretq + .endproc @@ -556,8 +646,8 @@ InPageException: /* Dispatch in-page exception */ - mov ecx, STATUS_IN_PAGE_ERROR // ExceptionCode mov r11d, eax // Param3 = Status + mov eax, STATUS_IN_PAGE_ERROR // ExceptionCode mov edx, 3 // ParamCount call _InternalDispatchException jmp PageFaultReturn @@ -568,7 +658,6 @@ SpecialCode: /* Setup a normal page fault exception */ - mov ecx, eax // ExceptionCode mov edx, 2 // ParamCount call _InternalDispatchException @@ -650,7 +739,7 @@ inc qword ptr [rbp + KTRAP_FRAME_Rip] /* Dispatch the exception */ - mov ecx, STATUS_BREAKPOINT + mov eax, STATUS_BREAKPOINT mov edx, 3 mov r9, [rbp+KTRAP_FRAME_Rax] // Service mov r10, [rbp+KTRAP_FRAME_Rcx] // Buffer @@ -688,8 +777,18 @@ lea rcx, _MsgUnexpectedInterrupt[rip] call _FrLdrDbgPrint[rip] - jmp $ -.endproc - - - + mov ecx, TRAP_CAUSE_UNKNOWN +// mov rdx, // The unexpected interrupt +// mov rdx, // The unknown floating-point exception +// mov r8, // The enabled and asserted status bits + xor r9, r9 // Reserved + mov [rbp + KTRAP_FRAME_P5], rbp // trap frame + call _KeBugCheckWithTf + +.endproc + + +.proc KiSystemFatalException + +.endproc +
14 years, 12 months
1
0
0
0
[sserapion] 44787: Fix Build.
by sserapion@svn.reactos.org
Author: sserapion Date: Mon Dec 28 04:09:37 2009 New Revision: 44787 URL:
http://svn.reactos.org/svn/reactos?rev=44787&view=rev
Log: Fix Build. Modified: branches/ros-amd64-bringup/reactos/config-arm.template.rbuild branches/ros-amd64-bringup/reactos/config-ppc.template.rbuild branches/ros-amd64-bringup/reactos/config.template.rbuild branches/ros-amd64-bringup/reactos/tools/rbuild/backend/mingw/rules.mak Modified: branches/ros-amd64-bringup/reactos/config-arm.template.rbuild URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/confi…
============================================================================== --- branches/ros-amd64-bringup/reactos/config-arm.template.rbuild [iso-8859-1] (original) +++ branches/ros-amd64-bringup/reactos/config-arm.template.rbuild [iso-8859-1] Mon Dec 28 04:09:37 2009 @@ -90,4 +90,10 @@ --> <property name="_ELF_" value="0" /> +<!-- + Whether to compile any usermode parts. This is while kernel mode is under + heavy development and usermode part not relevant for bootcd. +--> +<property name="USERMODE" value="1" /> + </group> Modified: branches/ros-amd64-bringup/reactos/config-ppc.template.rbuild URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/confi…
============================================================================== --- branches/ros-amd64-bringup/reactos/config-ppc.template.rbuild [iso-8859-1] (original) +++ branches/ros-amd64-bringup/reactos/config-ppc.template.rbuild [iso-8859-1] Mon Dec 28 04:09:37 2009 @@ -70,4 +70,10 @@ --> <property name="_ELF_" value="0" /> +<!-- + Whether to compile any usermode parts. This is while kernel mode is under + heavy development and usermode part not relevant for bootcd. +--> +<property name="USERMODE" value="1" /> + </group> Modified: branches/ros-amd64-bringup/reactos/config.template.rbuild URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/confi…
============================================================================== --- branches/ros-amd64-bringup/reactos/config.template.rbuild [iso-8859-1] (original) +++ branches/ros-amd64-bringup/reactos/config.template.rbuild [iso-8859-1] Mon Dec 28 04:09:37 2009 @@ -97,6 +97,12 @@ <!-- Whether to compile the multi processor versions for ntoskrnl and hal. --> -<property name="BUILD_MP" value="1" /> +<property name="BUILD_MP" value="0" /> + +<!-- + Whether to compile any usermode parts. This is while kernel mode is under + heavy development and usermode part not relevant for bootcd. +--> +<property name="USERMODE" value="1" /> </group> Modified: branches/ros-amd64-bringup/reactos/tools/rbuild/backend/mingw/rules.mak URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/tools…
============================================================================== --- branches/ros-amd64-bringup/reactos/tools/rbuild/backend/mingw/rules.mak [iso-8859-1] (original) +++ branches/ros-amd64-bringup/reactos/tools/rbuild/backend/mingw/rules.mak [iso-8859-1] Mon Dec 28 04:09:37 2009 @@ -263,7 +263,9 @@ $$(Q)$$(widl_TARGET) ${call RBUILD_midlflags,$(1),$(4),-I${call RBUILD_dir,$(2)}} -h -H ${call RBUILD_intermediate_path_noext,$(2)}_c.h -c -C ${call RBUILD_intermediate_path_noext,$(2)}_c.c $(2) $${checkpoint} $$@>$(NUL) -${call RBUILD_CC,$(1),${call RBUILD_intermediate_path_noext,$(2)}_c.c,,-fno-unit-at-a-time,${call RBUILD_intermediate_path_noext,$(2)}_c.o}endef +${call RBUILD_CC,$(1),${call RBUILD_intermediate_path_noext,$(2)}_c.c,,,${call RBUILD_intermediate_path_noext,$(2)}_c.o} + +endef #(module, source, dependencies, cflags) define RBUILD_WIDL_SERVER_RULE @@ -277,7 +279,9 @@ $$(Q)$$(widl_TARGET) ${call RBUILD_midlflags,$(1),$(4),-I${call RBUILD_dir,$(2)}} -h -H ${call RBUILD_intermediate_path_noext,$(2)}_s.h -s -S ${call RBUILD_intermediate_path_noext,$(2)}_s.c $(2) $${checkpoint} $$@>$(NUL) -${call RBUILD_CC,$(1),${call RBUILD_intermediate_path_noext,$(2)}_s.c,,-fno-unit-at-a-time,${call RBUILD_intermediate_path_noext,$(2)}_s.o}endef +${call RBUILD_CC,$(1),${call RBUILD_intermediate_path_noext,$(2)}_s.c,,,${call RBUILD_intermediate_path_noext,$(2)}_s.o} + +endef #(module, source, dependencies, cflags) define RBUILD_WIDL_PROXY_RULE @@ -291,7 +295,9 @@ $$(Q)$$(widl_TARGET) ${call RBUILD_midlflags,$(1),$(4),-I${call RBUILD_dir,$(2)}} -h -H ${call RBUILD_intermediate_path_noext,$(2)}_p.h -p -P ${call RBUILD_intermediate_path_noext,$(2)}_p.c $(2) $${checkpoint} $$@>$(NUL) -${call RBUILD_CC,$(1),${call RBUILD_intermediate_path_noext,$(2)}_p.c,,-fno-unit-at-a-time,${call RBUILD_intermediate_path_noext,$(2)}_p.o}endef +${call RBUILD_CC,$(1),${call RBUILD_intermediate_path_noext,$(2)}_p.c,,,${call RBUILD_intermediate_path_noext,$(2)}_p.o} + +endef #(module, source, dependencies, cflags) define RBUILD_WIDL_INTERFACE_RULE
14 years, 12 months
1
0
0
0
[sserapion] 44786: Fix broken merge
by sserapion@svn.reactos.org
Author: sserapion Date: Mon Dec 28 04:02:12 2009 New Revision: 44786 URL:
http://svn.reactos.org/svn/reactos?rev=44786&view=rev
Log: Fix broken merge Modified: branches/ros-amd64-bringup/reactos/tools/rbuild/backend/mingw/rules.mak Modified: branches/ros-amd64-bringup/reactos/tools/rbuild/backend/mingw/rules.mak URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/tools…
============================================================================== --- branches/ros-amd64-bringup/reactos/tools/rbuild/backend/mingw/rules.mak [iso-8859-1] (original) +++ branches/ros-amd64-bringup/reactos/tools/rbuild/backend/mingw/rules.mak [iso-8859-1] Mon Dec 28 04:02:12 2009 @@ -263,7 +263,7 @@ $$(Q)$$(widl_TARGET) ${call RBUILD_midlflags,$(1),$(4),-I${call RBUILD_dir,$(2)}} -h -H ${call RBUILD_intermediate_path_noext,$(2)}_c.h -c -C ${call RBUILD_intermediate_path_noext,$(2)}_c.c $(2) $${checkpoint} $$@>$(NUL) -endef +${call RBUILD_CC,$(1),${call RBUILD_intermediate_path_noext,$(2)}_c.c,,-fno-unit-at-a-time,${call RBUILD_intermediate_path_noext,$(2)}_c.o}endef #(module, source, dependencies, cflags) define RBUILD_WIDL_SERVER_RULE @@ -277,7 +277,7 @@ $$(Q)$$(widl_TARGET) ${call RBUILD_midlflags,$(1),$(4),-I${call RBUILD_dir,$(2)}} -h -H ${call RBUILD_intermediate_path_noext,$(2)}_s.h -s -S ${call RBUILD_intermediate_path_noext,$(2)}_s.c $(2) $${checkpoint} $$@>$(NUL) -endef +${call RBUILD_CC,$(1),${call RBUILD_intermediate_path_noext,$(2)}_s.c,,-fno-unit-at-a-time,${call RBUILD_intermediate_path_noext,$(2)}_s.o}endef #(module, source, dependencies, cflags) define RBUILD_WIDL_PROXY_RULE @@ -291,7 +291,7 @@ $$(Q)$$(widl_TARGET) ${call RBUILD_midlflags,$(1),$(4),-I${call RBUILD_dir,$(2)}} -h -H ${call RBUILD_intermediate_path_noext,$(2)}_p.h -p -P ${call RBUILD_intermediate_path_noext,$(2)}_p.c $(2) $${checkpoint} $$@>$(NUL) -endef +${call RBUILD_CC,$(1),${call RBUILD_intermediate_path_noext,$(2)}_p.c,,-fno-unit-at-a-time,${call RBUILD_intermediate_path_noext,$(2)}_p.o}endef #(module, source, dependencies, cflags) define RBUILD_WIDL_INTERFACE_RULE
14 years, 12 months
1
0
0
0
[sserapion] 44785: Unhack ntoskrnl, fixes many x86 regressions.
by sserapion@svn.reactos.org
Author: sserapion Date: Mon Dec 28 02:37:31 2009 New Revision: 44785 URL:
http://svn.reactos.org/svn/reactos?rev=44785&view=rev
Log: Unhack ntoskrnl, fixes many x86 regressions. Modified: branches/ros-amd64-bringup/reactos/ntoskrnl/ex/init.c Modified: branches/ros-amd64-bringup/reactos/ntoskrnl/ex/init.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/ntosk…
============================================================================== --- branches/ros-amd64-bringup/reactos/ntoskrnl/ex/init.c [iso-8859-1] (original) +++ branches/ros-amd64-bringup/reactos/ntoskrnl/ex/init.c [iso-8859-1] Mon Dec 28 02:37:31 2009 @@ -956,8 +956,7 @@ } /* Make sure interrupts are active now */ -// FIXME HAX!!! - //_enable(); + _enable(); /* Clear the crypto exponent */ SharedUserData->CryptoExponent = 0;
14 years, 12 months
1
0
0
0
[tkreuzer] 44784: remove unneded parameter
by tkreuzer@svn.reactos.org
Author: tkreuzer Date: Mon Dec 28 02:28:29 2009 New Revision: 44784 URL:
http://svn.reactos.org/svn/reactos?rev=44784&view=rev
Log: remove unneded parameter Modified: branches/ros-amd64-bringup/reactos/ntoskrnl/ke/amd64/trap.S Modified: branches/ros-amd64-bringup/reactos/ntoskrnl/ke/amd64/trap.S URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/ntosk…
============================================================================== --- branches/ros-amd64-bringup/reactos/ntoskrnl/ke/amd64/trap.S [iso-8859-1] (original) +++ branches/ros-amd64-bringup/reactos/ntoskrnl/ke/amd64/trap.S [iso-8859-1] Mon Dec 28 02:28:29 2009 @@ -77,7 +77,7 @@ /* * ENTER_TRAP_FRAME - Allocate SIZE_KTRAP_FRAME and save registers to it */ -.macro ENTER_TRAP_FRAME AllocSize Flags +.macro ENTER_TRAP_FRAME Flags .set SIZE_INITIAL_FRAME, 7 * 8 //.set SIZE_LOCAL_DATA, SIZE_EXCEPTION_RECORD + 0x28 .set SIZE_TRAP_FRAME_ALLOC, SIZE_KTRAP_FRAME - SIZE_INITIAL_FRAME @@ -299,7 +299,7 @@ push 0 .allocstack 0x8 - ENTER_TRAP_FRAME (0x28), TRAPFLAG_ALL + ENTER_TRAP_FRAME TRAPFLAG_ALL TRAPINFO KiDebugTrapOrFault @@ -342,7 +342,7 @@ push 0 .allocstack 0x8 - ENTER_TRAP_FRAME (0x28), TRAPFLAG_ALL + ENTER_TRAP_FRAME TRAPFLAG_ALL TRAPINFO KiBreakpointTrap @@ -396,7 +396,7 @@ push 0 .allocstack 0x8 - ENTER_TRAP_FRAME (0x28), TRAPFLAG_ALL + ENTER_TRAP_FRAME TRAPFLAG_ALL TRAPINFO KiInvalidOpcodeFault @@ -491,7 +491,7 @@ .pushframe 1 /* We have an error code */ - ENTER_TRAP_FRAME (0x28), TRAPFLAG_ALL + ENTER_TRAP_FRAME TRAPFLAG_ALL TRAPINFO KiGeneralProtectionFault @@ -512,7 +512,7 @@ .pushframe 1 /* We have an error code */ - ENTER_TRAP_FRAME (0x28), TRAPFLAG_ALL + ENTER_TRAP_FRAME TRAPFLAG_ALL TRAPINFO KiPageFault @@ -642,7 +642,7 @@ push 0 .allocstack 0x08 - ENTER_TRAP_FRAME (0x28), TRAPFLAG_ALL + ENTER_TRAP_FRAME TRAPFLAG_ALL TRAPINFO KiDebugServiceTrap
14 years, 12 months
1
0
0
0
[sserapion] 44783: - Fix LPBLOCKINGCALLBACK - Don't use size_t for string sizes. - Fixes warnings.
by sserapion@svn.reactos.org
Author: sserapion Date: Mon Dec 28 02:07:10 2009 New Revision: 44783 URL:
http://svn.reactos.org/svn/reactos?rev=44783&view=rev
Log: - Fix LPBLOCKINGCALLBACK - Don't use size_t for string sizes. - Fixes warnings. Modified: branches/ros-amd64-bringup/reactos/dll/win32/ws2_32_new/inc/ws2_32p.h branches/ros-amd64-bringup/reactos/dll/win32/ws2_32_new/src/qshelpr.c branches/ros-amd64-bringup/reactos/include/psdk/ws2spi.h Modified: branches/ros-amd64-bringup/reactos/dll/win32/ws2_32_new/inc/ws2_32p.h URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/dll/w…
============================================================================== --- branches/ros-amd64-bringup/reactos/dll/win32/ws2_32_new/inc/ws2_32p.h [iso-8859-1] (original) +++ branches/ros-amd64-bringup/reactos/dll/win32/ws2_32_new/inc/ws2_32p.h [iso-8859-1] Mon Dec 28 02:07:10 2009 @@ -299,13 +299,13 @@ INT WSAAPI MapAnsiQuerySetToUnicode(IN LPWSAQUERYSETA AnsiSet, - IN OUT PSIZE_T SetSize, + IN OUT PDWORD SetSize, OUT LPWSAQUERYSETW UnicodeSet); INT WSAAPI MapUnicodeQuerySetToAnsi(OUT LPWSAQUERYSETW UnicodeSet, - IN OUT PSIZE_T SetSize, + IN OUT PDWORD SetSize, IN LPWSAQUERYSETA AnsiSet); INT Modified: branches/ros-amd64-bringup/reactos/dll/win32/ws2_32_new/src/qshelpr.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/dll/w…
============================================================================== --- branches/ros-amd64-bringup/reactos/dll/win32/ws2_32_new/src/qshelpr.c [iso-8859-1] (original) +++ branches/ros-amd64-bringup/reactos/dll/win32/ws2_32_new/src/qshelpr.c [iso-8859-1] Mon Dec 28 02:07:10 2009 @@ -807,11 +807,11 @@ INT WSAAPI MapAnsiQuerySetToUnicode(IN LPWSAQUERYSETA AnsiSet, - IN OUT PSIZE_T SetSize, + IN OUT PDWORD SetSize, OUT LPWSAQUERYSETW UnicodeSet) { INT ErrorCode = ERROR_SUCCESS; - SIZE_T AnsiSize, UnicodeSize; + DWORD AnsiSize, UnicodeSize; LPWSAQUERYSETA AnsiCopy = NULL; LPWSAQUERYSETW UnicodeCopy; LPWSTR ServiceCopy = NULL, CommentCopy = NULL; @@ -928,11 +928,11 @@ INT WSAAPI MapUnicodeQuerySetToAnsi(OUT LPWSAQUERYSETW UnicodeSet, - IN OUT PSIZE_T SetSize, + IN OUT PDWORD SetSize, IN LPWSAQUERYSETA AnsiSet) { INT ErrorCode = ERROR_SUCCESS; - SIZE_T UnicodeSize, AnsiSize; + DWORD UnicodeSize, AnsiSize; LPWSAQUERYSETW UnicodeCopy = NULL; LPWSAQUERYSETA AnsiCopy; LPSTR ServiceCopy = NULL, CommentCopy = NULL; Modified: branches/ros-amd64-bringup/reactos/include/psdk/ws2spi.h URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/inclu…
============================================================================== --- branches/ros-amd64-bringup/reactos/include/psdk/ws2spi.h [iso-8859-1] (original) +++ branches/ros-amd64-bringup/reactos/include/psdk/ws2spi.h [iso-8859-1] Mon Dec 28 02:07:10 2009 @@ -39,7 +39,7 @@ DWORD Reserved; } WSATHREADID, FAR *LPWSATHREADID; -typedef BOOL (CALLBACK FAR *LPBLOCKINGCALLBACK)(DWORD); +typedef BOOL (CALLBACK FAR *LPBLOCKINGCALLBACK)(DWORD_PTR); typedef VOID (CALLBACK FAR *LPWSAUSERAPC)(DWORD); /* Prototypes for service provider procedure table */
14 years, 12 months
1
0
0
0
← Newer
1
2
3
4
5
6
7
8
9
...
51
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Results per page:
10
25
50
100
200