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
July 2017
----- 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
19 participants
213 discussions
Start a n
N
ew thread
[tfaber] 75254: [PSDK] Patch by Vadim Galyant: - Add USB port status change constants and structures - Add USB hub descriptor type constants and missing device class constants
by tfaber@svn.reactos.org
Author: tfaber Date: Sat Jul 1 06:19:26 2017 New Revision: 75254 URL:
http://svn.reactos.org/svn/reactos?rev=75254&view=rev
Log: [PSDK] Patch by Vadim Galyant: - Add USB port status change constants and structures - Add USB hub descriptor type constants and missing device class constants Modified: trunk/reactos/sdk/include/psdk/usb200.h Modified: trunk/reactos/sdk/include/psdk/usb200.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/include/psdk/usb200.h?…
============================================================================== --- trunk/reactos/sdk/include/psdk/usb200.h [iso-8859-1] (original) +++ trunk/reactos/sdk/include/psdk/usb200.h [iso-8859-1] Sat Jul 1 06:19:26 2017 @@ -127,20 +127,6 @@ UCHAR iFunction; } USB_INTERFACE_ASSOCIATION_DESCRIPTOR, *PUSB_INTERFACE_ASSOCIATION_DESCRIPTOR; -typedef union _USB_20_PORT_CHANGE { - USHORT AsUshort16; - struct { - USHORT ConnectStatusChange:1; - USHORT PortEnableDisableChange:1; - USHORT SuspendChange:1; - USHORT OverCurrentIndicatorChange:1; - USHORT ResetChange:1; - USHORT Reserved2:11; - }; -} USB_20_PORT_CHANGE, *PUSB_20_PORT_CHANGE; - -C_ASSERT(sizeof(USB_20_PORT_CHANGE) == sizeof(USHORT)); - typedef union _USB_20_PORT_STATUS { USHORT AsUshort16; struct { @@ -162,6 +148,29 @@ C_ASSERT(sizeof(USB_20_PORT_STATUS) == sizeof(USHORT)); +#define USB_PORT_STATUS_CONNECT 0x0001 +#define USB_PORT_STATUS_ENABLE 0x0002 +#define USB_PORT_STATUS_SUSPEND 0x0004 +#define USB_PORT_STATUS_OVER_CURRENT 0x0008 +#define USB_PORT_STATUS_RESET 0x0010 +#define USB_PORT_STATUS_POWER 0x0100 +#define USB_PORT_STATUS_LOW_SPEED 0x0200 +#define USB_PORT_STATUS_HIGH_SPEED 0x0400 + +typedef union _USB_20_PORT_CHANGE { + USHORT AsUshort16; + struct { + USHORT ConnectStatusChange:1; + USHORT PortEnableDisableChange:1; + USHORT SuspendChange:1; + USHORT OverCurrentIndicatorChange:1; + USHORT ResetChange:1; + USHORT Reserved2:11; + }; +} USB_20_PORT_CHANGE, *PUSB_20_PORT_CHANGE; + +C_ASSERT(sizeof(USB_20_PORT_CHANGE) == sizeof(USHORT)); + typedef union _USB_30_PORT_STATUS { USHORT AsUshort16; struct { @@ -179,12 +188,62 @@ C_ASSERT(sizeof(USB_30_PORT_STATUS) == sizeof(USHORT)); +#define PORT_LINK_STATE_U0 0 +#define PORT_LINK_STATE_U1 1 +#define PORT_LINK_STATE_U2 2 +#define PORT_LINK_STATE_U3 3 +#define PORT_LINK_STATE_DISABLED 4 +#define PORT_LINK_STATE_RX_DETECT 5 +#define PORT_LINK_STATE_INACTIVE 6 +#define PORT_LINK_STATE_POLLING 7 +#define PORT_LINK_STATE_RECOVERY 8 +#define PORT_LINK_STATE_HOT_RESET 9 +#define PORT_LINK_STATE_COMPLIANCE_MODE 10 +#define PORT_LINK_STATE_LOOPBACK 11 +#define PORT_LINK_STATE_TEST_MODE 11 // xHCI-specific, replacing LOOPBACK + +typedef union _USB_30_PORT_CHANGE { + USHORT AsUshort16; + struct { + USHORT ConnectStatusChange :1; + USHORT Reserved2 :2; + USHORT OverCurrentIndicatorChange :1; + USHORT ResetChange :1; + USHORT BHResetChange :1; + USHORT PortLinkStateChange :1; + USHORT PortConfigErrorChange :1; + USHORT Reserved3 :8; + }; +} USB_30_PORT_CHANGE, *PUSB_30_PORT_CHANGE; + +C_ASSERT(sizeof(USB_30_PORT_CHANGE) == sizeof(USHORT)); + typedef union _USB_PORT_STATUS { USHORT AsUshort16; USB_20_PORT_STATUS Usb20PortStatus; USB_30_PORT_STATUS Usb30PortStatus; } USB_PORT_STATUS, *PUSB_PORT_STATUS; +C_ASSERT(sizeof(USB_PORT_STATUS) == sizeof(USHORT)); + +typedef union _USB_PORT_CHANGE { + USHORT AsUshort16; + USB_20_PORT_CHANGE Usb20PortChange; + USB_30_PORT_CHANGE Usb30PortChange; +} USB_PORT_CHANGE, *PUSB_PORT_CHANGE; + +C_ASSERT(sizeof(USB_PORT_CHANGE) == sizeof(USHORT)); + +typedef union _USB_PORT_STATUS_AND_CHANGE { + ULONG AsUlong32; + struct { + USB_PORT_STATUS PortStatus; + USB_PORT_CHANGE PortChange; + }; +} USB_PORT_STATUS_AND_CHANGE, *PUSB_PORT_STATUS_AND_CHANGE; + +C_ASSERT(sizeof(USB_PORT_STATUS_AND_CHANGE) == sizeof(ULONG)); + typedef union _USB_HUB_STATUS { USHORT AsUshort16; struct { @@ -216,6 +275,9 @@ } USB_HUB_STATUS_AND_CHANGE, *PUSB_HUB_STATUS_AND_CHANGE; C_ASSERT(sizeof(USB_HUB_STATUS_AND_CHANGE) == sizeof(ULONG)); + +#define USB_20_HUB_DESCRIPTOR_TYPE 0x29 +#define USB_30_HUB_DESCRIPTOR_TYPE 0x2A #define USB_DEVICE_CLASS_RESERVED 0x00 #define USB_DEVICE_CLASS_AUDIO 0x01 @@ -233,6 +295,8 @@ #define USB_DEVICE_CLASS_CONTENT_SECURITY 0x0D #define USB_DEVICE_CLASS_VIDEO 0x0E #define USB_DEVICE_CLASS_PERSONAL_HEALTHCARE 0x0F +#define USB_DEVICE_CLASS_AUDIO_VIDEO 0x10 +#define USB_DEVICE_CLASS_BILLBOARD 0x11 #define USB_DEVICE_CLASS_DIAGNOSTIC_DEVICE 0xDC #define USB_DEVICE_CLASS_WIRELESS_CONTROLLER 0xE0 #define USB_DEVICE_CLASS_MISCELLANEOUS 0xEF
7 years, 5 months
1
0
0
0
[tfaber] 75253: [USBPORT] Patch by Vadim Galyant: - Add USBPORT_HUB_CHARACTERISTICS structure - Indicate the USB3 hub descriptor type when the miniport is an XHCI controller
by tfaber@svn.reactos.org
Author: tfaber Date: Sat Jul 1 06:06:12 2017 New Revision: 75253 URL:
http://svn.reactos.org/svn/reactos?rev=75253&view=rev
Log: [USBPORT] Patch by Vadim Galyant: - Add USBPORT_HUB_CHARACTERISTICS structure - Indicate the USB3 hub descriptor type when the miniport is an XHCI controller Modified: trunk/reactos/drivers/usb/usbport/roothub.c trunk/reactos/sdk/include/reactos/drivers/usbport/usbmport.h Modified: trunk/reactos/drivers/usb/usbport/roothub.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbport/roothu…
============================================================================== --- trunk/reactos/drivers/usb/usbport/roothub.c [iso-8859-1] (original) +++ trunk/reactos/drivers/usb/usbport/roothub.c [iso-8859-1] Sat Jul 1 06:06:12 2017 @@ -853,9 +853,27 @@ RH_HubDescriptor = &PdoExtension->RootHubDescriptors->Descriptor; RH_HubDescriptor->bDescriptorLength = sizeof(USB_HUB_DESCRIPTOR) + 2 * NumMaskByte; - RH_HubDescriptor->bDescriptorType = 0x29; // USB_20_HUB_DESCRIPTOR_TYPE - need add in .h file + + if (Packet->MiniPortVersion == USB_MINIPORT_VERSION_OHCI || + Packet->MiniPortVersion == USB_MINIPORT_VERSION_UHCI || + Packet->MiniPortVersion == USB_MINIPORT_VERSION_EHCI) + { + RH_HubDescriptor->bDescriptorType = 0x29; // #define USB_20_HUB_DESCRIPTOR_TYPE 0x29 - need add in .h file + } + else if (Packet->MiniPortVersion == USB_MINIPORT_VERSION_XHCI) + { + RH_HubDescriptor->bDescriptorType = 0x2A; // #define USB_30_HUB_DESCRIPTOR_TYPE 0x2A - need add in .h file + } + else + { + DPRINT1("USBPORT_RootHubCreateDevice: Unknown MiniPortVersion - %x\n", + Packet->MiniPortVersion); + + DbgBreakPoint(); + } + RH_HubDescriptor->bNumberOfPorts = RootHubData.NumberOfPorts; - RH_HubDescriptor->wHubCharacteristics = RootHubData.HubCharacteristics; + RH_HubDescriptor->wHubCharacteristics = RootHubData.HubCharacteristics.AsUSHORT; RH_HubDescriptor->bPowerOnToPowerGood = RootHubData.PowerOnToPowerGood; RH_HubDescriptor->bHubControlCurrent = RootHubData.HubControlCurrent; Modified: trunk/reactos/sdk/include/reactos/drivers/usbport/usbmport.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/include/reactos/driver…
============================================================================== --- trunk/reactos/sdk/include/reactos/drivers/usbport/usbmport.h [iso-8859-1] (original) +++ trunk/reactos/sdk/include/reactos/drivers/usbport/usbmport.h [iso-8859-1] Sat Jul 1 06:06:12 2017 @@ -453,6 +453,7 @@ #define USB_MINIPORT_VERSION_OHCI 0x01 #define USB_MINIPORT_VERSION_UHCI 0x02 #define USB_MINIPORT_VERSION_EHCI 0x03 +#define USB_MINIPORT_VERSION_XHCI 0x04 #define USB_MINIPORT_FLAGS_INTERRUPT 0x0001 #define USB_MINIPORT_FLAGS_PORT_IO 0x0002 @@ -625,9 +626,53 @@ C_ASSERT(sizeof(USBPORT_TRANSFER_PARAMETERS) == 28); +/* For USB1.1 or USB3 Hub Descriptors */ +typedef union _USBPORT_HUB_11_CHARACTERISTICS { + struct { + USHORT PowerControlMode :1; + USHORT NoPowerSwitching :1; // Reserved. Used only on 1.0 compliant hubs that implement no power switching. + USHORT PartOfCompoundDevice :1; + USHORT OverCurrentProtectionMode :1; + USHORT NoOverCurrentProtection :1; + USHORT Reserved1 :11; + }; + USHORT AsUSHORT; +} USBPORT_HUB_11_CHARACTERISTICS; + +C_ASSERT(sizeof(USBPORT_HUB_11_CHARACTERISTICS) == sizeof(USHORT)); + +/* For USB2.0 Hub Descriptors */ +typedef union _USBPORT_HUB_20_CHARACTERISTICS { + struct { + USHORT PowerControlMode :1; + USHORT NoPowerSwitching :1; // Reserved. Used only on 1.0 compliant hubs that implement no power switching. + USHORT PartOfCompoundDevice :1; + USHORT OverCurrentProtectionMode :1; + USHORT NoOverCurrentProtection :1; + USHORT TtThinkTime :2; + USHORT PortIndicatorsSupported :1; + USHORT Reserved1 :8; + }; + USHORT AsUSHORT; +} USBPORT_HUB_20_CHARACTERISTICS; + +C_ASSERT(sizeof(USBPORT_HUB_20_CHARACTERISTICS) == sizeof(USHORT)); + +typedef USBPORT_HUB_11_CHARACTERISTICS USBPORT_HUB_30_CHARACTERISTICS; + +typedef union _USBPORT_HUB_CHARACTERISTICS { + USHORT AsUSHORT; + USBPORT_HUB_11_CHARACTERISTICS Usb11HubCharacteristics; + USBPORT_HUB_20_CHARACTERISTICS Usb20HubCharacteristics; + USBPORT_HUB_30_CHARACTERISTICS Usb30HubCharacteristics; +} USBPORT_HUB_CHARACTERISTICS; + +C_ASSERT(sizeof(USBPORT_HUB_CHARACTERISTICS) == sizeof(USHORT)); + typedef struct _USBPORT_ROOT_HUB_DATA { ULONG NumberOfPorts; - ULONG HubCharacteristics; + USBPORT_HUB_CHARACTERISTICS HubCharacteristics; + USHORT Padded1; ULONG PowerOnToPowerGood; ULONG HubControlCurrent; } USBPORT_ROOT_HUB_DATA, *PUSBPORT_ROOT_HUB_DATA;
7 years, 5 months
1
0
0
0
[jimtabor] 75252: [NtGDI] - Memory DC with no surface selected return true. WIP and part of CORE-12888.
by jimtabor@svn.reactos.org
Author: jimtabor Date: Sat Jul 1 02:35:28 2017 New Revision: 75252 URL:
http://svn.reactos.org/svn/reactos?rev=75252&view=rev
Log: [NtGDI] - Memory DC with no surface selected return true. WIP and part of CORE-12888. Modified: trunk/reactos/win32ss/gdi/ntgdi/line.c Modified: trunk/reactos/win32ss/gdi/ntgdi/line.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/gdi/ntgdi/line.c?r…
============================================================================== --- trunk/reactos/win32ss/gdi/ntgdi/line.c [iso-8859-1] (original) +++ trunk/reactos/win32ss/gdi/ntgdi/line.c [iso-8859-1] Sat Jul 1 02:35:28 2017 @@ -303,7 +303,7 @@ if (!dc->dclevel.pSurface) { - return FALSE; + return TRUE; } DC_vPrepareDCsForBlit(dc, NULL, NULL, NULL);
7 years, 5 months
1
0
0
0
← Newer
1
...
19
20
21
22
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
Results per page:
10
25
50
100
200