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
June 2005
----- 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
649 discussions
Start a n
N
ew thread
[hbirr] 15789: Merged 15499:15582 from trunk.
by hbirr@svn.reactos.com
Merged 15499:15582 from trunk. Modified: branches/cache_manager_rewrite/reactos/bootdata/hivesys.inf Modified: branches/cache_manager_rewrite/reactos/config Modified: branches/cache_manager_rewrite/reactos/drivers/bus/isapnp/isapnp.h Modified: branches/cache_manager_rewrite/reactos/drivers/bus/isapnp/makefile Modified: branches/cache_manager_rewrite/reactos/drivers/bus/pci/makefile Modified: branches/cache_manager_rewrite/reactos/drivers/bus/pci/pci.c Modified: branches/cache_manager_rewrite/reactos/drivers/bus/pci/pdo.c Modified: branches/cache_manager_rewrite/reactos/drivers/dd/beep/makefile Modified: branches/cache_manager_rewrite/reactos/drivers/input/i8042prt/keyboard.c Modified: branches/cache_manager_rewrite/reactos/drivers/input/i8042prt/mouse.c Modified: branches/cache_manager_rewrite/reactos/drivers/input/mouclass/makefile Modified: branches/cache_manager_rewrite/reactos/drivers/input/sermouse/makefile Modified: branches/cache_manager_rewrite/reactos/drivers/input/sermouse/sermouse.c Modified: branches/cache_manager_rewrite/reactos/drivers/net/afd/afd/main.c Modified: branches/cache_manager_rewrite/reactos/drivers/net/afd/include/afd.h Modified: branches/cache_manager_rewrite/reactos/drivers/net/dd/ne2000/Makefile Modified: branches/cache_manager_rewrite/reactos/drivers/net/dd/ne2000/include/ne2 000.h Modified: branches/cache_manager_rewrite/reactos/drivers/net/dd/ne2000/ne2000/main .c Added: branches/cache_manager_rewrite/reactos/drivers/net/lan/include/net_lan.h Added: branches/cache_manager_rewrite/reactos/drivers/net/lan/include/net_wh.h Modified: branches/cache_manager_rewrite/reactos/drivers/net/lan/include/precomp.h Modified: branches/cache_manager_rewrite/reactos/drivers/net/lan/lan/lan.c Modified: branches/cache_manager_rewrite/reactos/drivers/net/lan/makefile Modified: branches/cache_manager_rewrite/reactos/drivers/net/npf/Makefile Modified: branches/cache_manager_rewrite/reactos/drivers/net/npf/dump.c Modified: branches/cache_manager_rewrite/reactos/drivers/net/npf/jitter.c Modified: branches/cache_manager_rewrite/reactos/drivers/net/npf/openclos.c Modified: branches/cache_manager_rewrite/reactos/drivers/net/npf/packet.c Modified: branches/cache_manager_rewrite/reactos/drivers/net/npf/packet.h Modified: branches/cache_manager_rewrite/reactos/drivers/net/npf/read.c Modified: branches/cache_manager_rewrite/reactos/drivers/net/npf/win_bpf.h Modified: branches/cache_manager_rewrite/reactos/drivers/net/npf/write.c Deleted: branches/cache_manager_rewrite/reactos/drivers/net/packet/ Modified: branches/cache_manager_rewrite/reactos/drivers/video/displays/framebuf/s creen.c Modified: branches/cache_manager_rewrite/reactos/drivers/video/miniport/vbe/vbemp. c Modified: branches/cache_manager_rewrite/reactos/drivers/video/miniport/vbe/vbemp. h Modified: branches/cache_manager_rewrite/reactos/hal/halx86/mp/mpconfig.c Modified: branches/cache_manager_rewrite/reactos/include/debug.h Deleted: branches/cache_manager_rewrite/reactos/include/ndis.h Deleted: branches/cache_manager_rewrite/reactos/include/net/ Modified: branches/cache_manager_rewrite/reactos/include/ntdll/ntdll.h Modified: branches/cache_manager_rewrite/reactos/include/win32k/debug1.h Modified: branches/cache_manager_rewrite/reactos/include/wine/debug.h Modified: branches/cache_manager_rewrite/reactos/include/wine/exception.h Modified: branches/cache_manager_rewrite/reactos/include/wine/msidefs.h Modified: branches/cache_manager_rewrite/reactos/lib/cabinet/Makefile.in Modified: branches/cache_manager_rewrite/reactos/lib/cabinet/cabinet.h Modified: branches/cache_manager_rewrite/reactos/lib/cabinet/fci.c Modified: branches/cache_manager_rewrite/reactos/lib/comctl32/Makefile.in Modified: branches/cache_manager_rewrite/reactos/lib/comctl32/comboex.c Modified: branches/cache_manager_rewrite/reactos/lib/comctl32/comctl32undoc.c Modified: branches/cache_manager_rewrite/reactos/lib/comctl32/datetime.c Modified: branches/cache_manager_rewrite/reactos/lib/comctl32/header.c Modified: branches/cache_manager_rewrite/reactos/lib/comctl32/hotkey.c Modified: branches/cache_manager_rewrite/reactos/lib/comctl32/imagelist.c Modified: branches/cache_manager_rewrite/reactos/lib/comctl32/ipaddress.c Modified: branches/cache_manager_rewrite/reactos/lib/comctl32/listview.c Modified: branches/cache_manager_rewrite/reactos/lib/comctl32/monthcal.c Modified: branches/cache_manager_rewrite/reactos/lib/comctl32/tab.c Modified: branches/cache_manager_rewrite/reactos/lib/comctl32/toolbar.c Modified: branches/cache_manager_rewrite/reactos/lib/comctl32/updown.c Modified: branches/cache_manager_rewrite/reactos/lib/comdlg32/Makefile.in Modified: branches/cache_manager_rewrite/reactos/lib/comdlg32/commdlg.spec Modified: branches/cache_manager_rewrite/reactos/lib/comdlg32/filedlg.c Modified: branches/cache_manager_rewrite/reactos/lib/comdlg32/filedlgbrowser.c Modified: branches/cache_manager_rewrite/reactos/lib/comdlg32/fontdlg.c Deleted: branches/cache_manager_rewrite/reactos/lib/comdlg32/generic.c Modified: branches/cache_manager_rewrite/reactos/lib/dinput8/Makefile.in Modified: branches/cache_manager_rewrite/reactos/lib/gdi32/gdi32.def Modified: branches/cache_manager_rewrite/reactos/lib/gdi32/misc/stubs.c Modified: branches/cache_manager_rewrite/reactos/lib/icmp/Makefile.in Modified: branches/cache_manager_rewrite/reactos/lib/mpr/Makefile.in Modified: branches/cache_manager_rewrite/reactos/lib/msi/Makefile.in Modified: branches/cache_manager_rewrite/reactos/lib/msi/action.c Modified: branches/cache_manager_rewrite/reactos/lib/msi/action.h Modified: branches/cache_manager_rewrite/reactos/lib/msi/appsearch.c Modified: branches/cache_manager_rewrite/reactos/lib/msi/cond.tab.c Modified: branches/cache_manager_rewrite/reactos/lib/msi/cond.y Modified: branches/cache_manager_rewrite/reactos/lib/msi/create.c Modified: branches/cache_manager_rewrite/reactos/lib/msi/custom.c Modified: branches/cache_manager_rewrite/reactos/lib/msi/database.c Modified: branches/cache_manager_rewrite/reactos/lib/msi/dialog.c Modified: branches/cache_manager_rewrite/reactos/lib/msi/insert.c Modified: branches/cache_manager_rewrite/reactos/lib/msi/msi.c Modified: branches/cache_manager_rewrite/reactos/lib/msi/msi.spec Modified: branches/cache_manager_rewrite/reactos/lib/msi/msi_Fr.rc Modified: branches/cache_manager_rewrite/reactos/lib/msi/msipriv.h Modified: branches/cache_manager_rewrite/reactos/lib/msi/msiquery.c Modified: branches/cache_manager_rewrite/reactos/lib/msi/order.c Modified: branches/cache_manager_rewrite/reactos/lib/msi/package.c Modified: branches/cache_manager_rewrite/reactos/lib/msi/query.h Modified: branches/cache_manager_rewrite/reactos/lib/msi/record.c Modified: branches/cache_manager_rewrite/reactos/lib/msi/registry.c Modified: branches/cache_manager_rewrite/reactos/lib/msi/sql.tab.c Modified: branches/cache_manager_rewrite/reactos/lib/msi/sql.y Modified: branches/cache_manager_rewrite/reactos/lib/msi/suminfo.c Modified: branches/cache_manager_rewrite/reactos/lib/msi/table.c Modified: branches/cache_manager_rewrite/reactos/lib/msi/tokenize.c Modified: branches/cache_manager_rewrite/reactos/lib/msi/update.c Modified: branches/cache_manager_rewrite/reactos/lib/msi/version.rc [truncated at 100 lines; 93 more skipped] _____ Modified: branches/cache_manager_rewrite/reactos/bootdata/hivesys.inf --- branches/cache_manager_rewrite/reactos/bootdata/hivesys.inf 2005-06-04 19:44:50 UTC (rev 15788) +++ branches/cache_manager_rewrite/reactos/bootdata/hivesys.inf 2005-06-04 19:50:39 UTC (rev 15789) @@ -532,7 +532,7 @@ HKLM,"SYSTEM\CurrentControlSet\Services\DebugOut","ErrorControl",0x00010 001,0x00000000 HKLM,"SYSTEM\CurrentControlSet\Services\DebugOut","Group",0x00000000,"De bug" HKLM,"SYSTEM\CurrentControlSet\Services\DebugOut","ImagePath",0x00020000 ,"system32\drivers\debugout.sys" -HKLM,"SYSTEM\CurrentControlSet\Services\DebugOut","Start",0x00010001,0x 00000001 +HKLM,"SYSTEM\CurrentControlSet\Services\DebugOut","Start",0x00010001,0x 00000004 HKLM,"SYSTEM\CurrentControlSet\Services\DebugOut","Type",0x00010001,0x00 000001 ; Disk class driver @@ -678,7 +678,7 @@ HKLM,"SYSTEM\CurrentControlSet\Services\Ne2000","ErrorControl",0x0001000 1,0x00000001 HKLM,"SYSTEM\CurrentControlSet\Services\Ne2000","Group",0x00000000,"NDIS " HKLM,"SYSTEM\CurrentControlSet\Services\Ne2000","ImagePath",0x00020000," system32\drivers\ne2000.sys" -HKLM,"SYSTEM\CurrentControlSet\Services\Ne2000","Start",0x00010001,0x00 000004 +HKLM,"SYSTEM\CurrentControlSet\Services\Ne2000","Start",0x00010001,0x00 000003 HKLM,"SYSTEM\CurrentControlSet\Services\Ne2000","Type",0x00010001,0x0000 0001 HKLM,"SYSTEM\CurrentControlSet\Services\Ne2000","Route",0x00000000,"Ne20 001" @@ -690,8 +690,8 @@ HKLM,"SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08 002BE10318}\0001\Linkage","Export",0x00000000,"\Device\Ne20001" HKLM,"SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08 002BE10318}\0001\Linkage","RootDevice",0x00000000,"Ne20001" HKLM,"SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08 002BE10318}\0001\Linkage","UpperBind",0x00000000,"Tcpip" -HKLM,"SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-0 8002BE10318}\0001","Port",0x00000000,"280" -HKLM,"SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-0 8002BE10318}\0001","Irq",0x00000000,"9" +HKLM,"SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-0 8002BE10318}\0001","Port",0x00000000,"c100" +HKLM,"SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-0 8002BE10318}\0001","Irq",0x00000000,"B" HKLM,"SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08 002BE10318}\0001","NetworkAddress",0x00000000,"001122334455" HKLM,"SYSTEM\CurrentControlSet\Services\Ne20001\Parameters\Tcpip","Defau ltGateway",0x00010000,"0.0.0.0" HKLM,"SYSTEM\CurrentControlSet\Services\Ne20001\Parameters\Tcpip","IPAdd ress",0x00010000,"0.0.0.0" @@ -892,7 +892,7 @@ HKLM,"SYSTEM\CurrentControlSet\Services\Tcpip\Parameters","DataBasePath" ,0x00010000,"DataBasePath" HKLM,"SYSTEM\CurrentControlSet\Services\Tcpip\Parameters","Domain",0x000 10000,"" HKLM,"SYSTEM\CurrentControlSet\Services\Tcpip\Parameters","Hostname",0x0 0010000,"ROSHost" -HKLM,"SYSTEM\CurrentControlSet\Services\Tcpip\Parameters","NameServer", 0x00010000,"10.0.0.1" +HKLM,"SYSTEM\CurrentControlSet\Services\Tcpip\Parameters","NameServer", 0x00010000,"0.0.0.0" HKLM,"SYSTEM\CurrentControlSet\Services\Tcpip\Parameters","ForwardBroadc asts",0x00010001,0x00000000 HKLM,"SYSTEM\CurrentControlSet\Services\Tcpip\Parameters","IPEnableRoute r",0x00010001,0x00000000 HKLM,"SYSTEM\CurrentControlSet\Services\Tcpip\Parameters","SearchList",0 x00010000,"" _____ Modified: branches/cache_manager_rewrite/reactos/config --- branches/cache_manager_rewrite/reactos/config 2005-06-04 19:44:50 UTC (rev 15788) +++ branches/cache_manager_rewrite/reactos/config 2005-06-04 19:50:39 UTC (rev 15789) @@ -14,7 +14,7 @@ # be optimized for. # -OARCH := i486 +OARCH := i486 # # Whether to compile in the kernel debugger @@ -25,7 +25,7 @@ # Whether to compile for debugging # Enabling this enables ASSERTS, GDB and Special Debug Routines # -DBG := 0 +DBG := 1 # # Whether to compile a multiprocessor or single processor version _____ Modified: branches/cache_manager_rewrite/reactos/drivers/bus/isapnp/isapnp.h --- branches/cache_manager_rewrite/reactos/drivers/bus/isapnp/isapnp.h 2005-06-04 19:44:50 UTC (rev 15788) +++ branches/cache_manager_rewrite/reactos/drivers/bus/isapnp/isapnp.h 2005-06-04 19:50:39 UTC (rev 15789) @@ -5,6 +5,8 @@ extern "C" { #endif +#define IO_RESOURCE_REQUIRED 0x00 //ROS Extension + #define ISAPNP_ADDRESS_PORT 0x0279 // ADDRESS (W) #define ISAPNP_WRITE_PORT 0x0A79 // WRITE_DATA (W) #define ISAPNP_MIN_READ_PORT 0x0203 // READ_DATA (R) _____ Modified: branches/cache_manager_rewrite/reactos/drivers/bus/isapnp/makefile --- branches/cache_manager_rewrite/reactos/drivers/bus/isapnp/makefile 2005-06-04 19:44:50 UTC (rev 15788) +++ branches/cache_manager_rewrite/reactos/drivers/bus/isapnp/makefile 2005-06-04 19:50:39 UTC (rev 15789) @@ -8,7 +8,7 @@ TARGET_OBJECTS = isapnp.o -TARGET_CFLAGS = -Werror -Wall +TARGET_CFLAGS = -D__USE_W32API -Werror -Wall include $(PATH_TO_TOP)/rules.mak _____ Modified: branches/cache_manager_rewrite/reactos/drivers/bus/pci/makefile --- branches/cache_manager_rewrite/reactos/drivers/bus/pci/makefile 2005-06-04 19:44:50 UTC (rev 15788) +++ branches/cache_manager_rewrite/reactos/drivers/bus/pci/makefile 2005-06-04 19:50:39 UTC (rev 15789) @@ -6,7 +6,7 @@ TARGET_NAME = pci -TARGET_CFLAGS = -Wall -Werror +TARGET_CFLAGS = -Wall -Werror -D__USE_W32API TARGET_OBJECTS = fdo.o pci.o pdo.o _____ Modified: branches/cache_manager_rewrite/reactos/drivers/bus/pci/pci.c --- branches/cache_manager_rewrite/reactos/drivers/bus/pci/pci.c 2005-06-04 19:44:50 UTC (rev 15788) +++ branches/cache_manager_rewrite/reactos/drivers/bus/pci/pci.c 2005-06-04 19:50:39 UTC (rev 15789) @@ -9,6 +9,7 @@ */ #include <ddk/ntddk.h> +#include <stdio.h> #include "pcidef.h" #include "pci.h" _____ Modified: branches/cache_manager_rewrite/reactos/drivers/bus/pci/pdo.c --- branches/cache_manager_rewrite/reactos/drivers/bus/pci/pdo.c 2005-06-04 19:44:50 UTC (rev 15788) +++ branches/cache_manager_rewrite/reactos/drivers/bus/pci/pdo.c 2005-06-04 19:50:39 UTC (rev 15789) @@ -9,15 +9,14 @@ */ #include <ddk/ntddk.h> - +#include <initguid.h> +#include <ddk/wdmguid.h> #include "pcidef.h" #include "pci.h" #define NDEBUG #include <debug.h> -DEFINE_GUID(GUID_BUS_TYPE_PCI, 0xc8ebdfb0L, 0xb510, 0x11d0, 0x80, 0xe5, 0x00, 0xa0, 0xc9, 0x25, 0x42, 0xe3); - /*** PRIVATE *****************************************************************/ static NTSTATUS _____ Modified: branches/cache_manager_rewrite/reactos/drivers/dd/beep/makefile --- branches/cache_manager_rewrite/reactos/drivers/dd/beep/makefile 2005-06-04 19:44:50 UTC (rev 15788) +++ branches/cache_manager_rewrite/reactos/drivers/dd/beep/makefile 2005-06-04 19:50:39 UTC (rev 15789) @@ -8,7 +8,7 @@ TARGET_OBJECTS = beep.o -TARGET_CFLAGS = -Wall -Werror +TARGET_CFLAGS = -Wall -Werror -D__USE_W32API include $(PATH_TO_TOP)/rules.mak _____ Modified: branches/cache_manager_rewrite/reactos/drivers/input/i8042prt/keyboard.c --- branches/cache_manager_rewrite/reactos/drivers/input/i8042prt/keyboard.c 2005-06-04 19:44:50 UTC (rev 15788) +++ branches/cache_manager_rewrite/reactos/drivers/input/i8042prt/keyboard.c 2005-06-04 19:50:39 UTC (rev 15789) @@ -113,7 +113,7 @@ } while (Iterations < DevExt->Settings.PollStatusIterations); if (STATUS_SUCCESS != Status) { - DPRINT1("Spurious I8042 interrupt\n"); + DPRINT("Spurious I8042 interrupt\n"); return FALSE; } _____ Modified: branches/cache_manager_rewrite/reactos/drivers/input/i8042prt/mouse.c --- branches/cache_manager_rewrite/reactos/drivers/input/i8042prt/mouse.c 2005-06-04 19:44:50 UTC (rev 15788) +++ branches/cache_manager_rewrite/reactos/drivers/input/i8042prt/mouse.c 2005-06-04 19:50:39 UTC (rev 15789) @@ -334,7 +334,7 @@ case ExpectingFinalResolutionACK: I8042IsrWritePortMouse(DevExt, DevExt->Settings.MouseResolution & 0xff); - DPRINT1("%x\n", DevExt->Settings.MouseResolution); + DPRINT("%x\n", DevExt->Settings.MouseResolution); DevExt->MouseResetState = ExpectingFinalResolutionValueACK; return TRUE; case ExpectingFinalResolutionValueACK: _____ Modified: branches/cache_manager_rewrite/reactos/drivers/input/mouclass/makefile --- branches/cache_manager_rewrite/reactos/drivers/input/mouclass/makefile 2005-06-04 19:44:50 UTC (rev 15788) +++ branches/cache_manager_rewrite/reactos/drivers/input/mouclass/makefile 2005-06-04 19:50:39 UTC (rev 15789) @@ -6,7 +6,7 @@ TARGET_NAME = mouclass -TARGET_CFLAGS = -Wall -Werror +TARGET_CFLAGS = -D__USE_32API -Wall -Werror TARGET_OBJECTS = $(TARGET_NAME).o _____ Modified: branches/cache_manager_rewrite/reactos/drivers/input/sermouse/makefile --- branches/cache_manager_rewrite/reactos/drivers/input/sermouse/makefile 2005-06-04 19:44:50 UTC (rev 15788) +++ branches/cache_manager_rewrite/reactos/drivers/input/sermouse/makefile 2005-06-04 19:50:39 UTC (rev 15789) @@ -9,7 +9,7 @@ TARGET_OBJECTS = \ sermouse.o -TARGET_CFLAGS = -Wall -Werror +TARGET_CFLAGS = -D__USE_W32API -Wall -Werror #mouse.o - Old Serial mouse driver _____ Modified: branches/cache_manager_rewrite/reactos/drivers/input/sermouse/sermouse.c --- branches/cache_manager_rewrite/reactos/drivers/input/sermouse/sermouse.c 2005-06-04 19:44:50 UTC (rev 15788) +++ branches/cache_manager_rewrite/reactos/drivers/input/sermouse/sermouse.c 2005-06-04 19:50:39 UTC (rev 15789) @@ -10,6 +10,7 @@ /* INCLUDES *****************************************************************/ +#include <stdio.h> #include <ddk/ntddk.h> #include <ddk/ntddmou.h> _____ Modified: branches/cache_manager_rewrite/reactos/drivers/net/afd/afd/main.c --- branches/cache_manager_rewrite/reactos/drivers/net/afd/afd/main.c 2005-06-04 19:44:50 UTC (rev 15788) +++ branches/cache_manager_rewrite/reactos/drivers/net/afd/afd/main.c 2005-06-04 19:50:39 UTC (rev 15789) @@ -488,7 +488,7 @@ DriverEntry(PDRIVER_OBJECT DriverObject, PUNICODE_STRING RegistryPath) { PDEVICE_OBJECT DeviceObject; - UNICODE_STRING wstrDeviceName; + UNICODE_STRING wstrDeviceName = RTL_CONSTANT_STRING(L"\\Device\\Afd"); PAFD_DEVICE_EXTENSION DeviceExt; NTSTATUS Status; @@ -500,9 +500,6 @@ DriverObject->MajorFunction[IRP_MJ_DEVICE_CONTROL] = AfdDispatch; DriverObject->DriverUnload = AfdUnload; - /* create afd device */ - RtlRosInitUnicodeStringFromLiteral(&wstrDeviceName, L"\\Device\\Afd"); - Status = IoCreateDevice ( DriverObject, sizeof(AFD_DEVICE_EXTENSION), _____ Modified: branches/cache_manager_rewrite/reactos/drivers/net/afd/include/afd.h --- branches/cache_manager_rewrite/reactos/drivers/net/afd/include/afd.h 2005-06-04 19:44:50 UTC (rev 15788) +++ branches/cache_manager_rewrite/reactos/drivers/net/afd/include/afd.h 2005-06-04 19:50:39 UTC (rev 15789) @@ -17,22 +17,9 @@ #include <tdikrnl.h> #include <tdiinfo.h> #include <string.h> -#include <ndis.h> +#include <winsock2.h> #include <shared.h> -#ifndef _MSC_VER -#include <roscfg.h> -#include <rosrtl/string.h> -#include <winsock2.h> -#include <ddk/tdi.h> -#include <ddk/ndis.h> -#include <tcpmisc.h> -#include <tcpioctl.h> -#else -#include <ntdef.h> -#define STDCALL -#endif - #ifndef MIN #define MIN(x,y) (((x)<(y))?(x):(y)) #endif _____ Modified: branches/cache_manager_rewrite/reactos/drivers/net/dd/ne2000/Makefile --- branches/cache_manager_rewrite/reactos/drivers/net/dd/ne2000/Makefile 2005-06-04 19:44:50 UTC (rev 15788) +++ branches/cache_manager_rewrite/reactos/drivers/net/dd/ne2000/Makefile 2005-06-04 19:50:39 UTC (rev 15789) @@ -6,7 +6,7 @@ TARGET_NAME = ne2000 -TARGET_CFLAGS = -I./include -Werror -Wall +TARGET_CFLAGS = -I./include -D__USE_W32API -Werror -Wall TARGET_OBJECTS = \ ne2000/8390.o \ _____ Modified: branches/cache_manager_rewrite/reactos/drivers/net/dd/ne2000/include/ne2 000.h --- branches/cache_manager_rewrite/reactos/drivers/net/dd/ne2000/include/ne2 000.h 2005-06-04 19:44:50 UTC (rev 15788) +++ branches/cache_manager_rewrite/reactos/drivers/net/dd/ne2000/include/ne2 000.h 2005-06-04 19:50:39 UTC (rev 15789) @@ -7,16 +7,7 @@ #ifndef __NE2000_H #define __NE2000_H -#ifdef _MSC_VER - -#ifndef ULONG_PTR -#define ULONG ULONG_PTR -#endif - -#include <ndis.h> -#else -#include <net/ndis.h> -#endif +#include <ddk/ndis.h> #include <8390.h> #include <debug.h> _____ Modified: branches/cache_manager_rewrite/reactos/drivers/net/dd/ne2000/ne2000/main .c --- branches/cache_manager_rewrite/reactos/drivers/net/dd/ne2000/ne2000/main .c 2005-06-04 19:44:50 UTC (rev 15788) +++ branches/cache_manager_rewrite/reactos/drivers/net/dd/ne2000/ne2000/main .c 2005-06-04 19:50:39 UTC (rev 15789) @@ -844,9 +844,9 @@ Miniport.QueryInformationHandler = MiniportQueryInformation; Miniport.ReconfigureHandler = MiniportReconfigure; Miniport.ResetHandler = MiniportReset; - Miniport.u1.SendHandler = MiniportSend; + Miniport.SendHandler = MiniportSend; Miniport.SetInformationHandler = MiniportSetInformation; - Miniport.u2.TransferDataHandler = MiniportTransferData; + Miniport.TransferDataHandler = MiniportTransferData; NdisMInitializeWrapper(&NdisWrapperHandle, DriverObject, _____ Copied: branches/cache_manager_rewrite/reactos/drivers/net/lan/include/net_lan.h (from rev 15582, trunk/reactos/drivers/net/lan/include/net_lan.h) Property changes on: branches/cache_manager_rewrite/reactos/drivers/net/lan/include/net_lan.h ___________________________________________________________________ Name: svn:keywords + author date id revision Name: svn:eol-style + native _____ Copied: branches/cache_manager_rewrite/reactos/drivers/net/lan/include/net_wh.h (from rev 15582, trunk/reactos/drivers/net/lan/include/net_wh.h) Property changes on: branches/cache_manager_rewrite/reactos/drivers/net/lan/include/net_wh.h ___________________________________________________________________ Name: svn:keywords + author date id revision Name: svn:eol-style + native _____ Modified: branches/cache_manager_rewrite/reactos/drivers/net/lan/include/precomp.h --- branches/cache_manager_rewrite/reactos/drivers/net/lan/include/precomp.h 2005-06-04 19:44:50 UTC (rev 15788) +++ branches/cache_manager_rewrite/reactos/drivers/net/lan/include/precomp.h 2005-06-04 19:50:39 UTC (rev 15789) @@ -8,7 +8,7 @@ #include <roscfg.h> #include <debug.h> #include <pseh.h> -#include "net/lan.h" +#include "net_lan.h" #include "lan.h" #endif/*_LAN_PRECOMP_H*/ _____ Modified: branches/cache_manager_rewrite/reactos/drivers/net/lan/lan/lan.c --- branches/cache_manager_rewrite/reactos/drivers/net/lan/lan/lan.c 2005-06-04 19:44:50 UTC (rev 15788) +++ branches/cache_manager_rewrite/reactos/drivers/net/lan/lan/lan.c 2005-06-04 19:50:39 UTC (rev 15789) @@ -1208,7 +1208,6 @@ { PIO_STACK_LOCATION IrpSp = IoGetCurrentIrpStackLocation(Irp); NTSTATUS Status = STATUS_SUCCESS; - PFILE_OBJECT FileObject = IrpSp->FileObject; LA_DbgPrint(MID_TRACE,("LanDispatch: %d\n", IrpSp->MajorFunction)); if( IrpSp->MajorFunction != IRP_MJ_CREATE) { _____ Modified: branches/cache_manager_rewrite/reactos/drivers/net/lan/makefile --- branches/cache_manager_rewrite/reactos/drivers/net/lan/makefile 2005-06-04 19:44:50 UTC (rev 15788) +++ branches/cache_manager_rewrite/reactos/drivers/net/lan/makefile 2005-06-04 19:50:39 UTC (rev 15789) @@ -13,6 +13,7 @@ # -DMEMTRACK TARGET_CFLAGS = \ -D__USE_W32API \ + -D_SEH_NO_NATIVE_NLG \ -DNDIS40 \ -DMEMTRACK \ -Wall -Werror \ @@ -20,9 +21,11 @@ -I$(PATH_TO_TOP)/w32api/include \ -I$(PATH_TO_TOP)/include -TARGET_DDKLIBS = ndis.a \ - $(PATH_TO_TOP)/dk/w32/lib/pseh.a +TARGET_DDKLIBS = ndis.a +TARGET_LIBS = \ + $(PATH_TO_TOP)/dk/w32/lib/libpseh.a + TARGET_CLEAN = \ lan/*.o _____ Modified: branches/cache_manager_rewrite/reactos/drivers/net/npf/Makefile --- branches/cache_manager_rewrite/reactos/drivers/net/npf/Makefile 2005-06-04 19:44:50 UTC (rev 15788) +++ branches/cache_manager_rewrite/reactos/drivers/net/npf/Makefile 2005-06-04 19:50:39 UTC (rev 15789) @@ -7,9 +7,9 @@ TARGET_NAME = npf -#TARGET_CFLAGS = -DDBG -DWIN_NT_DRIVER -DKQPC_TS -I$(PATH_TO_TOP)/ntoskrnl/include +#TARGET_CFLAGS = -D__USE_W32API -D_TIMEVAL_DEFINED -DDBG -DWIN_NT_DRIVER -DKQPC_TS -I$(PATH_TO_TOP)/ntoskrnl/include -TARGET_CFLAGS = -DDBG -DWIN_NT_DRIVER -DKQPC_TS -DUSE_KLOCKS -I$(PATH_TO_TOP)/ntoskrnl/include -Wall -Werror +TARGET_CFLAGS = -D__USE_W32API -D_TIMEVAL_DEFINED -DDBG -DWIN_NT_DRIVER -DKQPC_TS -DUSE_KLOCKS -I$(PATH_TO_TOP)/ntoskrnl/include -Wall -Werror TARGET_DDKLIBS = ndis.a _____ Modified: branches/cache_manager_rewrite/reactos/drivers/net/npf/dump.c --- branches/cache_manager_rewrite/reactos/drivers/net/npf/dump.c 2005-06-04 19:44:50 UTC (rev 15788) +++ branches/cache_manager_rewrite/reactos/drivers/net/npf/dump.c 2005-06-04 19:50:39 UTC (rev 15789) @@ -26,7 +26,7 @@ #include "ndis.h" #else #include <ddk/ntddk.h> -#include <net/ndis.h> +#include <ddk/ndis.h> //#define PsGetCurrentProcess() IoGetCurrentProcess() #ifndef PsGetCurrentThread #define PsGetCurrentThread() ((PETHREAD) (KeGetCurrentThread())) _____ Modified: branches/cache_manager_rewrite/reactos/drivers/net/npf/jitter.c --- branches/cache_manager_rewrite/reactos/drivers/net/npf/jitter.c 2005-06-04 19:44:50 UTC (rev 15788) +++ branches/cache_manager_rewrite/reactos/drivers/net/npf/jitter.c 2005-06-04 19:50:39 UTC (rev 15789) @@ -26,7 +26,7 @@ #include "ndis.h" #else #include <ddk/ntddk.h> -#include <net/ndis.h> +#include <ddk/ndis.h> #endif #include "packet.h" _____ Modified: branches/cache_manager_rewrite/reactos/drivers/net/npf/openclos.c --- branches/cache_manager_rewrite/reactos/drivers/net/npf/openclos.c 2005-06-04 19:44:50 UTC (rev 15788) +++ branches/cache_manager_rewrite/reactos/drivers/net/npf/openclos.c 2005-06-04 19:50:39 UTC (rev 15789) @@ -25,7 +25,7 @@ #include "ndis.h" #else #include <ddk/ntddk.h> -#include <net/ndis.h> +#include <ddk/ndis.h> #endif #include "debug.h" #include "packet.h" _____ Modified: branches/cache_manager_rewrite/reactos/drivers/net/npf/packet.c --- branches/cache_manager_rewrite/reactos/drivers/net/npf/packet.c 2005-06-04 19:44:50 UTC (rev 15788) +++ branches/cache_manager_rewrite/reactos/drivers/net/npf/packet.c 2005-06-04 19:50:39 UTC (rev 15789) @@ -26,7 +26,7 @@ #include "ndis.h" #else #include <ddk/ntddk.h> -#include <net/ndis.h> +#include <ddk/ndis.h> #endif #include "ntddpack.h" @@ -114,27 +114,14 @@ ProtocolChar.MajorNdisVersion = 3; #endif ProtocolChar.MinorNdisVersion = 0; -#ifndef __GNUC__ ProtocolChar.Reserved = 0; -#else - ProtocolChar.u1.Reserved = 0; -#endif ProtocolChar.OpenAdapterCompleteHandler = NPF_OpenAdapterComplete; ProtocolChar.CloseAdapterCompleteHandler = NPF_CloseAdapterComplete; -#ifndef __GNUC__ ProtocolChar.SendCompleteHandler = NPF_SendComplete; ProtocolChar.TransferDataCompleteHandler = NPF_TransferDataComplete; -#else - ProtocolChar.u2.SendCompleteHandler = NPF_SendComplete; - ProtocolChar.u3.TransferDataCompleteHandler = NPF_TransferDataComplete; -#endif ProtocolChar.ResetCompleteHandler = NPF_ResetComplete; ProtocolChar.RequestCompleteHandler = NPF_RequestComplete; -#ifndef __GNUC__ ProtocolChar.ReceiveHandler = NPF_tap; -#else - ProtocolChar.u4.ReceiveHandler = NPF_tap; -#endif ProtocolChar.ReceiveCompleteHandler = NPF_ReceiveComplete; ProtocolChar.StatusHandler = NPF_Status; ProtocolChar.StatusCompleteHandler = NPF_StatusComplete; _____ Modified: branches/cache_manager_rewrite/reactos/drivers/net/npf/packet.h --- branches/cache_manager_rewrite/reactos/drivers/net/npf/packet.h 2005-06-04 19:44:50 UTC (rev 15788) +++ branches/cache_manager_rewrite/reactos/drivers/net/npf/packet.h 2005-06-04 19:50:39 UTC (rev 15789) @@ -32,13 +32,9 @@ #define NTKERNEL ///< Forces the compilation of the jitter with kernel calls -#ifdef __GNUC__ +struct bpf_insn; #undef EXIT_SUCCESS #undef EXIT_FAILURE -#define UNICODE_NULL ((WCHAR)0) // winnt -#include "win_bpf.h" -#include <internal/ps.h> -#endif #include "jitter.h" #include "tme.h" _____ Modified: branches/cache_manager_rewrite/reactos/drivers/net/npf/read.c --- branches/cache_manager_rewrite/reactos/drivers/net/npf/read.c 2005-06-04 19:44:50 UTC (rev 15788) +++ branches/cache_manager_rewrite/reactos/drivers/net/npf/read.c 2005-06-04 19:50:39 UTC (rev 15789) @@ -26,10 +26,8 @@ #include <ndis.h> #else #include <ddk/ntddk.h> -#include <net/ndis.h> +#include <ddk/ndis.h> -#define NdisMoveMappedMemory(Destination,Source,Length) RtlCopyMemory(Destination,Source,Length) -#define NdisZeroMappedMemory(Destination,Length) RtlZeroMemory(Destination,Length) #define NdisReinitializePacket(Packet) \ { \ (Packet)->Private.Head = (PNDIS_BUFFER)NULL; \ _____ Modified: branches/cache_manager_rewrite/reactos/drivers/net/npf/win_bpf.h --- branches/cache_manager_rewrite/reactos/drivers/net/npf/win_bpf.h 2005-06-04 19:44:50 UTC (rev 15788) +++ branches/cache_manager_rewrite/reactos/drivers/net/npf/win_bpf.h 2005-06-04 19:50:39 UTC (rev 15789) @@ -47,7 +47,7 @@ typedef UCHAR u_char; typedef USHORT u_short; -typedef ULONG u_int; +typedef UINT u_int; typedef LONG bpf_int32; typedef ULONG bpf_u_int32; typedef ULONG u_int32; _____ Modified: branches/cache_manager_rewrite/reactos/drivers/net/npf/write.c --- branches/cache_manager_rewrite/reactos/drivers/net/npf/write.c 2005-06-04 19:44:50 UTC (rev 15788) +++ branches/cache_manager_rewrite/reactos/drivers/net/npf/write.c 2005-06-04 19:50:39 UTC (rev 15789) @@ -26,7 +26,7 @@ #include "ndis.h" #else #include <ddk/ntddk.h> -#include <net/ndis.h> +#include <ddk/ndis.h> #define NdisReinitializePacket(Packet) \ { \ (Packet)->Private.Head = (PNDIS_BUFFER)NULL; \ _____ Modified: branches/cache_manager_rewrite/reactos/drivers/video/displays/framebuf/s creen.c --- branches/cache_manager_rewrite/reactos/drivers/video/displays/framebuf/s creen.c 2005-06-04 19:44:50 UTC (rev 15788) +++ branches/cache_manager_rewrite/reactos/drivers/video/displays/framebuf/s creen.c 2005-06-04 19:50:39 UTC (rev 15789) @@ -158,7 +158,6 @@ ModeInfoPtr = ModeInfo; while (ModeCount-- > 0) { - if (ModeInfoPtr->Length > 0 && pDevMode->dmPelsWidth == ModeInfoPtr->VisScreenWidth && pDevMode->dmPelsHeight == ModeInfoPtr->VisScreenHeight && @@ -170,7 +169,8 @@ break; } - ModeInfoPtr++; + ModeInfoPtr = (PVIDEO_MODE_INFORMATION) + (((PUCHAR)ModeInfoPtr) + ModeInfoSize); } } @@ -383,6 +383,7 @@ { if (ModeInfoPtr->Length == 0) { + ModeInfoPtr = (PVIDEO_MODE_INFORMATION)(((ULONG_PTR)ModeInfoPtr) + ModeInfoSize); continue; } _____ Modified: branches/cache_manager_rewrite/reactos/drivers/video/miniport/vbe/vbemp. c --- branches/cache_manager_rewrite/reactos/drivers/video/miniport/vbe/vbemp. c 2005-06-04 19:44:50 UTC (rev 15788) +++ branches/cache_manager_rewrite/reactos/drivers/video/miniport/vbe/vbemp. c 2005-06-04 19:50:39 UTC (rev 15789) @@ -885,6 +885,14 @@ VideoMode->YMillimeter = 0; /* FIXME */ if (VBEMode->BitsPerPixel > 8) { + /* + * Always report 16bpp modes and not 15bpp mode... + */ + if (VBEMode->BitsPerPixel == 15 && VBEMode->NumberOfPlanes == 1) + { + VideoMode->BitsPerPlane = 16; + } + if (DeviceExtension->VbeInfo.Version < 0x300) { VideoMode->NumberRedBits = VBEMode->RedMaskSize; _____ Modified: branches/cache_manager_rewrite/reactos/drivers/video/miniport/vbe/vbemp. h --- branches/cache_manager_rewrite/reactos/drivers/video/miniport/vbe/vbemp. h 2005-06-04 19:44:50 UTC (rev 15788) +++ branches/cache_manager_rewrite/reactos/drivers/video/miniport/vbe/vbemp. h 2005-06-04 19:50:39 UTC (rev 15789) @@ -32,7 +32,7 @@ #include <ddk/ntapi.h> #ifdef DBG -#define DPRINT(arg) DbgPrint arg; +#define DPRINT(arg) DbgPrint(arg) #else #define DPRINT(arg) #endif _____ Modified: branches/cache_manager_rewrite/reactos/hal/halx86/mp/mpconfig.c --- branches/cache_manager_rewrite/reactos/hal/halx86/mp/mpconfig.c 2005-06-04 19:44:50 UTC (rev 15788) +++ branches/cache_manager_rewrite/reactos/hal/halx86/mp/mpconfig.c 2005-06-04 19:50:39 UTC (rev 15789) @@ -16,7 +16,7 @@ #include <apic.h> #include <ioapic.h> -//#define NDEBUG +#define NDEBUG #include <internal/debug.h> /* GLOBALS ******************************************************************/ @@ -58,7 +58,7 @@ IRQCount++; } -static PCHAR +PCHAR HaliMPFamily(ULONG Family, ULONG Model) { @@ -275,9 +275,9 @@ { PUCHAR pc = (PUCHAR)&Table->Signature; - DPRINT1("Bad MP configuration block signature: %c%c%c%c\n", + DPRINT1("Bad MP configuration block signature: %c%c%c%c\n", pc[0], pc[1], pc[2], pc[3]); - KEBUGCHECK(0); + KEBUGCHECKEX(0, pc[0], pc[1], pc[2], pc[3]); return FALSE; } _____ Modified: branches/cache_manager_rewrite/reactos/include/debug.h --- branches/cache_manager_rewrite/reactos/include/debug.h 2005-06-04 19:44:50 UTC (rev 15788) +++ branches/cache_manager_rewrite/reactos/include/debug.h 2005-06-04 19:50:39 UTC (rev 15789) @@ -48,12 +48,20 @@ #endif #endif - /* TODO: Make the output of file/line and the debug message atomic */ +#ifdef DBG #define DPRINT1 DbgPrint("(%s:%d) ",__FILE__,__LINE__), DbgPrint #define CHECKPOINT1 do { DbgPrint("%s:%d\n",__FILE__,__LINE__); } while(0); +#else +#ifdef __GNUC__ +#define DPRINT1(args...) +#define CHECKPOINT1 +#else +#define DPRINT1 +#define CHECKPOINT1 +#endif /* __GNUC__ */ +#endif - #ifndef NDEBUG #define DPRINT(args...) do { DbgPrint("(%s:%d) ",__FILE__,__LINE__); DbgPrint(args); } while(0); #define CHECKPOINT do { DbgPrint("%s:%d\n",__FILE__,__LINE__); } while(0); _____ Deleted: branches/cache_manager_rewrite/reactos/include/ndis.h --- branches/cache_manager_rewrite/reactos/include/ndis.h 2005-06-04 19:44:50 UTC (rev 15788) +++ branches/cache_manager_rewrite/reactos/include/ndis.h 2005-06-04 19:50:39 UTC (rev 15789) @@ -1 +0,0 @@ -#include "net/ndis.h" _____ Modified: branches/cache_manager_rewrite/reactos/include/ntdll/ntdll.h --- branches/cache_manager_rewrite/reactos/include/ntdll/ntdll.h 2005-06-04 19:44:50 UTC (rev 15788) +++ branches/cache_manager_rewrite/reactos/include/ntdll/ntdll.h 2005-06-04 19:50:39 UTC (rev 15789) @@ -29,12 +29,17 @@ #define CHECKPOINT do { DbgPrint("(NTDLL:%s:%d) Checkpoint\n",__FILE__,__LINE__); } while(0) #endif +#ifdef DBG #if defined(__GNUC__) #define DPRINT1(args...) do { DbgPrint("(NTDLL:%s:%d) ",__FILE__,__LINE__); DbgPrint(args); } while(0) #else #define DPRINT1 DbgPrint("(NTDLL:%s:%d) ",__FILE__,__LINE__); DbgPrint #endif #define CHECKPOINT1 do { DbgPrint("(NTDLL:%s:%d) Checkpoint\n",__FILE__,__LINE__); } while(0) +#else +#define DPRINT1(args...) +#define CHECKPOINT1(args...) +#endif #define ROUNDUP(a,b) ((((a)+(b)-1)/(b))*(b)) #define ROUNDDOWN(a,b) (((a)/(b))*(b)) _____ Modified: branches/cache_manager_rewrite/reactos/include/win32k/debug1.h --- branches/cache_manager_rewrite/reactos/include/win32k/debug1.h 2005-06-04 19:44:50 UTC (rev 15788) +++ branches/cache_manager_rewrite/reactos/include/win32k/debug1.h 2005-06-04 19:50:39 UTC (rev 15789) @@ -39,10 +39,14 @@ #endif #endif +#ifdef DBG #define DPRINT1 DbgPrint("(%s:%d) ",__FILE__,__LINE__), DbgPrint #define CHECKPOINT1 DbgPrint("%s:%d\n",__FILE__,__LINE__); +#else +#define DPRINT1(args...) +#define CHECKPOINT1(args...) +#endif - #ifdef __NTOSKRNL__ #define DPRINT_CHECKS #else _____ Modified: branches/cache_manager_rewrite/reactos/include/wine/debug.h --- branches/cache_manager_rewrite/reactos/include/wine/debug.h 2005-06-04 19:44:50 UTC (rev 15788) +++ branches/cache_manager_rewrite/reactos/include/wine/debug.h 2005-06-04 19:50:39 UTC (rev 15789) @@ -12,7 +12,11 @@ unsigned long DbgPrint(char *Format,...); +#ifdef DBG #define DPRINT1 DbgPrint("(%s:%d:%s) ",__FILE__,__LINE__,__FUNCTION__), DbgPrint +#else +#define DPRINT1(args...) +#endif #if !defined(DBG) || !defined(YDEBUG) #ifdef __GNUC__ _____ Modified: branches/cache_manager_rewrite/reactos/include/wine/exception.h --- branches/cache_manager_rewrite/reactos/include/wine/exception.h 2005-06-04 19:44:50 UTC (rev 15788) +++ branches/cache_manager_rewrite/reactos/include/wine/exception.h 2005-06-04 19:50:39 UTC (rev 15789) @@ -24,6 +24,7 @@ #include <setjmp.h> #include <windef.h> #include <excpt.h> +#include <wine/port.h> /* The following definitions allow using exceptions in Wine and Winelib code * @@ -75,6 +76,10 @@ #else /* USE_COMPILER_EXCEPTIONS */ +#ifndef __GNUC__ +#define __attribute__(x) /* nothing */ +#endif + #define __TRY \ do { __WINE_FRAME __f; \ int __first = 1; \ @@ -91,7 +96,7 @@ __f.u.filter = (func); \ __wine_push_frame( &__f.frame ); \ if (sigsetjmp( __f.jmp, 1 )) { \ - const __WINE_FRAME * const __eptr WINE_UNUSED = &__f; \ + const __WINE_FRAME * const __eptr __attribute__((unused)) = &__f; \ do { #define __ENDTRY \ @@ -125,10 +130,7 @@ #define GetExceptionInformation() (__eptr) #define GetExceptionCode() (__eptr->ExceptionRecord->ExceptionCode) -#if defined(AbnormalTermination) && defined(__REACTOS__) #undef AbnormalTermination -#endif - #define AbnormalTermination() (!__normal) typedef struct __tagWINE_FRAME @@ -175,8 +177,6 @@ { #if defined(__GNUC__) && defined(__i386__) __asm__ __volatile__(".byte 0x64\n\tmovl %0,(0)" - //: : "r" (frame->Prev) : "memory" ); - //return frame->Prev; : : "r" (frame->prev) : "memory" ); return frame->prev; _____ Modified: branches/cache_manager_rewrite/reactos/include/wine/msidefs.h --- branches/cache_manager_rewrite/reactos/include/wine/msidefs.h 2005-06-04 19:44:50 UTC (rev 15788) +++ branches/cache_manager_rewrite/reactos/include/wine/msidefs.h 2005-06-04 19:50:39 UTC (rev 15789) @@ -23,6 +23,17 @@ extern "C" { #endif +enum msidbFileAttributes { + msidbFileAttributesReadOnly = 0x00000001, + msidbFileAttributesHidden = 0x00000002, + msidbFileAttributesSystem = 0x00000004, + msidbFileAttributesVital = 0x00000200, + msidbFileAttributesChecksum = 0x00000400, + msidbFileAttributesPatchAdded = 0x00001000, + msidbFileAttributesNoncompressed = 0x00002000, + msidbFileAttributesCompressed = 0x00004000 +}; + enum msidbDialogAttributes { msidbDialogAttributesVisible = 0x00000001, msidbDialogAttributesModal = 0x00000002, @@ -103,6 +114,22 @@ msidbComponentAttributes64bit = 0x00000100 }; +enum msidbRegistryRoot +{ + msidbRegistryRootClassesRoot = 0, + msidbRegistryRootCurrentUser = 1, + msidbRegistryRootLocalMachine = 2, + msidbRegistryRootUsers = 3, +}; + +enum msidbLocatorType +{ + msidbLocatorTypeDirectory = 0x000, + msidbLocatorTypeFileName = 0x001, + msidbLocatorTypeRawValue = 0x002, + msidbLocatorType64bit = 0x010, +}; + /* * Windows SDK braindamage alert * _____ Modified: branches/cache_manager_rewrite/reactos/lib/cabinet/Makefile.in --- branches/cache_manager_rewrite/reactos/lib/cabinet/Makefile.in 2005-06-04 19:44:50 UTC (rev 15788) +++ branches/cache_manager_rewrite/reactos/lib/cabinet/Makefile.in 2005-06-04 19:50:39 UTC (rev 15789) @@ -3,6 +3,7 @@ SRCDIR = @srcdir@ VPATH = @srcdir@ MODULE = cabinet.dll +IMPORTLIB = libcabinet.$(IMPLIBEXT) IMPORTS = kernel32 C_SRCS = \ _____ Modified: branches/cache_manager_rewrite/reactos/lib/cabinet/cabinet.h --- branches/cache_manager_rewrite/reactos/lib/cabinet/cabinet.h 2005-06-04 19:44:50 UTC (rev 15788) +++ branches/cache_manager_rewrite/reactos/lib/cabinet/cabinet.h 2005-06-04 19:50:39 UTC (rev 15789) @@ -2,6 +2,7 @@ * cabinet.h * * Copyright 2002 Greg Turner + * Copyright 2005 Gerold Jens Wucherpfennig * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -292,6 +293,19 @@ typedef struct { unsigned int FCI_Intmagic; + PERF perf; + PFNFCIFILEPLACED pfnfiledest; + PFNFCIALLOC pfnalloc; + PFNFCIFREE pfnfree; + PFNFCIOPEN pfnopen; + PFNFCIREAD pfnread; + PFNFCIWRITE pfnwrite; + PFNFCICLOSE pfnclose; + PFNFCISEEK pfnseek; + PFNFCIDELETE pfndelete; + PFNFCIGETTEMPFILE pfnfcigtf; + PCCAB pccab; + void *pv; } FCI_Int, *PFCI_Int; typedef struct { @@ -307,7 +321,7 @@ } FDI_Int, *PFDI_Int; /* cast an HFCI into a PFCI_Int */ -#define PFCI_INT(hfci) ((PFDI_Int)(hfci)) +#define PFCI_INT(hfci) ((PFCI_Int)(hfci)) /* cast an HFDI into a PFDI_Int */ #define PFDI_INT(hfdi) ((PFDI_Int)(hfdi)) _____ Modified: branches/cache_manager_rewrite/reactos/lib/cabinet/fci.c --- branches/cache_manager_rewrite/reactos/lib/cabinet/fci.c 2005-06-04 19:44:50 UTC (rev 15788) +++ branches/cache_manager_rewrite/reactos/lib/cabinet/fci.c 2005-06-04 19:50:39 UTC (rev 15789) @@ -2,6 +2,7 @@ * File Compression Interface * * Copyright 2002 Patrik Stridvall + * Copyright 2005 Gerold Jens Wucherpfennig * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -26,6 +27,7 @@ #include "winbase.h" #include "winerror.h" #include "fci.h" +#include "cabinet.h" #include "wine/debug.h" @@ -33,12 +35,55 @@ /*********************************************************************** * FCICreate (CABINET.10) + * + * Provided with several callbacks, + * returns a handle which can be used to perform operations + * on cabinet files. + * + * PARAMS + * perf [IO] A pointer to an ERF structure. When FCICreate + * returns an error condition, error information may + * be found here as well as from GetLastError. + * pfnfiledest [I] A pointer to a function which is called when a file + * is placed. Only useful for subsequent cabinet files. + * pfnalloc [I] A pointer to a function which allocates ram. Uses + * the same interface as malloc. + * pfnfree [I] A pointer to a function which frees ram. Uses the + * same interface as free. + * pfnopen [I] A pointer to a function which opens a file. Uses + * the same interface as _open. + * pfnread [I] A pointer to a function which reads from a file into + * a caller-provided buffer. Uses the same interface + * as _read + * pfnwrite [I] A pointer to a function which writes to a file from + * a caller-provided buffer. Uses the same interface + * as _write. + * pfnclose [I] A pointer to a function which closes a file handle. + * Uses the same interface as _close. + * pfnseek [I] A pointer to a function which seeks in a file. + * Uses the same interface as _lseek. + * pfndelete [I] A pointer to a function which deletes a file. + * pfnfcigtf [I] A pointer to a function which gets the name of a + * temporary file; ignored in wine + * pccab [I] A pointer to an initialized CCAB structure + * pv [I] A pointer to an application-defined notification + * function which will be passed to other FCI functions + * as a parameter. + * + * RETURNS + * On success, returns an FCI handle of type HFCI. + * On failure, the NULL file handle is returned. Error + * info can be retrieved from perf. + * + * INCLUDES + * fci.h + * */ HFCI __cdecl FCICreate( PERF perf, - PFNFCIFILEPLACED pfnfcifp, - PFNFCIALLOC pfna, - PFNFCIFREE pfnf, + PFNFCIFILEPLACED pfnfiledest, + PFNFCIALLOC pfnalloc, + PFNFCIFREE pfnfree, PFNFCIOPEN pfnopen, PFNFCIREAD pfnread, PFNFCIWRITE pfnwrite, @@ -49,17 +94,57 @@ PCCAB pccab, void *pv) { - FIXME("(%p, %p, %p, %p, %p, %p, %p, %p, %p, %p, %p, %p, %p): stub\n", - perf, pfnfcifp, pfna, pfnf, pfnopen, pfnread, pfnwrite, pfnclose, - pfnseek, pfndelete, pfnfcigtf, pccab, pv); + HFCI rv; + if ((!pfnalloc) || (!pfnfree)) { perf->erfOper = FCIERR_NONE; - perf->erfType = 0; + perf->erfType = ERROR_BAD_ARGUMENTS; perf->fError = TRUE; - SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + SetLastError(ERROR_BAD_ARGUMENTS); + return NULL; + } + if (!(rv = (HFCI) (*pfnalloc)(sizeof(FCI_Int)))) { + perf->erfOper = FCIERR_ALLOC_FAIL; + perf->erfType = ERROR_NOT_ENOUGH_MEMORY; + perf->fError = TRUE; + + SetLastError(ERROR_NOT_ENOUGH_MEMORY); return NULL; + } + + PFCI_INT(rv)->FCI_Intmagic = FCI_INT_MAGIC; + PFCI_INT(rv)->perf = perf; + PFCI_INT(rv)->pfnfiledest = pfnfiledest; + PFCI_INT(rv)->pfnalloc = pfnalloc; + PFCI_INT(rv)->pfnfree = pfnfree; + PFCI_INT(rv)->pfnopen = pfnopen; + PFCI_INT(rv)->pfnread = pfnread; + PFCI_INT(rv)->pfnwrite = pfnwrite; + PFCI_INT(rv)->pfnclose = pfnclose; + PFCI_INT(rv)->pfnseek = pfnseek; + PFCI_INT(rv)->pfndelete = pfndelete; + PFCI_INT(rv)->pfnfcigtf = pfnfcigtf; + PFCI_INT(rv)->pccab = pccab; + PFCI_INT(rv)->pv = pv; + + /* Still mark as incomplete, because of other missing FCI* APIs */ + [truncated at 1000 lines; 25106 more skipped]
19 years, 6 months
1
0
0
0
[navaraf] 15788: Correctly handle NOT operator in window style definitions.
by navaraf@svn.reactos.com
Correctly handle NOT operator in window style definitions. Modified: trunk/reactos/tools/wrc/parser.y Modified: trunk/reactos/tools/wrc/y.tab.c Modified: trunk/reactos/tools/wrc/y.tab.h _____ Modified: trunk/reactos/tools/wrc/parser.y --- trunk/reactos/tools/wrc/parser.y 2005-06-04 19:21:15 UTC (rev 15787) +++ trunk/reactos/tools/wrc/parser.y 2005-06-04 19:44:50 UTC (rev 15788) @@ -345,7 +345,7 @@ %type <lan> opt_language %type <chars> opt_characts %type <ver> opt_version -%type <num> expr xpr +%type <num> expr xpr xpr_no_not %type <iptr> e_expr %type <tlbar> toolbar %type <tlbarItems> toolbar_items @@ -1002,8 +1002,8 @@ style : style '|' style { $$ = new_style($1->or_mask | $3->or_mask, $1->and_mask | $3->and_mask); free($1); free($3);} | '(' style ')' { $$ = $2; } - | xpr { $$ = new_style($1, 0); } - | tNOT xpr { $$ = new_style(0, $2); } + | xpr_no_not { $$ = new_style($1, 0); } + | tNOT xpr_no_not { $$ = new_style(0, $2); } ; ctlclass @@ -1823,18 +1823,22 @@ expr : xpr { $$ = ($1); } ; -xpr : xpr '+' xpr { $$ = ($1) + ($3); } - | xpr '-' xpr { $$ = ($1) - ($3); } - | xpr '|' xpr { $$ = ($1) | ($3); } - | xpr '&' xpr { $$ = ($1) & ($3); } - | xpr '*' xpr { $$ = ($1) * ($3); } - | xpr '/' xpr { $$ = ($1) / ($3); } - | xpr '^' xpr { $$ = ($1) ^ ($3); } - | '~' xpr { $$ = ~($2); } - | '-' xpr %prec pUPM { $$ = -($2); } - | '+' xpr %prec pUPM { $$ = $2; } - | '(' xpr ')' { $$ = $2; } - | any_num { $$ = $1; } +xpr_no_not : xpr '+' xpr { $$ = ($1) + ($3); } + | xpr '-' xpr { $$ = ($1) - ($3); } + | xpr '|' xpr { $$ = ($1) | ($3); } + | xpr '&' xpr { $$ = ($1) & ($3); } + | xpr '*' xpr { $$ = ($1) * ($3); } + | xpr '/' xpr { $$ = ($1) / ($3); } + | xpr '^' xpr { $$ = ($1) ^ ($3); } + | '~' xpr { $$ = ~($2); } + | '-' xpr %prec pUPM { $$ = -($2); } + | '+' xpr %prec pUPM { $$ = $2; } + | '(' xpr ')' { $$ = $2; } + | any_num { $$ = $1; } + ; + + +xpr : xpr_no_not { $$ = ($1); } | tNOT any_num { $$ = ~($2); } ; _____ Modified: trunk/reactos/tools/wrc/y.tab.c --- trunk/reactos/tools/wrc/y.tab.c 2005-06-04 19:21:15 UTC (rev 15787) +++ trunk/reactos/tools/wrc/y.tab.c 2005-06-04 19:44:50 UTC (rev 15788) @@ -1,7 +1,7 @@ -/* A Bison parser, made by GNU Bison 1.875b. */ +/* A Bison parser, made by GNU Bison 1.875. */ /* Skeleton parser for Yacc-like parsing with Bison, - Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. + Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -523,7 +523,7 @@ ani_any_t *ani; } YYSTYPE; /* Line 191 of yacc.c. */ -#line 527 "y.tab.c" +#line 526 "y.tab.c" # define yystype YYSTYPE /* obsolescent; will be withdrawn */ # define YYSTYPE_IS_DECLARED 1 # define YYSTYPE_IS_TRIVIAL 1 @@ -535,7 +535,7 @@ /* Line 214 of yacc.c. */ -#line 539 "y.tab.c" +#line 538 "y.tab.c" #if ! defined (yyoverflow) || YYERROR_VERBOSE @@ -634,16 +634,16 @@ /* YYFINAL -- State number of the termination state. */ #define YYFINAL 3 /* YYLAST -- Last index in YYTABLE. */ -#define YYLAST 669 +#define YYLAST 738 /* YYNTOKENS -- Number of terminals. */ #define YYNTOKENS 96 /* YYNNTS -- Number of nonterminals. */ -#define YYNNTS 82 +#define YYNNTS 83 /* YYNRULES -- Number of rules. */ -#define YYNRULES 256 +#define YYNRULES 257 /* YYNRULES -- Number of states. */ -#define YYNSTATES 570 +#define YYNSTATES 571 /* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */ #define YYUNDEFTOK 2 @@ -721,7 +721,7 @@ 876, 879, 884, 887, 890, 895, 897, 899, 902, 904, 907, 909, 913, 917, 922, 926, 931, 935, 937, 939, 940, 942, 944, 948, 952, 956, 960, 964, 968, 972, - 975, 978, 981, 985, 987, 990, 992 + 975, 978, 981, 985, 987, 989, 992, 994 }; /* YYRHS -- A `-1'-separated list of the rules' RHS. */ @@ -821,12 +821,12 @@ 154, 9, -1, 172, 154, 4, -1, 172, 154, 87, 4, -1, 172, 154, 5, -1, 172, 154, 87, 5, -1, 172, 154, 6, -1, 105, -1, 171, -1, -1, - 175, -1, 176, -1, 176, 86, 176, -1, 176, 87, - 176, -1, 176, 83, 176, -1, 176, 85, 176, -1, - 176, 88, 176, -1, 176, 89, 176, -1, 176, 84, - 176, -1, 90, 176, -1, 87, 176, -1, 86, 176, - -1, 94, 176, 95, -1, 177, -1, 91, 177, -1, - 4, -1, 5, -1 + 175, -1, 177, -1, 177, 86, 177, -1, 177, 87, + 177, -1, 177, 83, 177, -1, 177, 85, 177, -1, + 177, 88, 177, -1, 177, 89, 177, -1, 177, 84, + 177, -1, 90, 177, -1, 87, 177, -1, 86, 177, + -1, 94, 177, 95, -1, 178, -1, 176, -1, 91, + 178, -1, 4, -1, 5, -1 }; /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ @@ -857,7 +857,7 @@ 1747, 1765, 1772, 1776, 1780, 1795, 1796, 1797, 1798, 1799, 1800, 1801, 1802, 1803, 1804, 1805, 1806, 1810, 1811, 1818, 1819, 1823, 1826, 1827, 1828, 1829, 1830, 1831, 1832, 1833, - 1834, 1835, 1836, 1837, 1838, 1841, 1842 + 1834, 1835, 1836, 1837, 1841, 1842, 1845, 1846 }; #endif @@ -897,7 +897,8 @@ "ver_block", "ver_values", "ver_value", "ver_words", "toolbar", "toolbar_items", "loadmemopts", "lamo", "lama", "opt_lvc", "opt_language", "opt_characts", "opt_version", "raw_data", - "raw_elements", "file_raw", "e_expr", "expr", "xpr", "any_num", 0 + "raw_elements", "file_raw", "e_expr", "expr", "xpr_no_not", "xpr", + "any_num", 0 }; #endif @@ -947,7 +948,7 @@ 167, 168, 169, 170, 171, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 173, 173, 174, 174, 175, 176, 176, 176, 176, 176, 176, 176, 176, - 176, 176, 176, 176, 176, 177, 177 + 176, 176, 176, 176, 177, 177, 178, 178 }; /* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ @@ -978,7 +979,7 @@ 2, 4, 2, 2, 4, 1, 1, 2, 1, 2, 1, 3, 3, 4, 3, 4, 3, 1, 1, 0, 1, 1, 3, 3, 3, 3, 3, 3, 3, 2, - 2, 2, 3, 1, 2, 1, 1 + 2, 2, 3, 1, 1, 2, 1, 1 }; /* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state @@ -986,302 +987,318 @@ means the default is an error. */ static const unsigned short yydefact[] = { - 3, 0, 2, 1, 5, 255, 256, 11, 207, 9, - 0, 0, 0, 0, 0, 4, 8, 0, 11, 241, - 253, 0, 217, 0, 251, 250, 249, 254, 0, 180, - 0, 0, 0, 0, 0, 0, 0, 0, 44, 45, - 207, 207, 207, 207, 207, 207, 207, 207, 207, 207, - 207, 207, 207, 207, 207, 7, 17, 18, 24, 22, - 23, 27, 28, 21, 30, 207, 16, 19, 20, 25, - 26, 31, 29, 213, 216, 212, 214, 210, 215, 211, - 208, 209, 179, 0, 252, 0, 6, 244, 248, 245, - 242, 243, 246, 247, 217, 217, 217, 0, 0, 217, - 217, 217, 217, 185, 217, 217, 217, 0, 217, 217, - 0, 0, 0, 218, 219, 220, 0, 178, 182, 0, - 34, 33, 32, 237, 0, 238, 35, 36, 0, 0, - 0, 0, 40, 41, 0, 38, 39, 37, 0, 42, - 43, 222, 223, 0, 10, 183, 0, 47, 0, 0, - 0, 152, 150, 165, 163, 0, 0, 0, 0, 0, - 0, 0, 193, 0, 0, 181, 0, 226, 228, 230, - 225, 0, 182, 0, 0, 0, 0, 0, 0, 189, - 190, 191, 188, 192, 0, 217, 221, 0, 46, 0, - 227, 229, 224, 0, 0, 0, 0, 0, 151, 0, - 0, 164, 0, 0, 0, 184, 194, 0, 0, 0, - 232, 234, 236, 231, 0, 0, 0, 182, 154, 182, - 169, 167, 173, 0, 0, 0, 204, 50, 50, 233, - 235, 0, 0, 0, 0, 0, 239, 166, 239, 0, - 0, 0, 196, 0, 0, 48, 49, 61, 145, 182, - 155, 182, 182, 182, 182, 182, 182, 0, 170, 0, - 174, 168, 0, 0, 0, 206, 0, 203, 56, 55, - 57, 58, 59, 54, 51, 52, 0, 0, 109, 153, - 158, 157, 160, 161, 162, 159, 239, 239, 0, 0, - 0, 195, 198, 197, 205, 0, 0, 0, 0, 0, - 0, 0, 71, 65, 68, 69, 70, 146, 0, 182, - 240, 0, 175, 186, 187, 0, 53, 13, 67, 12, - 0, 15, 14, 66, 64, 0, 0, 63, 104, 62, - 0, 0, 0, 0, 0, 0, 0, 120, 113, 114, - 117, 118, 119, 183, 171, 239, 0, 0, 105, 253, + 3, 0, 2, 1, 5, 256, 257, 11, 207, 9, + 0, 0, 0, 0, 0, 4, 8, 0, 11, 254, + 241, 253, 0, 217, 0, 251, 250, 249, 255, 0, + 180, 0, 0, 0, 0, 0, 0, 0, 0, 44, + 45, 207, 207, 207, 207, 207, 207, 207, 207, 207, + 207, 207, 207, 207, 207, 207, 7, 17, 18, 24, + 22, 23, 27, 28, 21, 30, 207, 16, 19, 20, + 25, 26, 31, 29, 213, 216, 212, 214, 210, 215, + 211, 208, 209, 179, 0, 252, 0, 6, 244, 248, + 245, 242, 243, 246, 247, 217, 217, 217, 0, 0, + 217, 217, 217, 217, 185, 217, 217, 217, 0, 217, + 217, 0, 0, 0, 218, 219, 220, 0, 178, 182, + 0, 34, 33, 32, 237, 0, 238, 35, 36, 0, + 0, 0, 0, 40, 41, 0, 38, 39, 37, 0, + 42, 43, 222, 223, 0, 10, 183, 0, 47, 0, + 0, 0, 152, 150, 165, 163, 0, 0, 0, 0, + 0, 0, 0, 193, 0, 0, 181, 0, 226, 228, + 230, 225, 0, 182, 0, 0, 0, 0, 0, 0, + 189, 190, 191, 188, 192, 0, 217, 221, 0, 46, + 0, 227, 229, 224, 0, 0, 0, 0, 0, 151, + 0, 0, 164, 0, 0, 0, 184, 194, 0, 0, + 0, 232, 234, 236, 231, 0, 0, 0, 182, 154, + 182, 169, 167, 173, 0, 0, 0, 204, 50, 50, + 233, 235, 0, 0, 0, 0, 0, 239, 166, 239, + 0, 0, 0, 196, 0, 0, 48, 49, 61, 145, + 182, 155, 182, 182, 182, 182, 182, 182, 0, 170, + 0, 174, 168, 0, 0, 0, 206, 0, 203, 56, + 55, 57, 58, 59, 54, 51, 52, 0, 0, 109, + 153, 158, 157, 160, 161, 162, 159, 239, 239, 0, + 0, 0, 195, 198, 197, 205, 0, 0, 0, 0, + 0, 0, 0, 71, 65, 68, 69, 70, 146, 0, + 182, 240, 0, 175, 186, 187, 0, 53, 13, 67, + 12, 0, 15, 14, 66, 64, 0, 0, 63, 104, + 0, 62, 0, 0, 0, 0, 0, 0, 0, 120, + 113, 114, 117, 118, 119, 183, 171, 239, 0, 0, + 105, 253, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 60, 116, 0, 115, 112, 111, 110, 0, + 172, 0, 176, 199, 200, 201, 98, 103, 102, 182, + 182, 82, 84, 85, 77, 78, 80, 81, 83, 79, + 75, 0, 74, 76, 182, 72, 73, 88, 87, 86, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 60, 116, 0, 115, 112, 111, 110, 0, 172, - 0, 176, 199, 200, 201, 98, 103, 102, 182, 182, - 82, 84, 85, 77, 78, 80, 81, 83, 79, 75, - 0, 74, 76, 182, 72, 73, 88, 87, 86, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 108, + 0, 0, 0, 0, 0, 0, 98, 182, 182, 131, + 133, 134, 126, 127, 129, 130, 132, 128, 124, 0, + 123, 125, 182, 121, 122, 137, 136, 135, 177, 202, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 108, 0, - 0, 0, 0, 0, 0, 98, 182, 182, 131, 133, - 134, 126, 127, 129, 130, 132, 128, 124, 0, 123, - 125, 182, 121, 122, 137, 136, 135, 177, 202, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 107, 0, 106, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 148, 0, 0, 0, 0, 92, 0, 0, - 0, 0, 147, 0, 0, 0, 0, 0, 89, 0, - 0, 0, 149, 92, 0, 0, 0, 0, 0, 99, - 0, 138, 0, 0, 0, 0, 0, 0, 91, 0, - 0, 99, 0, 93, 99, 100, 0, 0, 145, 0, - 0, 90, 0, 0, 99, 143, 0, 94, 101, 0, - 145, 142, 144, 0, 0, 0, 143, 0, 95, 97, - 141, 0, 0, 143, 96, 0, 140, 145, 143, 139 + 0, 107, 0, 106, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 148, 0, 0, 0, 0, 92, 0, + 0, 0, 0, 147, 0, 0, 0, 0, 0, 89, + 0, 0, 0, 149, 92, 0, 0, 0, 0, 0, + 99, 0, 138, 0, 0, 0, 0, 0, 0, 91, + 0, 0, 99, 0, 93, 99, 100, 0, 0, 145, + 0, 0, 90, 0, 0, 99, 143, 0, 94, 101, + 0, 145, 142, 144, 0, 0, 0, 143, 0, 95, + 97, 141, 0, 0, 143, 96, 0, 140, 145, 143, + 139 }; /* YYDEFGOTO[NTERM-NUM]. */ static const short yydefgoto[] = { - -1, 1, 2, 15, 23, 21, 322, 323, 55, 123, - 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, - 66, 166, 245, 274, 275, 67, 276, 330, 390, 399, - 508, 404, 303, 528, 327, 481, 68, 308, 378, 452, - 438, 447, 551, 278, 339, 502, 69, 152, 175, 234, - 70, 154, 176, 237, 239, 16, 17, 85, 235, 71, - 134, 184, 206, 264, 293, 383, 72, 243, 22, 80, - 81, 124, 113, 114, 115, 125, 172, 126, 257, 319, - 19, 20 + -1, 1, 2, 15, 24, 22, 323, 324, 56, 124, + 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, + 67, 167, 246, 275, 276, 68, 277, 332, 391, 400, + 509, 405, 304, 529, 328, 482, 69, 309, 379, 453, + 439, 448, 552, 279, 341, 503, 70, 153, 176, 235, + 71, 155, 177, 238, 240, 16, 17, 86, 236, 72, + 135, 185, 207, 265, 294, 384, 73, 244, 23, 81, + 82, 125, 114, 115, 116, 126, 173, 127, 258, 320, + 19, 20, 21 }; /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing STATE-NUM. */ -#define YYPACT_NINF -399 +#define YYPACT_NINF -487 static const short yypact[] = { - -399, 11, 13, -399, -399, -399, -399, -399, -399, -399, - 207, 207, 207, 37, 207, -399, -399, -66, -399, 351, - -399, 363, 612, 207, -399, -399, -399, -399, 564, -399, - 363, 207, 207, 207, 207, 207, 207, 207, -399, -399, - -399, -399, -399, -399, -399, -399, -399, -399, -399, -399, - -399, -399, -399, -399, -399, -399, -399, -399, -399, -399, - -399, -399, -399, -399, -399, -399, -399, -399, -399, -399, - -399, -399, -399, -399, -399, -399, -399, -399, -399, -399, - -399, -399, 361, -46, -399, 108, -399, 445, 469, 311, - 49, 49, -399, -399, 612, 282, 282, 33, 33, 612, - 612, 282, 282, 612, 282, 282, 282, 33, 282, 282, - 207, 207, 207, -399, -399, -399, 207, -399, -15, 38, - -399, -399, -399, -399, 182, -399, -399, -399, 1, 28, - 236, 243, -399, -399, 448, -399, -399, -399, 42, -399, - -399, -399, -399, 51, -399, -399, 75, -399, 58, 207, - 207, -399, -399, -399, -399, 207, 207, 207, 207, 207, - 207, 207, -399, 207, 207, -399, 87, -399, -399, -399, - -399, 138, -21, 70, 74, -62, 41, 98, 103, -399, - -399, -399, -399, -399, 30, -399, -399, 115, -399, 117, - -399, -399, -399, 64, 207, 207, -1, 209, -399, 0, - 213, -399, 207, 207, 222, -399, -399, 268, 207, 207, - -399, -399, -399, -399, 167, 123, 142, -15, -399, -57, - 144, -399, 151, 159, 168, 100, -399, 170, 170, -399, - -399, 207, 207, 207, 194, 178, 207, -399, 207, 200, - 207, 207, -399, 60, 500, -399, -399, -399, 190, 276, - -399, 398, 398, 398, 398, 398, 398, 198, 217, 224, - 217, -399, 231, 234, -33, -399, 207, -399, -399, -399, - -399, -399, -399, -399, 249, -399, 332, 207, -399, -399, - -399, -399, -399, -399, -399, -399, 207, 207, 207, 207, - 296, -399, -399, -399, -399, 500, 127, 207, 39, 305, - 228, 228, -399, -399, -399, -399, -399, -399, 343, 419, - -399, 256, 217, -399, -399, 259, -399, -399, -399, -399, - 261, -399, -399, -399, -399, 207, 228, 246, 351, 246, - 563, 127, 207, 39, 354, 228, 228, -399, -399, -399, - -399, -399, -399, 207, -399, 207, 179, 360, 445, -399, - 93, 564, 228, 39, 362, 362, 362, 362, 362, 362, - 362, 362, 362, 207, 207, 207, 39, 207, 362, 362, - 362, -399, -399, 266, -399, -399, 246, 246, 581, -399, - 278, 217, -399, 290, -399, -399, -399, -399, -15, -15, - -399, -399, -399, -399, -399, -399, -399, -399, -399, -399, - 294, -399, -399, -15, -399, -399, -399, -399, -399, 382, - 39, 383, 383, 383, 383, 383, 383, 383, 383, 383, - 207, 207, 207, 39, 207, 383, 383, 383, -399, 207, - 207, 207, 207, 207, 207, 317, -15, -15, -399, -399, - -399, -399, -399, -399, -399, -399, -399, -399, 321, -399, - -399, -15, -399, -399, -399, -399, -399, -399, -399, 322, - 333, 349, 350, 207, 207, 207, 207, 207, 207, 207, - 207, 218, 377, 387, 396, 397, 399, 402, 403, 404, - -399, 405, -399, 207, 207, 207, 207, 218, 207, 207, - 207, 228, 411, 413, 417, 432, 446, 447, 449, 455, - 165, 207, -399, 207, 207, 207, 228, 207, -399, 207, - 207, 207, -399, 447, 456, 459, 166, 468, 478, 479, - 480, -399, 207, 207, 207, 207, 207, 228, -399, 207, - 482, 479, 486, 487, 479, 174, 488, 207, 190, 207, - 228, -399, 228, 207, 479, 353, 490, 188, 246, 491, - 190, -399, -399, 207, 228, 207, 353, 538, 246, 539, - -399, 207, 228, 86, 246, 228, -399, 189, 353, -399 + -487, 6, 43, -487, -487, -487, -487, -487, -487, -487, + 30, 30, 30, 215, 30, -487, -487, -60, -487, -487, + 636, -487, 434, 675, 30, -487, -487, -487, -487, 623, + -487, 434, 30, 30, 30, 30, 30, 30, 30, -487, + -487, -487, -487, -487, -487, -487, -487, -487, -487, -487, + -487, -487, -487, -487, -487, -487, -487, -487, -487, -487, + -487, -487, -487, -487, -487, -487, -487, -487, -487, -487, + -487, -487, -487, -487, -487, -487, -487, -487, -487, -487, + -487, -487, -487, 310, -62, -487, 131, -487, 563, 195, + 232, 213, 213, -487, -487, 675, 533, 533, 87, 87, + 675, 675, 533, 533, 675, 533, 533, 533, 87, 533, + 533, 30, 30, 30, -487, -487, -487, 30, -487, -48, + 136, -487, -487, -487, -487, 163, -487, -487, -487, -44, + -25, 199, 231, -487, -487, 410, -487, -487, -487, -3, + -487, -487, -487, -487, 5, -487, -487, 67, -487, 21, + 30, 30, -487, -487, -487, -487, 30, 30, 30, 30, + 30, 30, 30, -487, 30, 30, -487, 89, -487, -487, + -487, -487, 334, -19, 26, 32, 259, 284, 34, 38, + -487, -487, -487, -487, -487, -24, -487, -487, 57, -487, + 68, -487, -487, -487, 60, 30, 30, -4, 161, -487, + 3, 176, -487, 30, 30, 191, -487, -487, 308, 30, + 30, -487, -487, -487, -487, 356, 113, 116, -48, -487, + -70, 118, -487, 135, 140, 143, 144, -487, 145, 145, + -487, -487, 30, 30, 30, 168, 278, 30, -487, 30, + 173, 30, 30, -487, 47, 512, -487, -487, -487, 167, + 171, -487, 71, 71, 71, 71, 71, 71, 185, 200, + 210, 200, -487, 217, 220, -29, -487, 30, -487, -487, + -487, -487, -487, -487, -487, 243, -487, 354, 30, -487, + -487, -487, -487, -487, -487, -487, -487, 30, 30, 30, + 30, 251, -487, -487, -487, -487, 512, 164, 30, 293, + 318, 312, 312, -487, -487, -487, -487, -487, -487, 514, + 254, -487, 261, 200, -487, -487, 274, -487, -487, -487, + -487, 283, -487, -487, -487, -487, 30, 312, 294, 649, + 636, 294, 572, 164, 30, 293, 338, 312, 312, -487, + -487, -487, -487, -487, -487, 30, -487, 30, 262, 372, + 649, -487, 17, 312, 293, 375, 375, 375, 375, 375, + 375, 375, 375, 375, 30, 30, 30, 293, 30, 375, + 375, 375, -487, -487, 289, -487, -487, 294, 294, 590, + -487, 292, 200, -487, 298, -487, -487, -487, -487, -48, + -48, -487, -487, -487, -487, -487, -487, -487, -487, -487, + -487, 299, -487, -487, -48, -487, -487, -487, -487, -487, + 380, 293, 389, 389, 389, 389, 389, 389, 389, 389, + 389, 30, 30, 30, 293, 30, 389, 389, 389, -487, + 30, 30, 30, 30, 30, 30, 307, -48, -48, -487, + -487, -487, -487, -487, -487, -487, -487, -487, -487, 316, + -487, -487, -48, -487, -487, -487, -487, -487, -487, -487, + 317, 329, 332, 333, 30, 30, 30, 30, 30, 30, + 30, 30, 303, 342, 347, 349, 350, 361, 365, 366, + 367, -487, 368, -487, 30, 30, 30, 30, 303, 30, + 30, 30, 312, 378, 379, 381, 398, 399, 400, 401, + 402, -72, 30, -487, 30, 30, 30, 312, 30, -487, + 30, 30, 30, -487, 400, 404, 405, -16, 406, 408, + 412, 414, -487, 30, 30, 30, 30, 30, 312, -487, + 30, 420, 412, 421, 422, 412, 39, 424, 30, 167, + 30, 312, -487, 312, 30, 412, 344, 425, 112, 294, + 426, 167, -487, -487, 30, 312, 30, 344, 427, 294, + 433, -487, 30, 312, 25, 294, 312, -487, 121, 344, + -487 }; /* YYPGOTO[NTERM-NUM]. */ static const short yypgoto[] = { - -399, -399, -399, -399, -399, 426, -292, -163, 508, -399, - -399, -399, -399, -399, -399, -399, -399, -399, -399, -399, - -399, -399, 248, -399, 335, -399, -399, -399, 208, 44, - 121, -399, 346, -291, -286, 153, -399, -399, -399, -399, - 210, 53, -381, -398, -399, -399, -399, 421, -399, -227, - -399, 418, -399, -399, -399, -399, -399, -399, -111, -399, - -399, -399, 392, -399, -399, -399, -399, -399, 406, -399, - -399, -20, -273, -211, -148, -359, -399, 537, -228, -2, - 20, -12 + -487, -487, -487, -487, -487, 383, -278, -182, 374, -487, + -487, -487, -487, -487, -487, -487, -487, -487, -487, -487, + -487, -487, 182, -487, 100, -487, -487, -487, 304, -95, + -87, -487, 218, -431, -251, -15, -487, -487, -487, -487, + 263, 14, -486, -469, -487, -487, -487, 295, -487, -66, + -487, 291, -487, -487, -487, -487, -487, -487, -115, -487, + -487, -487, 268, -487, -487, -487, -487, -487, 591, -487, + -487, -20, -253, -249, -248, -354, -487, 595, -234, -2, + -294, 4, -12 }; /* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If positive, shift that token. If negative, reduce the rule which number is the opposite. If zero, do what YYDEFACT says. If YYTABLE_NINF, syntax error. */ -#define YYTABLE_NINF -241 +#define YYTABLE_NINF -255 static const short yytable[] = { - 18, 27, 82, 304, 318, 217, 220, 146, 204, 290, - 259, 3, 196, 197, 29, 329, 4, 5, 6, 198, - 7, 83, 279, -156, 280, 281, 282, 283, 284, 285, - 24, 25, 26, 8, 28, 340, 145, 5, 6, 372, - 350, 5, 6, 5, 6, 321, 317, 116, 291, 376, - 377, 87, 88, 89, 90, 91, 92, 93, 309, 311, - 192, 193, 167, 168, 169, 305, 387, 170, 210, 211, - 212, 204, 145, 213, 119, 218, 221, 9, 145, 130, - 131, 165, 344, 118, 73, 74, 75, 76, 77, 78, - 79, 5, 6, 187, 149, 128, 129, 341, 110, 10, - 11, 111, 112, 12, 13, 138, 233, 14, 141, 142, - 143, 205, 5, 6, 144, 199, 200, 380, 147, 10, - 11, 150, 201, 12, 13, 10, 11, 14, 306, 12, - 13, 5, 6, 14, 317, 163, 265, 36, 37, 266, - 545, 267, 190, 191, 164, 171, -217, 173, 174, -217, - -217, 214, 556, 177, 178, 179, 180, 181, 182, 183, - 342, 185, 186, 194, 189, 207, -217, 195, 188, 568, - 374, 229, 230, 10, 11, 560, 352, 12, 13, 565, - 242, 14, 566, 5, 6, 382, 552, 569, 386, 117, - 388, 202, 215, 216, 10, 11, 203, 552, 12, 13, - 223, 224, 14, 403, 552, 500, 227, 228, 208, 552, - 209, 5, 6, 10, 11, 219, 231, 12, 13, 222, - 516, 14, 5, 6, 480, 251, 252, 253, 225, 247, - 248, 249, 5, 6, 258, 232, 260, 236, 262, 263, - 538, 535, 110, 541, 238, 111, 112, 436, 352, 352, - 254, 255, 240, 550, 547, 256, 548, 352, 511, 524, - 451, 241, 148, 244, 294, 10, 11, 542, 558, 12, - 13, 352, 352, 14, 151, 307, 564, 431, 432, 567, - 153, 554, 277, 277, 310, 312, 313, 314, 120, 121, - 122, 286, 434, 10, 11, 320, 110, 12, 13, 111, - 112, 14, 315, 110, 10, 11, 111, 112, 12, 13, - -240, 324, 14, 349, 10, 11, 151, 287, 12, 325, - 328, 328, 326, 153, 288, 464, 465, 289, 110, 352, - 373, 111, 112, 73, 74, 75, 76, 77, 78, 79, - 467, 379, 295, 381, 384, 348, 351, 296, 226, 345, - -156, -156, 346, 297, 347, 328, 328, -156, 331, 409, - 375, 400, 400, 400, 332, 400, 385, 38, 389, 145, - 39, 429, 328, 40, 41, 42, 43, 44, 45, 46, - 47, 48, 49, 430, 50, 51, 52, 433, 435, 437, - 298, 299, 110, 300, 301, 111, 112, 34, 35, 36, - 37, 333, 334, 110, 335, 336, 111, 112, 401, 402, - 463, 405, 302, -217, 466, 468, -217, -217, 448, 448, - 448, 110, 448, 337, 111, 112, 469, 457, 458, 459, - 460, 461, 462, -217, 31, 32, 33, 34, 35, 36, - 37, 53, 470, 471, 30, 54, 94, 95, 96, 97, - 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, - 108, 472, 473, 474, 475, 476, 477, 478, 479, 482, - 483, 109, -156, -156, 449, 450, 246, 453, -156, -156, - 484, 492, 493, 494, 495, 482, 497, 498, 499, 485, - 486, 145, 487, -156, -156, 488, 489, 490, 491, 512, - -156, 513, 514, 515, 501, 517, 503, 518, 519, 520, - 504, 328, 343, 155, 156, 157, 158, 159, 160, 161, - 530, 531, 532, 533, 534, 505, 328, 536, 162, 32, - 33, 34, 35, 36, 37, 544, 268, 546, 86, 506, - 507, 549, 509, 269, 270, 271, 272, 328, 510, 522, - 273, 557, 523, 559, 33, 34, 35, 36, 37, 563, - 328, 525, 328, 391, 392, 393, 394, 395, 396, 397, - 398, 526, 527, 529, 328, 537, 406, 407, 408, 539, - 540, 543, 328, 553, 555, 328, 353, 354, 355, 356, - 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, - 367, 368, 369, 370, 410, 411, 412, 413, 414, 415, - 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, - 426, 427, 439, 440, 441, 442, 443, 444, 445, 446, - 316, 561, 562, 127, 521, 454, 455, 456, 132, 133, - 496, 135, 136, 137, 371, 139, 140, 31, 32, 33, - 34, 35, 36, 37, 338, 250, 292, 261, 0, 84, - 0, 0, 428, 73, 74, 75, 76, 77, 78, 79 + 18, 28, 218, 83, 147, 260, 3, 329, 329, 221, + -156, 353, 205, 291, 25, 26, 27, 205, 29, 319, + 30, 512, 84, 146, 305, 168, 169, 170, 306, 307, + 171, 117, 350, 329, 5, 6, 88, 89, 90, 91, + 92, 93, 94, 329, 329, 146, 4, 5, 6, 150, + 7, 331, 292, 310, 312, 373, 342, 206, 194, 329, + 343, 344, 193, 8, 211, 212, 213, 353, 151, 214, + 546, 561, 219, 166, 146, 120, 352, 525, 567, 222, + 131, 132, 557, 570, 119, -217, 377, 378, -217, -217, + 164, 5, 6, 5, 6, 188, 129, 130, 165, 569, + 353, 539, 388, 234, 542, -217, 139, 9, 172, 142, + 143, 144, 387, 381, 551, 145, 10, 11, 566, 195, + 12, 13, 353, 266, 14, 196, 267, 203, 268, 10, + 11, 204, 543, 12, 13, 5, 6, 14, 74, 75, + 76, 77, 78, 79, 80, -156, -156, 215, 174, 175, + 209, -156, -156, 375, 178, 179, 180, 181, 182, 183, + 184, 210, 186, 187, 146, 190, 208, 220, 5, 6, + 189, 318, 389, 10, 11, 10, 11, 12, 13, 12, + 13, 14, 223, 14, 280, 404, 281, 282, 283, 284, + 285, 286, 553, 216, 217, 353, 111, 226, 329, 112, + 113, 224, 225, 553, 353, 555, 232, 228, 229, 233, + 553, 237, 118, 329, 278, 553, 148, 10, 11, 5, + 6, 12, 13, 111, 243, 14, 112, 113, 239, 437, + 248, 249, 250, 241, 329, 259, 242, 261, 245, 263, + 264, 501, 452, 149, 346, -156, -156, 329, 152, 329, + 10, 11, -156, 154, 12, 13, 517, 316, 14, 111, + 278, 329, 112, 113, 146, 295, 5, 6, 383, 329, + 402, 403, 329, 406, 432, 433, 308, 536, 287, 152, + 34, 35, 36, 37, 38, 311, 313, 314, 315, 435, + 548, 111, 549, -240, 112, 113, 321, 5, 6, 322, + 318, 37, 38, 288, 559, 330, 330, 5, 6, 481, + 289, 154, 565, 290, 351, 568, 5, 6, 35, 36, + 37, 38, 465, 466, 325, 252, 253, 254, -156, -156, + 330, 29, 374, 197, 198, -156, 296, 468, 191, 192, + 199, 330, 330, 380, 376, 382, 385, 345, 10, 11, + 255, 256, 12, 13, 347, 257, 14, 330, 200, 201, + 230, 231, 401, 401, 401, 202, 401, 348, 111, 297, + 111, 112, 113, 112, 113, 298, 349, 353, 386, 10, + 11, 390, 410, 12, 13, 430, 436, 14, 227, 10, + 11, 431, 434, 12, 13, 438, 317, 14, 10, 11, + 464, 31, 12, 326, -217, 87, 327, -217, -217, 467, + 469, 247, 299, 300, 111, 301, 302, 112, 113, 449, + 449, 449, 470, 449, -217, 471, 472, 522, 458, 459, + 460, 461, 462, 463, 303, 484, 450, 451, 39, 454, + 485, 40, 486, 487, 41, 42, 43, 44, 45, 46, + 47, 48, 49, 50, 488, 51, 52, 53, 489, 490, + 491, 492, 473, 474, 475, 476, 477, 478, 479, 480, + 483, 502, 504, 497, 505, 156, 157, 158, 159, 160, + 161, 162, 493, 494, 495, 496, 483, 498, 499, 500, + 163, 506, 507, 508, 510, 511, 330, 523, 524, 526, + 513, 527, 514, 515, 516, 528, 518, 530, 519, 520, + 521, 330, 54, 538, 540, 541, 55, 544, 554, 556, + 562, 531, 532, 533, 534, 535, 563, 340, 537, 333, + 251, 262, 330, 293, 0, 334, 545, 0, 547, 121, + 122, 123, 550, 0, 0, 330, 0, 330, 269, 0, + 0, 0, 558, 0, 560, 270, 271, 272, 273, 330, + 564, 0, 274, 0, 0, 0, 0, 330, 0, 0, + 330, 0, 335, 336, 111, 337, 338, 112, 113, 0, + 0, 0, 0, 0, 74, 75, 76, 77, 78, 79, + 80, 0, 0, 0, 339, 354, 355, 356, 357, 358, + 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, + 369, 370, 371, 411, 412, 413, 414, 415, 416, 417, + 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, + 428, 0, 95, 96, 97, 98, 99, 100, 101, 102, + 103, 104, 105, 106, 107, 108, 109, 33, 34, 35, + 36, 37, 38, 372, 0, 0, 0, 110, 0, 0, + 392, 393, 394, 395, 396, 397, 398, 399, 0, 0, + 0, 429, 0, 407, 408, 409, 440, 441, 442, 443, + 444, 445, 446, 447, 0, 0, 0, 0, 0, 455, + 456, 457, 128, 0, 0, 0, 0, 133, 134, 0, + 136, 137, 138, 0, 140, 141, 32, 33, 34, 35, + 36, 37, 38, 0, 0, 0, 0, 0, 85, 32, + 33, 34, 35, 36, 37, 38, 74, 75, 76, 77, + 78, 79, 80, -254, -254, -254, -254, -254, -254 }; static const short yycheck[] = { - 2, 13, 22, 276, 296, 6, 6, 118, 41, 42, - 238, 0, 74, 75, 80, 301, 3, 4, 5, 81, - 7, 23, 249, 80, 251, 252, 253, 254, 255, 256, - 10, 11, 12, 20, 14, 308, 93, 4, 5, 331, - 326, 4, 5, 4, 5, 6, 7, 93, 81, 335, - 336, 31, 32, 33, 34, 35, 36, 37, 286, 287, - 81, 172, 4, 5, 6, 276, 352, 9, 4, 5, - 6, 41, 93, 9, 94, 76, 76, 64, 93, 99, - 100, 6, 309, 85, 51, 52, 53, 54, 55, 56, - 57, 4, 5, 6, 93, 97, 98, 308, 60, 86, - 87, 63, 64, 90, 91, 107, 217, 94, 110, 111, - 112, 81, 4, 5, 116, 74, 75, 345, 80, 86, - 87, 93, 81, 90, 91, 86, 87, 94, 276, 90, - 91, 4, 5, 94, 7, 93, 76, 88, 89, 79, - 538, 81, 4, 5, 93, 87, 60, 149, 150, 63, - 64, 87, 550, 155, 156, 157, 158, 159, 160, 161, - 308, 163, 164, 93, 166, 185, 80, 93, 81, 567, - 333, 4, 5, 86, 87, 556, 83, 90, 91, 93, - 80, 94, 563, 4, 5, 6, 545, 568, 95, 81, - 353, 93, 194, 195, 86, 87, 93, 556, 90, 91, - 202, 203, 94, 366, 563, 491, 208, 209, 93, 568, - 93, 4, 5, 86, 87, 6, 93, 90, 91, 6, - 506, 94, 4, 5, 6, 47, 48, 49, 6, 231, - 232, 233, 4, 5, 236, 93, 238, 93, 240, 241, - 531, 527, 60, 534, 93, 63, 64, 410, 83, 83, - 72, 73, 93, 544, 540, 77, 542, 83, 93, 93, - 423, 93, 80, 93, 266, 86, 87, 93, 554, 90, - 91, 83, 83, 94, 80, 277, 562, 388, 389, 565, - 80, 93, 93, 93, 286, 287, 288, 289, 6, 7, - 8, 93, 403, 86, 87, 297, 60, 90, 91, 63, - 64, 94, 6, 60, 86, 87, 63, 64, 90, 91, - 93, 6, 94, 325, 86, 87, 80, 93, 90, 91, - 300, 301, 94, 80, 93, 436, 437, 93, 60, 83, - 332, 63, 64, 51, 52, 53, 54, 55, 56, 57, - 451, 343, 93, 345, 346, 325, 326, 15, 80, 93, - 74, 75, 93, 21, 93, 335, 336, 81, 15, 93, - 6, 363, 364, 365, 21, 367, 6, 4, 6, 93, - 7, 93, 352, 10, 11, 12, 13, 14, 15, 16, - 17, 18, 19, 93, 21, 22, 23, 93, 6, 6, - 58, 59, 60, 61, 62, 63, 64, 86, 87, 88, - 89, 58, 59, 60, 61, 62, 63, 64, 364, 365, - 93, 367, 80, 60, 93, 93, 63, 64, 420, 421, - 422, 60, 424, 80, 63, 64, 93, 429, 430, 431, - 432, 433, 434, 80, 83, 84, 85, 86, 87, 88, - 89, 78, 93, 93, 18, 82, 40, 41, 42, 43, - 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, - 54, 463, 464, 465, 466, 467, 468, 469, 470, 471, - 93, 65, 74, 75, 421, 422, 228, 424, 80, 81, - 93, 483, 484, 485, 486, 487, 488, 489, 490, 93, - 93, 93, 93, 74, 75, 93, 93, 93, 93, 501, - 81, 503, 504, 505, 93, 507, 93, 509, 510, 511, - 93, 491, 93, 65, 66, 67, 68, 69, 70, 71, - 522, 523, 524, 525, 526, 93, 506, 529, 80, 84, - 85, 86, 87, 88, 89, 537, 36, 539, 30, 93, - 93, 543, 93, 43, 44, 45, 46, 527, 93, 93, - 50, 553, 93, 555, 85, 86, 87, 88, 89, 561, - 540, 93, 542, 355, 356, 357, 358, 359, 360, 361, - 362, 93, 93, 93, 554, 93, 368, 369, 370, 93, - 93, 93, 562, 93, 93, 565, 23, 24, 25, 26, - 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, - 37, 38, 39, 40, 23, 24, 25, 26, 27, 28, - 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, - 39, 40, 412, 413, 414, 415, 416, 417, 418, 419, - 295, 93, 93, 96, 513, 425, 426, 427, 101, 102, - 487, 104, 105, 106, 81, 108, 109, 83, 84, 85, - 86, 87, 88, 89, 308, 234, 264, 239, -1, 95, - -1, -1, 81, 51, 52, 53, 54, 55, 56, 57 + 2, 13, 6, 23, 119, 239, 0, 301, 302, 6, + 80, 83, 41, 42, 10, 11, 12, 41, 14, 297, + 80, 93, 24, 93, 277, 4, 5, 6, 277, 277, + 9, 93, 326, 327, 4, 5, 32, 33, 34, 35, + 36, 37, 38, 337, 338, 93, 3, 4, 5, 93, + 7, 302, 81, 287, 288, 333, 309, 81, 173, 353, + 309, 309, 81, 20, 4, 5, 6, 83, 93, 9, + 539, 557, 76, 6, 93, 95, 327, 93, 564, 76, + 100, 101, 551, 569, 86, 60, 337, 338, 63, 64, + 93, 4, 5, 4, 5, 6, 98, 99, 93, 568, + 83, 532, 353, 218, 535, 80, 108, 64, 87, 111, + 112, 113, 95, 347, 545, 117, 86, 87, 93, 93, + 90, 91, 83, 76, 94, 93, 79, 93, 81, 86, + 87, 93, 93, 90, 91, 4, 5, 94, 51, 52, + 53, 54, 55, 56, 57, 74, 75, 87, 150, 151, + 93, 80, 81, 335, 156, 157, 158, 159, 160, 161, + 162, 93, 164, 165, 93, 167, 186, 6, 4, 5, + 81, 7, 354, 86, 87, 86, 87, 90, 91, 90, + 91, 94, 6, 94, 250, 367, 252, 253, 254, 255, + 256, 257, 546, 195, 196, 83, 60, 6, 492, 63, + 64, 203, 204, 557, 83, 93, 93, 209, 210, 93, + 564, 93, 81, 507, 93, 569, 80, 86, 87, 4, + 5, 90, 91, 60, 80, 94, 63, 64, 93, 411, + 232, 233, 234, 93, 528, 237, 93, 239, 93, 241, + 242, 492, 424, 80, 310, 74, 75, 541, 80, 543, + 86, 87, 81, 80, 90, 91, 507, 6, 94, 60, + 93, 555, 63, 64, 93, 267, 4, 5, 6, 563, + 365, 366, 566, 368, 389, 390, 278, 528, 93, 80, + 85, 86, 87, 88, 89, 287, 288, 289, 290, 404, + 541, 60, 543, 93, 63, 64, 298, 4, 5, 6, + 7, 88, 89, 93, 555, 301, 302, 4, 5, 6, + 93, 80, 563, 93, 326, 566, 4, 5, 86, 87, + 88, 89, 437, 438, 6, 47, 48, 49, 74, 75, + 326, 327, 334, 74, 75, 81, 93, 452, 4, 5, + 81, 337, 338, 345, 6, 347, 348, 93, 86, 87, + 72, 73, 90, 91, 93, 77, 94, 353, 74, 75, + 4, 5, 364, 365, 366, 81, 368, 93, 60, 15, + 60, 63, 64, 63, 64, 21, 93, 83, 6, 86, + 87, 6, 93, 90, 91, 93, 6, 94, 80, 86, + 87, 93, 93, 90, 91, 6, 296, 94, 86, 87, + 93, 18, 90, 91, 60, 31, 94, 63, 64, 93, + 93, 229, 58, 59, 60, 61, 62, 63, 64, 421, + 422, 423, 93, 425, 80, 93, 93, 514, 430, 431, + 432, 433, 434, 435, 80, 93, 422, 423, 4, 425, + 93, 7, 93, 93, 10, 11, 12, 13, 14, 15, + 16, 17, 18, 19, 93, 21, 22, 23, 93, 93, + 93, 93, 464, 465, 466, 467, 468, 469, 470, 471, + 472, 93, 93, 488, 93, 65, 66, 67, 68, 69, + 70, 71, 484, 485, 486, 487, 488, 489, 490, 491, + 80, 93, 93, 93, 93, 93, 492, 93, 93, 93, + 502, 93, 504, 505, 506, 93, 508, 93, 510, 511, + 512, 507, 78, 93, 93, 93, 82, 93, 93, 93, + 93, 523, 524, 525, 526, 527, 93, 309, 530, 15, + 235, 240, 528, 265, -1, 21, 538, -1, 540, 6, + 7, 8, 544, -1, -1, 541, -1, 543, 36, -1, + -1, -1, 554, -1, 556, 43, 44, 45, 46, 555, + 562, -1, 50, -1, -1, -1, -1, 563, -1, -1, + 566, -1, 58, 59, 60, 61, 62, 63, 64, -1, + -1, -1, -1, -1, 51, 52, 53, 54, 55, 56, + 57, -1, -1, -1, 80, 23, 24, 25, 26, 27, + 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38, 39, 40, 23, 24, 25, 26, 27, 28, 29, + 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, + 40, -1, 41, 42, 43, 44, 45, 46, 47, 48, + 49, 50, 51, 52, 53, 54, 55, 84, 85, 86, + 87, 88, 89, 81, -1, -1, -1, 66, -1, -1, + 356, 357, 358, 359, 360, 361, 362, 363, -1, -1, + -1, 81, -1, 369, 370, 371, 413, 414, 415, 416, + 417, 418, 419, 420, -1, -1, -1, -1, -1, 426, + 427, 428, 97, -1, -1, -1, -1, 102, 103, -1, + 105, 106, 107, -1, 109, 110, 83, 84, 85, 86, + 87, 88, 89, -1, -1, -1, -1, -1, 95, 83, + 84, 85, 86, 87, 88, 89, 51, 52, 53, 54, + 55, 56, 57, 84, 85, 86, 87, 88, 89 }; /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing @@ -1290,61 +1307,62 @@ { 0, 97, 98, 0, 3, 4, 5, 7, 20, 64, 86, 87, 90, 91, 94, 99, 151, 152, 175, 176, - 177, 101, 164, 100, 176, 176, 176, 177, 176, 80, - 101, 83, 84, 85, 86, 87, 88, 89, 4, 7, - 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, - 21, 22, 23, 78, 82, 104, 106, 107, 108, 109, - 110, 111, 112, 113, 114, 115, 116, 121, 132, 142, - 146, 155, 162, 51, 52, 53, 54, 55, 56, 57, - 165, 166, 167, 175, 95, 153, 104, 176, 176, 176, - 176, 176, 176, 176, 164, 164, 164, 164, 164, 164, + 177, 178, 101, 164, 100, 177, 177, 177, 178, 177, + 80, 101, 83, 84, 85, 86, 87, 88, 89, 4, + 7, 10, 11, 12, 13, 14, 15, 16, 17, 18, + 19, 21, 22, 23, 78, 82, 104, 106, 107, 108, + 109, 110, 111, 112, 113, 114, 115, 116, 121, 132, + 142, 146, 155, 162, 51, 52, 53, 54, 55, 56, + 57, 165, 166, 167, 175, 95, 153, 104, 177, 177, + 177, 177, 177, 177, 177, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, - 60, 63, 64, 168, 169, 170, 93, 81, 175, 167, - 6, 7, 8, 105, 167, 171, 173, 173, 175, 175, - 167, 167, 173, 173, 156, 173, 173, 173, 175, 173, - 173, 175, 175, 175, 175, 93, 154, 80, 80, 93, - 93, 80, 143, 80, 147, 65, 66, 67, 68, 69, - 70, 71, 80, 93, 93, 6, 117, 4, 5, 6, - 9, 87, 172, 175, 175, 144, 148, 175, 175, 175, - 175, 175, 175, 175, 157, 175, 175, 6, 81, 175, - 4, 5, 81, 154, 93, 93, 74, 75, 81, 74, - 75, 81, 93, 93, 41, 81, 158, 167, 93, 93, - 4, 5, 6, 9, 87, 175, 175, 6, 76, 6, - 6, 76, 6, 175, 175, 6, 80, 175, 175, 4, - 5, 93, 93, 154, 145, 154, 93, 149, 93, 150, - 93, 93, 80, 163, 93, 118, 118, 175, 175, 175, - 143, 47, 48, 49, 72, 73, 77, 174, 175, 174, - 175, 147, 175, 175, 159, 76, 79, 81, 36, 43, - 44, 45, 46, 50, 119, 120, 122, 93, 139, 145, - 145, 145, 145, 145, 145, 145, 93, 93, 93, 93, - 42, 81, 158, 160, 175, 93, 15, 21, 58, 59, - 61, 62, 80, 128, 168, 169, 170, 175, 133, 174, - 175, 174, 175, 175, 175, 6, 120, 7, 102, 175, - 175, 6, 102, 103, 6, 91, 94, 130, 176, 130, - 123, 15, 21, 58, 59, 61, 62, 80, 128, 140, - 168, 169, 170, 93, 145, 93, 93, 93, 176, 177, - 130, 176, 83, 23, 24, 25, 26, 27, 28, 29, - 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, - 40, 81, 102, 175, 103, 6, 130, 130, 134, 175, - 174, 175, 6, 161, 175, 6, 95, 130, 103, 6, - 124, 124, 124, 124, 124, 124, 124, 124, 124, 125, - 175, 125, 125, 103, 127, 125, 124, 124, 124, 93, - 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, - 33, 34, 35, 36, 37, 38, 39, 40, 81, 93, - 93, 154, 154, 93, 154, 6, 103, 6, 136, 136, - 136, 136, 136, 136, 136, 136, 136, 137, 175, 137, - 137, 103, 135, 137, 136, 136, 136, 175, 175, 175, - 175, 175, 175, 93, 154, 154, 93, 154, 93, 93, - 93, 93, 175, 175, 175, 175, 175, 175, 175, 175, - 6, 131, 175, 93, 93, 93, 93, 93, 93, 93, - 93, 93, 175, 175, 175, 175, 131, 175, 175, 175, - 130, 93, 141, 93, 93, 93, 93, 93, 126, 93, - 93, 93, 175, 175, 175, 175, 130, 175, 175, 175, - 175, 126, 93, 93, 93, 93, 93, 93, 129, 93, - 175, 175, 175, 175, 175, 130, 175, 93, 129, 93, - 93, 129, 93, 93, 175, 139, 175, 130, 130, 175, - 129, 138, 171, 93, 93, 93, 139, 175, 130, 175, - 138, 93, 93, 175, 130, 93, 138, 130, 139, 138 + 164, 60, 63, 64, 168, 169, 170, 93, 81, 175, + 167, 6, 7, 8, 105, 167, 171, 173, 173, 175, + 175, 167, 167, 173, 173, 156, 173, 173, 173, 175, + 173, 173, 175, 175, 175, 175, 93, 154, 80, 80, + 93, 93, 80, 143, 80, 147, 65, 66, 67, 68, + 69, 70, 71, 80, 93, 93, 6, 117, 4, 5, + 6, 9, 87, 172, 175, 175, 144, 148, 175, 175, + 175, 175, 175, 175, 175, 157, 175, 175, 6, 81, + 175, 4, 5, 81, 154, 93, 93, 74, 75, 81, + 74, 75, 81, 93, 93, 41, 81, 158, 167, 93, + 93, 4, 5, 6, 9, 87, 175, 175, 6, 76, + 6, 6, 76, 6, 175, 175, 6, 80, 175, 175, + 4, 5, 93, 93, 154, 145, 154, 93, 149, 93, + 150, 93, 93, 80, 163, 93, 118, 118, 175, 175, + 175, 143, 47, 48, 49, 72, 73, 77, 174, 175, + 174, 175, 147, 175, 175, 159, 76, 79, 81, 36, + 43, 44, 45, 46, 50, 119, 120, 122, 93, 139, + 145, 145, 145, 145, 145, 145, 145, 93, 93, 93, + 93, 42, 81, 158, 160, 175, 93, 15, 21, 58, + 59, 61, 62, 80, 128, 168, 169, 170, 175, 133, + 174, 175, 174, 175, 175, 175, 6, 120, 7, 102, + 175, 175, 6, 102, 103, 6, 91, 94, 130, 176, + 177, 130, 123, 15, 21, 58, 59, 61, 62, 80, + 128, 140, 168, 169, 170, 93, 145, 93, 93, 93, + 176, 178, 130, 83, 23, 24, 25, 26, 27, 28, + 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, + 39, 40, 81, 102, 175, 103, 6, 130, 130, 134, + 175, 174, 175, 6, 161, 175, 6, 95, 130, 103, + 6, 124, 124, 124, 124, 124, 124, 124, 124, 124, + 125, 175, 125, 125, 103, 127, 125, 124, 124, 124, + 93, 23, 24, 25, 26, 27, 28, 29, 30, 31, + 32, 33, 34, 35, 36, 37, 38, 39, 40, 81, + 93, 93, 154, 154, 93, 154, 6, 103, 6, 136, + 136, 136, 136, 136, 136, 136, 136, 136, 137, 175, + 137, 137, 103, 135, 137, 136, 136, 136, 175, 175, + 175, 175, 175, 175, 93, 154, 154, 93, 154, 93, + 93, 93, 93, 175, 175, 175, 175, 175, 175, 175, + 175, 6, 131, 175, 93, 93, 93, 93, 93, 93, + 93, 93, 93, 175, 175, 175, 175, 131, 175, 175, + 175, 130, 93, 141, 93, 93, 93, 93, 93, 126, + 93, 93, 93, 175, 175, 175, 175, 130, 175, 175, + 175, 175, 126, 93, 93, 93, 93, 93, 93, 129, + 93, 175, 175, 175, 175, 175, 130, 175, 93, 129, + 93, 93, 129, 93, 93, 175, 139, 175, 130, 130, + 175, 129, 138, 171, 93, 93, 93, 139, 175, 130, + 175, 138, 93, 93, 175, 130, 93, 138, 130, 139, + 138 }; #if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__) @@ -1372,7 +1390,6 @@ #define YYABORT goto yyabortlab #define YYERROR goto yyerrlab1 - /* Like YYERROR except do call yyerror. This remains here temporarily to ease the transition to the new meaning of YYERROR, for GCC. Once GCC version 2 has supplanted version 1, this can go. */ @@ -1493,9 +1510,9 @@ #endif { int yyi; - unsigned int yylno = yyrline[yyrule]; + unsigned int yylineno = yyrline[yyrule]; YYFPRINTF (stderr, "Reducing stack by rule %d (line %u), ", - yyrule - 1, yylno); + yyrule - 1, yylineno); /* Print the symbols being reduced, and their result. */ for (yyi = yyprhs[yyrule]; 0 <= yyrhs[yyi]; yyi++) YYFPRINTF (stderr, "%s ", yytname [yyrhs[yyi]]); @@ -4107,25 +4124,30 @@ break; case 254: -#line 1838 "parser.y" - { yyval.num = ~(yyvsp[0].num); ;} +#line 1841 "parser.y" + { yyval.num = (yyvsp[0].num); ;} break; case 255: -#line 1841 "parser.y" - { yyval.num = yyvsp[0].num; ;} +#line 1842 "parser.y" + { yyval.num = ~(yyvsp[0].num); ;} break; case 256: -#line 1842 "parser.y" +#line 1845 "parser.y" { yyval.num = yyvsp[0].num; ;} break; + case 257: +#line 1846 "parser.y" + { yyval.num = yyvsp[0].num; ;} + break; + } -/* Line 999 of yacc.c. */ -#line 4129 "y.tab.c" +/* Line 991 of yacc.c. */ +#line 4150 "y.tab.c" yyvsp -= yylen; yyssp -= yylen; @@ -4166,33 +4188,18 @@ { YYSIZE_T yysize = 0; int yytype = YYTRANSLATE (yychar); - const char* yyprefix; char *yymsg; - int yyx; + int yyx, yycount; + yycount = 0; /* Start YYX at -YYN if negative to avoid negative indexes in YYCHECK. */ - int yyxbegin = yyn < 0 ? -yyn : 0; - - /* Stay within bounds of both yycheck and yytname. */ - int yychecklim = YYLAST - yyn; - int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS; - int yycount = 0; - - yyprefix = ", expecting "; - for (yyx = yyxbegin; yyx < yyxend; ++yyx) + for (yyx = yyn < 0 ? -yyn : 0; + yyx < (int) (sizeof (yytname) / sizeof (char *)); yyx++) if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR) - { - yysize += yystrlen (yyprefix) + yystrlen (yytname [yyx]); - yycount += 1; - if (yycount == 5) - { - yysize = 0; - break; - } - } - yysize += (sizeof ("syntax error, unexpected ") - + yystrlen (yytname[yytype])); + yysize += yystrlen (yytname[yyx]) + 15, yycount++; + yysize += yystrlen ("syntax error, unexpected ") + 1; + yysize += yystrlen (yytname[yytype]); yymsg = (char *) YYSTACK_ALLOC (yysize); if (yymsg != 0) { @@ -4201,13 +4208,16 @@ if (yycount < 5) { - yyprefix = ", expecting "; - for (yyx = yyxbegin; yyx < yyxend; ++yyx) + yycount = 0; + for (yyx = yyn < 0 ? -yyn : 0; + yyx < (int) (sizeof (yytname) / sizeof (char *)); + yyx++) if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR) { - yyp = yystpcpy (yyp, yyprefix); + const char *yyq = ! yycount ? ", expecting " : " or "; + yyp = yystpcpy (yyp, yyq); yyp = yystpcpy (yyp, yytname[yyx]); - yyprefix = " or "; + yycount++; } } yyerror (yymsg); @@ -4251,13 +4261,28 @@ /* Else will try to reuse lookahead token after shifting the error [truncated at 1000 lines; 61 more skipped]
19 years, 6 months
1
0
0
0
[frik85] 15787: add property page winapi (not finished, I will implement it)
by frik85@svn.reactos.com
add property page winapi (not finished, I will implement it) Modified: trunk/reactos/lib/shell32/shellord.c Modified: trunk/reactos/lib/shell32/shv_item_cmenu.c _____ Modified: trunk/reactos/lib/shell32/shellord.c --- trunk/reactos/lib/shell32/shellord.c 2005-06-04 19:11:11 UTC (rev 15786) +++ trunk/reactos/lib/shell32/shellord.c 2005-06-04 19:21:15 UTC (rev 15787) @@ -1561,10 +1561,14 @@ return -1; } + BOOL WINAPI SHObjectProperties(HWND hwnd, DWORD dwType, LPCWSTR szObject, LPCWSTR szPage) { FIXME("%p, 0x%08lx, %s, %s - stub\n", hwnd, dwType, debugstr_w(szObject), debugstr_w(szPage)); + MessageBox (NULL, TEXT("SHObjectProperties-WINAPI:\n\nTODO: Add the function code."), TEXT("SHObjectProperties; Dev: frik85"), 0); + + return TRUE; } _____ Modified: trunk/reactos/lib/shell32/shv_item_cmenu.c --- trunk/reactos/lib/shell32/shv_item_cmenu.c 2005-06-04 19:11:11 UTC (rev 15786) +++ trunk/reactos/lib/shell32/shv_item_cmenu.c 2005-06-04 19:21:15 UTC (rev 15787) @@ -254,8 +254,14 @@ _InsertMenuItem(hmenu, indexMenu++, TRUE, FCIDM_SHVIEW_DELETE, MFT_STRING, "&Delete", MFS_ENABLED); if(uFlags & CMF_CANRENAME) + { _InsertMenuItem(hmenu, indexMenu++, TRUE, FCIDM_SHVIEW_RENAME, MFT_STRING, "&Rename", ISvItemCm_CanRenameItems(This) ? MFS_ENABLED : MFS_DISABLED); + } + _InsertMenuItem(hmenu, indexMenu++, TRUE, 0, MFT_SEPARATOR, NULL, 0); + _InsertMenuItem(hmenu, indexMenu++, TRUE, FCIDM_SHVIEW_PROPERTIES, MFT_STRING, "&Properties::", MFS_ENABLED); + + return MAKE_HRESULT(SEVERITY_SUCCESS, 0, (FCIDM_SHVIEWLAST)); } return MAKE_HRESULT(SEVERITY_SUCCESS, 0, 0); @@ -432,6 +438,11 @@ TRACE("Verb FCIDM_SHVIEW_CUT\n"); DoCopyOrCut(iface, lpcmi->hwnd, TRUE); break; + case FCIDM_SHVIEW_PROPERTIES: + TRACE("Verb FCIDM_SHVIEW_PROPERTIES\n"); + /* Open the property sheet page */ + SHObjectProperties(NULL, TEXT("SHOP_FILEPATH"), lpcmi->hwnd, NULL); + break; default: FIXME("Unhandled Verb %xl\n",LOWORD(lpcmi->lpVerb)); }
19 years, 6 months
1
0
0
0
[greatlrd] 15786: fix head so it compile agein
by greatlrd@svn.reactos.com
fix head so it compile agein Modified: trunk/reactos/subsys/win32k/dib/dib32bpp.c _____ Modified: trunk/reactos/subsys/win32k/dib/dib32bpp.c --- trunk/reactos/subsys/win32k/dib/dib32bpp.c 2005-06-04 19:07:10 UTC (rev 15785) +++ trunk/reactos/subsys/win32k/dib/dib32bpp.c 2005-06-04 19:11:11 UTC (rev 15786) @@ -20,7 +20,6 @@ #include <w32k.h> -#include <w32k.h> VOID
19 years, 6 months
1
0
0
0
[hbirr] 15785: Merged 15422:15498 from trunk.
by hbirr@svn.reactos.com
Merged 15422:15498 from trunk. Modified: branches/cache_manager_rewrite/reactos/apps/utils/ps/ps.c Modified: branches/cache_manager_rewrite/reactos/boot/freeldr/freeldr/arch/i386/ha rdware.c Modified: branches/cache_manager_rewrite/reactos/boot/freeldr/freeldr/freeldr.c Modified: branches/cache_manager_rewrite/reactos/boot/freeldr/freeldr/mm/mm.c Modified: branches/cache_manager_rewrite/reactos/bootdata/hivesys.inf Modified: branches/cache_manager_rewrite/reactos/bootdata/packages/reactos.dff Modified: branches/cache_manager_rewrite/reactos/drivers/fs/np/create.c Modified: branches/cache_manager_rewrite/reactos/drivers/net/ndis/Makefile Modified: branches/cache_manager_rewrite/reactos/drivers/net/ndis/include/miniport .h Modified: branches/cache_manager_rewrite/reactos/drivers/net/ndis/include/ndissys. h Modified: branches/cache_manager_rewrite/reactos/drivers/net/ndis/ndis/miniport.c Modified: branches/cache_manager_rewrite/reactos/drivers/net/ndis/ndis/protocol.c Modified: branches/cache_manager_rewrite/reactos/drivers/net/tcpip/tcpip/main.c Modified: branches/cache_manager_rewrite/reactos/drivers/storage/cdrom/cdrom.c Modified: branches/cache_manager_rewrite/reactos/drivers/storage/disk/disk.c Modified: branches/cache_manager_rewrite/reactos/drivers/usb/Makefile Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/Makefile Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/core/buffer_ simple.c Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/core/config. c Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/core/hcd-pci .c Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/core/hcd.c Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/core/hcd.h Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/core/hub.c Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/core/hub.h Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/core/makefil e Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/core/makefil e.crom Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/core/message .c Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/core/urb.c Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/core/usb-deb ug.c Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/core/usb.c Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/core/usb.h Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/core/usbcore .c Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/core/usbcore .def Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/core/usbcore .rc Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/host/makefil e Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/host/makefil e.crom Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/host/ohci-db g.c Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/host/ohci-hc d.c Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/host/ohci-hu b.c Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/host/ohci-me m.c Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/host/ohci-pc i.c Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/host/ohci-q. c Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/host/ohci.de f Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/host/ohci.h Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/host/ohci.rc Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/host/ohci_co nfig.h Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/host/ohci_ma in.c Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/host/ohci_ma in.h Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/linux/asm/bi tops.h Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/linux/bitops .h Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/linux/boot.h Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/linux/consts .h Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/linux/cromwe ll_types.h Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/linux/errno. h Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/linux/linux_ wrapper.h Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/linux/list.h Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/linux/pci_ha l.c Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/linux/pci_id s.h Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/linux/usb.h Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/linux/usb_ch 9.h Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/sys/BootUSB. c Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/sys/Makefile Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/sys/linuxwra pper.c Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/sys/risefall .c Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/sys/ros_wrap per.c Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/sys/usbkey.c Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/sys/usbwrapp er.c Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/sys/xpad.c Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/sys/xremote. c Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/uhci/makefil e Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/uhci/uhci-hc d.c Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/uhci/uhci.de f Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/uhci/uhci.rc Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/uhci/uhci_co nfig.h Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/uhci/uhci_ma in.c Modified: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell/usb_wrapper. h Modified: branches/cache_manager_rewrite/reactos/include/ddk/obfuncs.h Modified: branches/cache_manager_rewrite/reactos/include/ntos/zwtypes.h Modified: branches/cache_manager_rewrite/reactos/include/wine/setupapi.h Modified: branches/cache_manager_rewrite/reactos/lib/cpl/desk/en.rc Modified: branches/cache_manager_rewrite/reactos/lib/cpl/desk/resource.h Modified: branches/cache_manager_rewrite/reactos/lib/cpl/desk/settings.c Modified: branches/cache_manager_rewrite/reactos/lib/cpl/desk/sv.rc Modified: branches/cache_manager_rewrite/reactos/lib/iphlpapi/ifenum_reactos.c Modified: branches/cache_manager_rewrite/reactos/lib/kernel32/misc/lang.c Modified: branches/cache_manager_rewrite/reactos/lib/mmdrv/wave.c Modified: branches/cache_manager_rewrite/reactos/lib/mpr/mpr.rc Added: branches/cache_manager_rewrite/reactos/lib/mpr/mpr_Ru.rc Modified: branches/cache_manager_rewrite/reactos/lib/msacm/msacm.rc Added: branches/cache_manager_rewrite/reactos/lib/msacm/msacm_Ru.rc Modified: branches/cache_manager_rewrite/reactos/lib/msi/msi.rc Added: branches/cache_manager_rewrite/reactos/lib/msi/msi_Ru.rc Added: branches/cache_manager_rewrite/reactos/lib/oledlg/oledlg_Ru.rc Modified: branches/cache_manager_rewrite/reactos/lib/oledlg/rsrc.rc Modified: branches/cache_manager_rewrite/reactos/lib/rtl/unicode.c Modified: branches/cache_manager_rewrite/reactos/lib/setupapi/misc.c Modified: branches/cache_manager_rewrite/reactos/lib/setupapi/setupapi.spec Added: branches/cache_manager_rewrite/reactos/lib/shdocvw/Ru.rc Modified: branches/cache_manager_rewrite/reactos/lib/shdocvw/shdocvw.rc Modified: branches/cache_manager_rewrite/reactos/lib/user32/resources/ocr_normal.c ur [truncated at 100 lines; 123 more skipped] _____ Modified: branches/cache_manager_rewrite/reactos/apps/utils/ps/ps.c --- branches/cache_manager_rewrite/reactos/apps/utils/ps/ps.c 2005-06-04 18:57:27 UTC (rev 15784) +++ branches/cache_manager_rewrite/reactos/apps/utils/ps/ps.c 2005-06-04 19:07:10 UTC (rev 15785) @@ -1,4 +1,4 @@ -/* $Id$ +/* * * ReactOS ps - process list console viewer * @@ -26,7 +26,68 @@ /* NOTE: W32API ddk/ntapi.h header has wrong definition of SYSTEM_PROCESSES. */ #include <ntos/types.h> +typedef struct _SYSTEM_THREADS + { + LARGE_INTEGER KernelTime; + LARGE_INTEGER UserTime; + LARGE_INTEGER CreateTime; + ULONG WaitTime; + PVOID StartAddress; + CLIENT_ID ClientId; + KPRIORITY Priority; + LONG BasePriority; + ULONG ContextSwitches; + ULONG ThreadState; + ULONG WaitReason; + } SYSTEM_THREADS, *PSYSTEM_THREADS; + + typedef struct _SYSTEM_PROCESSES + { + ULONG NextEntryOffset; + ULONG NumberOfThreads; + LARGE_INTEGER SpareLi1; + LARGE_INTEGER SpareLi2; + LARGE_INTEGER SpareLi3; + LARGE_INTEGER CreateTime; + LARGE_INTEGER UserTime; + LARGE_INTEGER KernelTime; + UNICODE_STRING ImageName; + KPRIORITY BasePriority; + HANDLE UniqueProcessId; + HANDLE InheritedFromUniqueProcessId; + ULONG HandleCount; + ULONG SessionId; + ULONG PageDirectoryFrame; + /* + * This part corresponds to VM_COUNTERS_EX. + * NOTE: *NOT* THE SAME AS VM_COUNTERS! + */ + ULONG PeakVirtualSize; + ULONG VirtualSize; + ULONG PageFaultCount; + ULONG PeakWorkingSetSize; + ULONG WorkingSetSize; + ULONG QuotaPeakPagedPoolUsage; + ULONG QuotaPagedPoolUsage; + ULONG QuotaPeakNonPagedPoolUsage; + ULONG QuotaNonPagedPoolUsage; + ULONG PagefileUsage; + ULONG PeakPagefileUsage; + ULONG PrivateUsage; + + /* This part corresponds to IO_COUNTERS */ + LARGE_INTEGER ReadOperationCount; + LARGE_INTEGER WriteOperationCount; + LARGE_INTEGER OtherOperationCount; + LARGE_INTEGER ReadTransferCount; + LARGE_INTEGER WriteTransferCount; + LARGE_INTEGER OtherTransferCount; + + SYSTEM_THREADS Threads [1]; + } SYSTEM_PROCESSES, *PSYSTEM_PROCESSES; + + // x00000000 00000000 000:00:00 000:00:00 () static char* title = "P PID PPID KTime UTime NAME\n"; static char* title1 = "t TID KTime UTime State WaitResson\n"; @@ -36,7 +97,7 @@ struct status { DWORD state; char desc[10]; -} thread_stat[8 + 1] = { +} thread_stat[8 + 1] = { {0, "Init "}, {1, "Ready "}, {2, "Running "}, @@ -50,39 +111,45 @@ struct waitres { DWORD state; - char desc[11]; -} waitreason[28 + 1] = { - {0, "Executive "}, - {1, "FreePage "}, - {2, "PageIn "}, - {3, "PoolAlloc "}, - {4, "DelayExec "}, - {5, "Suspended "}, - {6, "UserReq "}, - {7, "WrExecutive"}, - {8, "WrFreePage "}, - {9, "WrPageIn "}, - {10,"WrPoolAlloc"}, - {11,"WrDelayExec"}, - {12,"WrSuspended"}, - {13,"WrUserReq "}, - {14,"WrEventPair"}, - {15,"WrQueue "}, - {16,"WrLpcRec "}, - {17,"WrLpcReply "}, - {18,"WrVirtualMm"}, - {19,"WrPageOut "}, - {20,"WrRendez "}, - {21,"Spare1 "}, - {22,"Spare2 "}, - {23,"Spare3 "}, - {24,"Spare4 "}, - {25,"Spare5 "}, - {26,"Spare6 "}, - {27,"WrKernel "}, - {-1," ? "} + char desc[17]; +} waitreason[35 + 1] = { + {0, "Executive "}, + {1, "FreePage "}, + {2, "PageIn "}, + {3, "PoolAllocation "}, + {4, "DelayExecution "}, + {5, "Suspended "}, + {6, "UserRequest "}, + {7, "WrExecutive "}, + {8, "WrFreePage "}, + {9, "WrPageIn "}, + {10,"WrPoolAllocation "}, + {11,"WrDelayExecution "}, + {12,"WrSuspended "}, + {13,"WrUserRequest "}, + {14,"WrEventPair "}, + {15,"WrQueue "}, + {16,"WrLpcReceive "}, + {17,"WrLpcReply "}, + {18,"WrVirtualMemory "}, + {19,"WrPageOut "}, + {20,"WrRendezvous "}, + {21,"Spare2 "}, + {22,"WrGuardedMutex "}, + {23,"Spare4 "}, + {24,"Spare5 "}, + {25,"Spare6 "}, + {26,"WrKernel "}, + {27,"WrResource "}, + {28,"WrPushLock "}, + {29,"WrMutex "}, + {30,"WrQuantumEnd "}, + {31,"WrDispatchInt "}, + {32,"WrPreempted "}, + {33,"WrYieldExecution "}, + {34,"MaximumWaitReason"}, + {-1," ? "} }; - BOOL CALLBACK EnumThreadProc(HWND hwnd, LPARAM lp) { @@ -90,9 +157,9 @@ LONG style; HANDLE stdout = GetStdHandle(STD_OUTPUT_HANDLE); char buf[256]; - + GetWindowText(hwnd, (LPTSTR)lp, 30); - + if(hwnd != 0) { style = GetWindowLong(hwnd, GWL_STYLE); @@ -110,13 +177,13 @@ DWORD r; ANSI_STRING astring; HANDLE stdout = GetStdHandle(STD_OUTPUT_HANDLE); - PSYSTEM_PROCESS_INFORMATION SystemProcesses = NULL; - PSYSTEM_PROCESS_INFORMATION CurrentProcess; + PSYSTEM_PROCESSES SystemProcesses = NULL; + PSYSTEM_PROCESSES CurrentProcess; ULONG BufferSize, ReturnSize; NTSTATUS Status; char buf[256]; char buf1[256]; - + WriteFile(stdout, title, lstrlen(title), &r, NULL); WriteFile(stdout, title1, lstrlen(title1), &r, NULL); WriteFile(stdout, title2, lstrlen(title2), &r, NULL); @@ -153,7 +220,7 @@ hour = (ptime.QuadPart / (10000000LL * 3600LL)); minute = (ptime.QuadPart / (10000000LL * 60LL)) % 60LL; seconds = (ptime.QuadPart / 10000000LL) % 60LL; - + ptime.QuadPart = CurrentProcess->UserTime.QuadPart; hour1 = (ptime.QuadPart / (10000000LL * 3600LL)); minute1 = (ptime.QuadPart / (10000000LL * 60LL)) % 60LL; @@ -166,7 +233,7 @@ hour, minute, seconds, hour1, minute1, seconds1, astring.Buffer); WriteFile(stdout, buf, lstrlen(buf), &r, NULL); - + RtlFreeAnsiString(&astring); for (ti = 0; ti < CurrentProcess->NumberOfThreads; ti++) @@ -175,37 +242,37 @@ struct waitres *waitt; char szWindowName[30] = {" "}; - ptime = CurrentProcess->TH[ti].KernelTime; + ptime = CurrentProcess->Threads[ti].KernelTime; thour = (ptime.QuadPart / (10000000LL * 3600LL)); tmin = (ptime.QuadPart / (10000000LL * 60LL)) % 60LL; tsec = (ptime.QuadPart / 10000000LL) % 60LL; - ptime = CurrentProcess->TH[ti].UserTime; + ptime = CurrentProcess->Threads[ti].UserTime; thour1 = (ptime.QuadPart / (10000000LL * 3600LL)); tmin1 = (ptime.QuadPart / (10000000LL * 60LL)) % 60LL; tsec1 = (ptime.QuadPart / 10000000LL) % 60LL; statt = thread_stat; - while (statt->state != CurrentProcess->TH[ti].ThreadState && statt->state >= 0) + while (statt->state != CurrentProcess->Threads[ti].ThreadState && statt->state >= 0) statt++; waitt = waitreason; - while (waitt->state != CurrentProcess->TH[ti].WaitReason && waitt->state >= 0) + while (waitt->state != CurrentProcess->Threads[ti].WaitReason && waitt->state >= 0) waitt++; - wsprintf (buf1, + wsprintf (buf1, "t% %8d %3d:%02d:%02d %3d:%02d:%02d %s %s\n", - CurrentProcess->TH[ti].ClientId.UniqueThread, + CurrentProcess->Threads[ti].ClientId.UniqueThread, thour, tmin, tsec, thour1, tmin1, tsec1, statt->desc , waitt->desc); WriteFile(stdout, buf1, lstrlen(buf1), &r, NULL); - EnumThreadWindows((DWORD)CurrentProcess->TH[ti].ClientId.UniqueThread, + EnumThreadWindows((DWORD)CurrentProcess->Threads[ti].ClientId.UniqueThre ad, (ENUMWINDOWSPROC) EnumThreadProc, (LPARAM)(LPTSTR) szWindowName ); } - CurrentProcess = (PSYSTEM_PROCESS_INFORMATION)((ULONG_PTR)CurrentProcess + + CurrentProcess = (PSYSTEM_PROCESSES)((ULONG_PTR)CurrentProcess + CurrentProcess->NextEntryOffset); - } + } return (0); } _____ Modified: branches/cache_manager_rewrite/reactos/boot/freeldr/freeldr/arch/i386/ha rdware.c --- branches/cache_manager_rewrite/reactos/boot/freeldr/freeldr/arch/i386/ha rdware.c 2005-06-04 18:57:27 UTC (rev 15784) +++ branches/cache_manager_rewrite/reactos/boot/freeldr/freeldr/arch/i386/ha rdware.c 2005-06-04 19:07:10 UTC (rev 15785) @@ -1715,7 +1715,7 @@ /* Set 'Identifier' value */ strcpy(Buffer, "PCAT_ENHANCED"); - Error = RegSetValue(ControllerKey, + Error = RegSetValue(PeripheralKey, "Identifier", REG_SZ, Buffer, _____ Modified: branches/cache_manager_rewrite/reactos/boot/freeldr/freeldr/freeldr.c --- branches/cache_manager_rewrite/reactos/boot/freeldr/freeldr/freeldr.c 2005-06-04 18:57:27 UTC (rev 15784) +++ branches/cache_manager_rewrite/reactos/boot/freeldr/freeldr/freeldr.c 2005-06-04 19:07:10 UTC (rev 15785) @@ -35,7 +35,7 @@ DebugInit(); - DbgPrint((DPRINT_WARNING, "BootMain() called. BootDrive = 0x%x BootPartition = %d\n", BootDrive, BootPartition)); + DbgPrint((DPRINT_WARNING, "BootMain() called.\n")); if (!MmInitializeMemoryManager()) { _____ Modified: branches/cache_manager_rewrite/reactos/boot/freeldr/freeldr/mm/mm.c --- branches/cache_manager_rewrite/reactos/boot/freeldr/freeldr/mm/mm.c 2005-06-04 18:57:27 UTC (rev 15784) +++ branches/cache_manager_rewrite/reactos/boot/freeldr/freeldr/mm/mm.c 2005-06-04 19:07:10 UTC (rev 15785) @@ -36,10 +36,30 @@ VOID MemAllocTest(VOID); #endif // DEBUG +/* + * Hack alert + * Normally, we allocate whole pages. This is ofcourse wastefull for small + * allocations (a few bytes). So, for small allocations (smaller than a page) + * we sub-allocate. When the first small allocation is done, a page is + * requested. We keep a pointer to that page in SubAllocationPage. The alloc + * is satisfied by returning a pointer to the beginning of the page. We also + * keep track of how many bytes are still available in the page in SubAllocationRest. + * When the next small request comes in, we try to allocate it just after the + * memory previously allocated. If it won't fit, we allocate a new page and + * the whole process starts again. + * Note that suballocations are done back-to-back, there's no bookkeeping at all. + * That also means that we cannot really free suballocations. So, when a free is + * done and it is determined that this might be a free of a sub-allocation, we + * just no-op the free. + * Perhaps we should use the heap routines from ntdll here. + */ +static PVOID SubAllocationPage = NULL; +static unsigned SubAllocationRest = 0; + PVOID MmAllocateMemory(ULONG MemorySize) { - ULONG PagesNeeded; - ULONG FirstFreePageFromEnd; + ULONG PagesNeeded; + ULONG FirstFreePageFromEnd; PVOID MemPointer; if (MemorySize == 0) @@ -49,6 +69,14 @@ return NULL; } + MemorySize = ROUND_UP(MemorySize, 4); + if (MemorySize <= SubAllocationRest) + { + MemPointer = SubAllocationPage + MM_PAGE_SIZE - SubAllocationRest; + SubAllocationRest -= MemorySize; + return MemPointer; + } + // Find out how many blocks it will take to // satisfy this allocation PagesNeeded = ROUND_UP(MemorySize, MM_PAGE_SIZE) / MM_PAGE_SIZE; @@ -76,6 +104,13 @@ FreePagesInLookupTable -= PagesNeeded; MemPointer = (PVOID)(FirstFreePageFromEnd * MM_PAGE_SIZE); + if (MemorySize < MM_PAGE_SIZE) + { + SubAllocationPage = MemPointer; + SubAllocationRest = MM_PAGE_SIZE - MemorySize; + } + + #ifdef DEBUG IncrementAllocationCount(); DbgPrint((DPRINT_MEMORY, "Allocated %d bytes (%d pages) of memory starting at page %d. AllocCount: %d\n", MemorySize, PagesNeeded, FirstFreePageFromEnd, AllocationCount)); @@ -235,6 +270,13 @@ #endif + /* If this allocation is only a single page, it could be a sub-allocated page. + * Just don't free it */ + if (1 == PageCount) + { + return; + } + // Loop through our array and mark all the // blocks as free for (Idx=PageNumber; Idx<(PageNumber + PageCount); Idx++) _____ Modified: branches/cache_manager_rewrite/reactos/bootdata/hivesys.inf --- branches/cache_manager_rewrite/reactos/bootdata/hivesys.inf 2005-06-04 18:57:27 UTC (rev 15784) +++ branches/cache_manager_rewrite/reactos/bootdata/hivesys.inf 2005-06-04 19:07:10 UTC (rev 15785) @@ -46,6 +46,9 @@ HKLM,"SYSTEM\CurrentControlSet\Control\ComputerName",,0x00000012 HKLM,"SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName","Compu terName",0x00000002,"COMPUTERNAME" +; Device classes key +HKLM,"SYSTEM\CurrentControlSet\Control\DeviceClasses",,0x00000012 + ; Hardware profile settings HKLM,"SYSTEM\CurrentControlSet\Control\IDConfigDB",,0x00000012 HKLM,"SYSTEM\CurrentControlSet\Control\IDConfigDB","CurrentConfig",0x000 10001,0x00000000 @@ -926,6 +929,12 @@ HKLM,"SYSTEM\CurrentControlSet\Services\VBE","Type",0x00010001,0x0000000 1 HKLM,"SYSTEM\CurrentControlSet\Services\VBE\Device0","InstalledDisplayDr ivers",0x00010000,"framebuf" +HKLM,"SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\Services\VBE\Device0","Default Settings.VRefresh",0x00010001,1 +HKLM,"SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\Services\VBE\Device0","Default Settings.BitsPerPel",0x00010001,8 +HKLM,"SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\Services\VBE\Device0","Default Settings.XResolution",0x00010001,640 +HKLM,"SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\Services\VBE\Device0","Default Settings.YResolution",0x00010001,480 + + ; VGA miniport driver HKLM,"SYSTEM\CurrentControlSet\Services\Vga","ErrorControl",0x00010001,0 x00000000 HKLM,"SYSTEM\CurrentControlSet\Services\Vga","Group",0x00000000,"Video Save" @@ -934,6 +943,7 @@ HKLM,"SYSTEM\CurrentControlSet\Services\Vga","Type",0x00010001,0x0000000 1 HKLM,"SYSTEM\CurrentControlSet\Services\Vga\Device0","InstalledDisplayDr ivers",0x00010000,"vgaddi" + ; VMware SVGA driver HKLM,"SYSTEM\CurrentControlSet\Services\vmx_svga","ErrorControl",0x00010 001,0x00000000 HKLM,"SYSTEM\CurrentControlSet\Services\vmx_svga","Group",0x00000000,"Vi deo" _____ Modified: branches/cache_manager_rewrite/reactos/bootdata/packages/reactos.dff --- branches/cache_manager_rewrite/reactos/bootdata/packages/reactos.dff 2005-06-04 18:57:27 UTC (rev 15784) +++ branches/cache_manager_rewrite/reactos/bootdata/packages/reactos.dff 2005-06-04 19:07:10 UTC (rev 15785) @@ -16,7 +16,7 @@ 1 = system32 2 = system32\drivers 3 = media\fonts -4 = . +4 = 5 = system32\drivers\etc 6 = inf _____ Modified: branches/cache_manager_rewrite/reactos/drivers/fs/np/create.c --- branches/cache_manager_rewrite/reactos/drivers/fs/np/create.c 2005-06-04 18:57:27 UTC (rev 15784) +++ branches/cache_manager_rewrite/reactos/drivers/fs/np/create.c 2005-06-04 19:07:10 UTC (rev 15785) @@ -96,7 +96,7 @@ RemoveEntryList(&Waiter->Entry); Irp = CONTAINING_RECORD(Waiter, IRP, Tail.Overlay.DriverContext); - Irp->IoStatus.Status = STATUS_PIPE_CONNECTED; + Irp->IoStatus.Status = STATUS_SUCCESS; Irp->IoStatus.Information = 0; IoCompleteRequest(Irp, IO_NO_INCREMENT); break; _____ Modified: branches/cache_manager_rewrite/reactos/drivers/net/ndis/Makefile --- branches/cache_manager_rewrite/reactos/drivers/net/ndis/Makefile 2005-06-04 18:57:27 UTC (rev 15784) +++ branches/cache_manager_rewrite/reactos/drivers/net/ndis/Makefile 2005-06-04 19:07:10 UTC (rev 15785) @@ -8,7 +8,7 @@ TARGET_PCH = include/ndissys.h -TARGET_CFLAGS = -I./include -D__USE_W32API -Wall +TARGET_CFLAGS = -I./include -D__USE_W32API -Wall -Werror TARGET_CFLAGS += -DNDIS_WRAPPER -DNDIS50 -DNDIS50_MINIPORT -DBINARY_COMPATIBLE _____ Modified: branches/cache_manager_rewrite/reactos/drivers/net/ndis/include/miniport .h --- branches/cache_manager_rewrite/reactos/drivers/net/ndis/include/miniport .h 2005-06-04 18:57:27 UTC (rev 15784) +++ branches/cache_manager_rewrite/reactos/drivers/net/ndis/include/miniport .h 2005-06-04 19:07:10 UTC (rev 15785) @@ -10,6 +10,7 @@ #include <ndissys.h> +struct _ADAPTER_BINDING; typedef struct _HARDWARE_ADDRESS { union { @@ -77,9 +78,9 @@ KDPC MiniportDpc; /* DPC routine for adapter */ BOOLEAN MiniportBusy; /* A MiniportXxx routine is executing */ ULONG WorkQueueLevel; /* Number of used work item buffers */ - NDIS_MINIPORT_WORK_ITEM WorkQueue[NDIS_MINIPORT_WORK_QUEUE_SIZE]; - PNDIS_MINIPORT_WORK_ITEM WorkQueueHead; /* Head of work queue */ - PNDIS_MINIPORT_WORK_ITEM WorkQueueTail; /* Tail of work queue */ + INTERNAL_NDIS_MINIPORT_WORK_ITEM WorkQueue[NDIS_MINIPORT_WORK_QUEUE_SIZE]; + PINTERNAL_NDIS_MINIPORT_WORK_ITEM WorkQueueHead; /* Head of work queue */ + PINTERNAL_NDIS_MINIPORT_WORK_ITEM WorkQueueTail; /* Tail of work queue */ LIST_ENTRY ListEntry; /* Entry on global list */ LIST_ENTRY MiniportListEntry; /* Entry on miniport driver list */ LIST_ENTRY ProtocolListHead; /* List of bound protocols */ @@ -145,7 +146,7 @@ NDIS_STATUS FASTCALL MiniQueueWorkItem( - PLOGICAL_ADAPTER Adapter, + struct _ADAPTER_BINDING *AdapterBinding, NDIS_WORK_ITEM_TYPE WorkItemType, PVOID WorkItemContext); @@ -153,12 +154,13 @@ FASTCALL MiniDequeueWorkItem( PLOGICAL_ADAPTER Adapter, + struct _ADAPTER_BINDING **AdapterBinding, NDIS_WORK_ITEM_TYPE *WorkItemType, PVOID *WorkItemContext); NDIS_STATUS MiniDoRequest( - PLOGICAL_ADAPTER Adapter, + struct _ADAPTER_BINDING *AdapterBinding, PNDIS_REQUEST NdisRequest); BOOLEAN _____ Modified: branches/cache_manager_rewrite/reactos/drivers/net/ndis/include/ndissys. h --- branches/cache_manager_rewrite/reactos/drivers/net/ndis/include/ndissys. h 2005-06-04 18:57:27 UTC (rev 15784) +++ branches/cache_manager_rewrite/reactos/drivers/net/ndis/include/ndissys. h 2005-06-04 19:07:10 UTC (rev 15785) @@ -27,6 +27,14 @@ #include <ddk/ntapi.h> #endif /* _MSC_VER */ +struct _ADAPTER_BINDING; + +typedef struct _INTERNAL_NDIS_MINIPORT_WORK_ITEM { + SINGLE_LIST_ENTRY Link; + struct _ADAPTER_BINDING *AdapterBinding; + NDIS_MINIPORT_WORK_ITEM RealWorkItem; +} INTERNAL_NDIS_MINIPORT_WORK_ITEM, *PINTERNAL_NDIS_MINIPORT_WORK_ITEM; + #include "miniport.h" #include "protocol.h" _____ Modified: branches/cache_manager_rewrite/reactos/drivers/net/ndis/ndis/miniport.c --- branches/cache_manager_rewrite/reactos/drivers/net/ndis/ndis/miniport.c 2005-06-04 18:57:27 UTC (rev 15784) +++ branches/cache_manager_rewrite/reactos/drivers/net/ndis/ndis/miniport.c 2005-06-04 19:07:10 UTC (rev 15785) @@ -327,7 +327,24 @@ } + VOID STDCALL +MiniRequestComplete( + IN PADAPTER_BINDING AdapterBinding, + IN PNDIS_REQUEST Request, + IN NDIS_STATUS Status) +{ + NDIS_DbgPrint(DEBUG_MINIPORT, ("Called.\n")); + + if( AdapterBinding->ProtocolBinding->Chars.RequestCompleteHandler ) { + (*AdapterBinding->ProtocolBinding->Chars.RequestCompleteHandler)( + AdapterBinding->NdisOpenBlock.NdisCommonOpenBlock.ProtocolBindingContext , + Request, + Status); + } +} + +VOID STDCALL MiniSendComplete( IN NDIS_HANDLE MiniportAdapterHandle, IN PNDIS_PACKET Packet, @@ -615,7 +632,7 @@ NDIS_STATUS FASTCALL MiniQueueWorkItem( - PLOGICAL_ADAPTER Adapter, + PADAPTER_BINDING AdapterBinding, NDIS_WORK_ITEM_TYPE WorkItemType, PVOID WorkItemContext) /* @@ -630,49 +647,51 @@ * Status of operation */ { - PNDIS_MINIPORT_WORK_ITEM Item; + PINTERNAL_NDIS_MINIPORT_WORK_ITEM Item; + PLOGICAL_ADAPTER Adapter = AdapterBinding->Adapter; - NDIS_DbgPrint(MAX_TRACE, ("Called.\n")); - - ASSERT(Adapter); - ASSERT(KeGetCurrentIrql() >= DISPATCH_LEVEL); - + NDIS_DbgPrint(MAX_TRACE, ("Called.\n")); + + ASSERT(Adapter); + ASSERT(KeGetCurrentIrql() >= DISPATCH_LEVEL); + #if 0 - if (Adapter->WorkQueueLevel < NDIS_MINIPORT_WORK_QUEUE_SIZE - 1) + if (Adapter->WorkQueueLevel < NDIS_MINIPORT_WORK_QUEUE_SIZE - 1) { - Item = &Adapter->WorkQueue[Adapter->WorkQueueLevel]; - Adapter->WorkQueueLevel++; + Item = &Adapter->WorkQueue[Adapter->WorkQueueLevel]; + Adapter->WorkQueueLevel++; } - else + else #endif { - Item = ExAllocatePool(NonPagedPool, sizeof(NDIS_MINIPORT_WORK_ITEM)); - if (Item == NULL) + Item = ExAllocatePool(NonPagedPool, sizeof(INTERNAL_NDIS_MINIPORT_WORK_ITEM)); + if (Item == NULL) { - NDIS_DbgPrint(MIN_TRACE, ("Insufficient resources.\n")); - return NDIS_STATUS_RESOURCES; + NDIS_DbgPrint(MIN_TRACE, ("Insufficient resources.\n")); + return NDIS_STATUS_RESOURCES; } } - - Item->WorkItemType = WorkItemType; - Item->WorkItemContext = WorkItemContext; - - /* safe due to adapter lock held */ - Item->Link.Next = NULL; - if (!Adapter->WorkQueueHead) + + Item->AdapterBinding = AdapterBinding; + Item->RealWorkItem.WorkItemType = WorkItemType; + Item->RealWorkItem.WorkItemContext = WorkItemContext; + + /* safe due to adapter lock held */ + Item->Link.Next = NULL; + if (!Adapter->WorkQueueHead) { - Adapter->WorkQueueHead = Item; - Adapter->WorkQueueTail = Item; + Adapter->WorkQueueHead = Item; + Adapter->WorkQueueTail = Item; } - else + else { - Adapter->WorkQueueTail->Link.Next = (PSINGLE_LIST_ENTRY)Item; - Adapter->WorkQueueTail = Item; + Adapter->WorkQueueTail->Link.Next = (PSINGLE_LIST_ENTRY)Item; + Adapter->WorkQueueTail = Item; } - - KeInsertQueueDpc(&Adapter->MiniportDpc, NULL, NULL); - - return NDIS_STATUS_SUCCESS; + + KeInsertQueueDpc(&Adapter->MiniportDpc, NULL, NULL); + + return NDIS_STATUS_SUCCESS; } @@ -680,12 +699,14 @@ FASTCALL MiniDequeueWorkItem( PLOGICAL_ADAPTER Adapter, + PADAPTER_BINDING *AdapterBinding, NDIS_WORK_ITEM_TYPE *WorkItemType, PVOID *WorkItemContext) /* * FUNCTION: Dequeues a work item from the work queue of a logical adapter * ARGUMENTS: * Adapter = Pointer to the logical adapter object to dequeue work item from + * AdapterBinding = Address of buffer for adapter binding for this request * WorkItemType = Address of buffer for work item type * WorkItemContext = Address of buffer for pointer to context information * NOTES: @@ -694,52 +715,55 @@ * Status of operation */ { - PNDIS_MINIPORT_WORK_ITEM Item; - - NDIS_DbgPrint(MAX_TRACE, ("Called.\n")); - - Item = Adapter->WorkQueueHead; - - if (Item) + PINTERNAL_NDIS_MINIPORT_WORK_ITEM Item; + + NDIS_DbgPrint(MAX_TRACE, ("Called.\n")); + + Item = Adapter->WorkQueueHead; + + if (Item) { - /* safe due to adapter lock held */ - Adapter->WorkQueueHead = (PNDIS_MINIPORT_WORK_ITEM)Item->Link.Next; - - if (Item == Adapter->WorkQueueTail) - Adapter->WorkQueueTail = NULL; - - *WorkItemType = Item->WorkItemType; - *WorkItemContext = Item->WorkItemContext; - - ExFreePool(Item); - - return NDIS_STATUS_SUCCESS; + /* safe due to adapter lock held */ + Adapter->WorkQueueHead = (PINTERNAL_NDIS_MINIPORT_WORK_ITEM)Item->Link.Next; + + if (Item == Adapter->WorkQueueTail) + Adapter->WorkQueueTail = NULL; + + *AdapterBinding = Item->AdapterBinding; + *WorkItemType = Item->RealWorkItem.WorkItemType; + *WorkItemContext = Item->RealWorkItem.WorkItemContext; + + ExFreePool(Item); + + return NDIS_STATUS_SUCCESS; } - - return NDIS_STATUS_FAILURE; + + return NDIS_STATUS_FAILURE; } NDIS_STATUS MiniDoRequest( - PLOGICAL_ADAPTER Adapter, + PADAPTER_BINDING AdapterBinding, PNDIS_REQUEST NdisRequest) /* * FUNCTION: Sends a request to a miniport * ARGUMENTS: - * Adapter = Pointer to logical adapter object - * NdisRequest = Pointer to NDIS request structure describing request + * AdapterBinding = Pointer to binding used in the request + * NdisRequest = Pointer to NDIS request structure describing request * RETURNS: * Status of operation */ { - NDIS_DbgPrint(DEBUG_MINIPORT, ("Called.\n")); + PLOGICAL_ADAPTER Adapter = AdapterBinding->Adapter; - Adapter->NdisMiniportBlock.MediaRequest = NdisRequest; - - switch (NdisRequest->RequestType) + NDIS_DbgPrint(DEBUG_MINIPORT, ("Called.\n")); + + Adapter->NdisMiniportBlock.MediaRequest = NdisRequest; + + switch (NdisRequest->RequestType) { - case NdisRequestQueryInformation: + case NdisRequestQueryInformation: return (*Adapter->Miniport->Chars.QueryInformationHandler)( Adapter->NdisMiniportBlock.MiniportAdapterContext, NdisRequest->DATA.QUERY_INFORMATION.Oid, @@ -748,8 +772,8 @@ (PULONG)&NdisRequest->DATA.QUERY_INFORMATION.BytesWritten, (PULONG)&NdisRequest->DATA.QUERY_INFORMATION.BytesNeeded); break; - - case NdisRequestSetInformation: + + case NdisRequestSetInformation: return (*Adapter->Miniport->Chars.SetInformationHandler)( Adapter->NdisMiniportBlock.MiniportAdapterContext, NdisRequest->DATA.SET_INFORMATION.Oid, @@ -758,8 +782,8 @@ (PULONG)&NdisRequest->DATA.SET_INFORMATION.BytesRead, (PULONG)&NdisRequest->DATA.SET_INFORMATION.BytesNeeded); break; - - default: + + default: return NDIS_STATUS_FAILURE; } } @@ -800,11 +824,14 @@ NDIS_STATUS NdisStatus; PVOID WorkItemContext; NDIS_WORK_ITEM_TYPE WorkItemType; + PADAPTER_BINDING AdapterBinding; PLOGICAL_ADAPTER Adapter = GET_LOGICAL_ADAPTER(DeferredContext); NDIS_DbgPrint(DEBUG_MINIPORT, ("Called.\n")); - NdisStatus = MiniDequeueWorkItem(Adapter, &WorkItemType, &WorkItemContext); + NdisStatus = + MiniDequeueWorkItem + (Adapter, &AdapterBinding, &WorkItemType, &WorkItemContext); if (NdisStatus == NDIS_STATUS_SUCCESS) { @@ -873,7 +900,7 @@ break; case NdisWorkItemRequest: - NdisStatus = MiniDoRequest(Adapter, (PNDIS_REQUEST)WorkItemContext); + NdisStatus = MiniDoRequest(AdapterBinding, (PNDIS_REQUEST)WorkItemContext); if (NdisStatus == NDIS_STATUS_PENDING) break; @@ -882,10 +909,12 @@ { case NdisRequestQueryInformation: NdisMQueryInformationComplete((NDIS_HANDLE)Adapter, NdisStatus); + MiniRequestComplete( AdapterBinding, (PNDIS_REQUEST)WorkItemContext, NdisStatus ); break; case NdisRequestSetInformation: NdisMSetInformationComplete((NDIS_HANDLE)Adapter, NdisStatus); + MiniRequestComplete( AdapterBinding, (PNDIS_REQUEST)WorkItemContext, NdisStatus ); break; default: _____ Modified: branches/cache_manager_rewrite/reactos/drivers/net/ndis/ndis/protocol.c --- branches/cache_manager_rewrite/reactos/drivers/net/ndis/ndis/protocol.c 2005-06-04 18:57:27 UTC (rev 15784) +++ branches/cache_manager_rewrite/reactos/drivers/net/ndis/ndis/protocol.c 2005-06-04 19:07:10 UTC (rev 15785) @@ -158,7 +158,7 @@ /* MiniQueueWorkItem must be called at IRQL >= DISPATCH_LEVEL */ if (QueueWorkItem) { - MiniQueueWorkItem(Adapter, NdisWorkItemRequest, (PVOID)NdisRequest); + MiniQueueWorkItem(AdapterBinding, NdisWorkItemRequest, (PVOID)NdisRequest); KeReleaseSpinLock(&Adapter->NdisMiniportBlock.Lock, OldIrql); return NDIS_STATUS_PENDING; } @@ -169,7 +169,7 @@ /* TODO (?): move the irql raise into MiniDoRequest */ KeRaiseIrql(DISPATCH_LEVEL, &OldIrql); { - NdisStatus = MiniDoRequest(Adapter, NdisRequest); + NdisStatus = MiniDoRequest(AdapterBinding, NdisRequest); NDIS_DbgPrint(MAX_TRACE, ("acquiring miniport block lock\n")); KeAcquireSpinLockAtDpcLevel(&Adapter->NdisMiniportBlock.Lock); @@ -278,7 +278,7 @@ if (QueueWorkItem) { - MiniQueueWorkItem(Adapter, NdisWorkItemSendLoopback, (PVOID)Packet); + MiniQueueWorkItem(AdapterBinding, NdisWorkItemSendLoopback, (PVOID)Packet); return NDIS_STATUS_PENDING; } @@ -315,7 +315,7 @@ /* This is a normal send packet, not a loopback packet. */ if (QueueWorkItem) { - MiniQueueWorkItem(Adapter, NdisWorkItemSend, (PVOID)Packet); + MiniQueueWorkItem(AdapterBinding, NdisWorkItemSend, (PVOID)Packet); NDIS_DbgPrint(MAX_TRACE, ("Queued a work item and returning\n")); return NDIS_STATUS_PENDING; } _____ Modified: branches/cache_manager_rewrite/reactos/drivers/net/tcpip/tcpip/main.c --- branches/cache_manager_rewrite/reactos/drivers/net/tcpip/tcpip/main.c 2005-06-04 18:57:27 UTC (rev 15784) +++ branches/cache_manager_rewrite/reactos/drivers/net/tcpip/tcpip/main.c 2005-06-04 19:07:10 UTC (rev 15785) @@ -9,7 +9,7 @@ */ #include "precomp.h" -//#define NDEBUG +#define NDEBUG #ifndef NDEBUG DWORD DebugTraceLevel = DEBUG_ULTRA & ~(DEBUG_LOCK | DEBUG_PBUFFER); _____ Modified: branches/cache_manager_rewrite/reactos/drivers/storage/cdrom/cdrom.c --- branches/cache_manager_rewrite/reactos/drivers/storage/cdrom/cdrom.c 2005-06-04 18:57:27 UTC (rev 15784) +++ branches/cache_manager_rewrite/reactos/drivers/storage/cdrom/cdrom.c 2005-06-04 19:07:10 UTC (rev 15785) @@ -391,17 +391,10 @@ CdromClassCreateMediaChangeEvent(IN PDEVICE_EXTENSION DeviceExtension, IN ULONG DeviceNumber) { - WCHAR NameBuffer[MAX_PATH]; - UNICODE_STRING Name; - swprintf (NameBuffer, - L"\\Device\\MediaChangeEvent%lu", - DeviceNumber); - RtlInitUnicodeString (&Name, - NameBuffer); DeviceExtension->MediaChangeEvent = - IoCreateSynchronizationEvent (&Name, + IoCreateSynchronizationEvent (NULL, &DeviceExtension->MediaChangeEventHandle); KeClearEvent (DeviceExtension->MediaChangeEvent); _____ Modified: branches/cache_manager_rewrite/reactos/drivers/storage/disk/disk.c --- branches/cache_manager_rewrite/reactos/drivers/storage/disk/disk.c 2005-06-04 18:57:27 UTC (rev 15784) +++ branches/cache_manager_rewrite/reactos/drivers/storage/disk/disk.c 2005-06-04 19:07:10 UTC (rev 15785) @@ -315,17 +315,8 @@ DiskClassCreateMediaChangeEvent(IN PDEVICE_EXTENSION DeviceExtension, IN ULONG DeviceNumber) { - WCHAR NameBuffer[MAX_PATH]; - UNICODE_STRING Name; - - swprintf (NameBuffer, - L"\\Device\\MediaChangeEvent%lu", - DeviceNumber); - RtlInitUnicodeString (&Name, - NameBuffer); - DeviceExtension->MediaChangeEvent = - IoCreateSynchronizationEvent (&Name, + IoCreateSynchronizationEvent (NULL, &DeviceExtension->MediaChangeEventHandle); KeClearEvent (DeviceExtension->MediaChangeEvent); _____ Modified: branches/cache_manager_rewrite/reactos/drivers/usb/Makefile --- branches/cache_manager_rewrite/reactos/drivers/usb/Makefile 2005-06-04 18:57:27 UTC (rev 15784) +++ branches/cache_manager_rewrite/reactos/drivers/usb/Makefile 2005-06-04 19:07:10 UTC (rev 15785) @@ -1,50 +1,50 @@ -# -# ReactOS USB Drivers -# - -PATH_TO_TOP = ../.. - -include $(PATH_TO_TOP)/rules.mak - -DRIVERS = usbport miniport/usbuhci miniport/usbehci miniport/usbohci usbhub usbd - -all: $(DRIVERS) - -depends: - -implib: $(DRIVERS:%=%_implib) - -clean: $(DRIVERS:%=%_clean) - -install: $(DRIVERS:%=%_install) - -bootcd: $(DRIVERS:%=%_bootcd) - -.PHONY: all depends implib clean install bootcd - - -# -# USB DRIVERS -# -$(DRIVERS): %: - $(MAKE) -C $* - -$(DRIVERS:%=%_implib): %_implib: - $(MAKE) -C $* implib - -$(DRIVERS:%=%_clean): %_clean: - $(MAKE) -C $* clean - -$(DRIVERS:%=%_install): %_install: - $(MAKE) -C $* install - -$(DRIVERS:%=%_bootcd): %_bootcd: - $(MAKE) -C $* bootcd - -.PHONY: $(DRIVERS) $(DRIVERS:%=%_implib) $(DRIVERS:%=%_clean) $(DRIVERS:%=%_install) $(DRIVERS:%=%_bootcd) - - -etags: - find . -name "*.[ch]" -print | etags --language=c - - -# EOF +# +# ReactOS USB Drivers +# + +PATH_TO_TOP = ../.. + +include $(PATH_TO_TOP)/rules.mak + +DRIVERS = usbport miniport/usbuhci miniport/usbehci miniport/usbohci usbhub usbd cromwell + +all: $(DRIVERS) + +depends: + +implib: $(DRIVERS:%=%_implib) + +clean: $(DRIVERS:%=%_clean) + +install: $(DRIVERS:%=%_install) + +bootcd: $(DRIVERS:%=%_bootcd) + +.PHONY: all depends implib clean install bootcd + + +# +# USB DRIVERS +# +$(DRIVERS): %: + $(MAKE) -C $* + +$(DRIVERS:%=%_implib): %_implib: + $(MAKE) -C $* implib + +$(DRIVERS:%=%_clean): %_clean: + $(MAKE) -C $* clean + +$(DRIVERS:%=%_install): %_install: + $(MAKE) -C $* install + +$(DRIVERS:%=%_bootcd): %_bootcd: + $(MAKE) -C $* bootcd + +.PHONY: $(DRIVERS) $(DRIVERS:%=%_implib) $(DRIVERS:%=%_clean) $(DRIVERS:%=%_install) $(DRIVERS:%=%_bootcd) + + +etags: + find . -name "*.[ch]" -print | etags --language=c - + +# EOF Property changes on: branches/cache_manager_rewrite/reactos/drivers/usb/cromwell ___________________________________________________________________ Name: svn:ignore + *.coff *.sym *.o *.a *.dll [truncated at 1000 lines; 45179 more skipped]
19 years, 6 months
1
0
0
0
[hbirr] 15784: Copied a missing file.
by hbirr@svn.reactos.com
Copied a missing file. Added: branches/cache_manager_rewrite/reactos/subsys/system/rundll32/En.rc _____ Copied: branches/cache_manager_rewrite/reactos/subsys/system/rundll32/En.rc (from rev 15498, trunk/reactos/subsys/system/rundll32/En.rc)
19 years, 6 months
1
0
0
0
[hbirr] 15783: Copied a missing file.
by hbirr@svn.reactos.com
Copied a missing file. Added: branches/cache_manager_rewrite/reactos/subsys/system/rundll32/resource.h _____ Copied: branches/cache_manager_rewrite/reactos/subsys/system/rundll32/resource.h (from rev 15498, trunk/reactos/subsys/system/rundll32/resource.h)
19 years, 6 months
1
0
0
0
[hbirr] 15782: Copied a missing file.
by hbirr@svn.reactos.com
Copied a missing file. Added: branches/cache_manager_rewrite/reactos/subsys/system/regsvr32/resource.h _____ Copied: branches/cache_manager_rewrite/reactos/subsys/system/regsvr32/resource.h (from rev 15498, trunk/reactos/subsys/system/regsvr32/resource.h)
19 years, 6 months
1
0
0
0
[hbirr] 15781: Copied a missing file.
by hbirr@svn.reactos.com
Copied a missing file. Added: branches/cache_manager_rewrite/reactos/subsys/system/regsvr32/En.rc _____ Copied: branches/cache_manager_rewrite/reactos/subsys/system/regsvr32/En.rc (from rev 15498, trunk/reactos/subsys/system/regsvr32/En.rc)
19 years, 6 months
1
0
0
0
[hbirr] 15780: Copied a missing file.
by hbirr@svn.reactos.com
Copied a missing file. Added: branches/cache_manager_rewrite/reactos/subsys/system/expand/resource.h _____ Copied: branches/cache_manager_rewrite/reactos/subsys/system/expand/resource.h (from rev 15498, trunk/reactos/subsys/system/expand/resource.h)
19 years, 6 months
1
0
0
0
← Newer
1
...
55
56
57
58
59
60
61
...
65
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
Results per page:
10
25
50
100
200